Money Flow Index (MFI)
Category: Momentum · Updated November 2026
The TAAPI.IO Money Flow Index API returns MFI as JSON for crypto pairs and US stocks. Send an exchange, symbol and timeframe to get real-time or historical values, with no candles to download and no calculations to maintain.
What one request returns
- The MFI value (
value), from 0 to 100: like RSI, but weighted by volume. Above 80 is usually called overbought and below 20 oversold. - A series, with
results: one value per candle, oldest first, to see when MFI entered or left a zone. - Several symbols or timeframes, with
/bulk, in one request.
So one call answers the question RSI can't: is the move backed by money flowing in, or out?
Example: overbought at the top of a bounce, 4 to 5 November 2026
Request: GET /indicator/mfi for ETHUSDT on 4-hour Binance candles, with results=300 and the default period of 14. The rows below come from that series, with closes and volumes from candles. Sent on 14 November.
| Candle | ETH close | Volume (ETH) | MFI | Reading |
|---|---|---|---|---|
| 4 Nov 12:00 | 2,425.99 | 130,748 | 63.6 | Breakout candle on heavy volume |
| 4 Nov 20:00 | 2,424.61 | 27,939 | 80.8 | Overbought |
| 5 Nov 00:00 | 2,424.41 | 23,158 | 82.3 | Overbought, price flat |
| 5 Nov 04:00 | 2,416.13 | 26,517 | 80.6 | Overbought |
| 5 Nov 08:00 | 2,421.00 | 28,728 | 75.7 | Back below 80: the sell signal |
| 5 Nov 12:00 | 2,252.70 | 151,217 | 57.8 | ETH −7.0% in four hours |
How to interpret this: MFI adds up money flowing in on up candles and money flowing out on down candles, each weighted by volume, over 14 candles. On 4 November ETH broke out on 130,748 ETH of volume, and the inflow pushed MFI above 80 for three candles while price went sideways near 2,425. On 5 November at 08:00 MFI dropped back to 75.7, the classic signal that buying pressure is fading. Four hours later ETH fell 7% on the heaviest volume of the week, and by 14 November it was 24% lower. In this downtrend the overbought readings were the useful ones. All three times MFI dropped back below 80 since October, ETH was lower a day later. The oversold readings were not: MFI went below 20 three times in November without a lasting bounce, and on 14 November it was at 15.0 with ETH at 1,835. The first overbought exit, on 2 November at 2,284.62, was also early: ETH dipped 1.1% the next day, then rose to the November high two days later.
| MFI leaves the zone | Date | ETH close | One day later |
|---|---|---|---|
| Back below 80 | 2 Oct 12:00 | 2,697.36 | −0.6% |
| Back above 20 | 9 Oct 12:00 | 2,489.03 | +0.9% |
| Back below 80 | 2 Nov 04:00 | 2,284.62 | −1.1% |
| Back below 80 | 5 Nov 08:00 | 2,421.00 | −7.3% |
| Back above 20 | 7 Nov 08:00 | 2,245.30 | −0.2% |
| Back above 20 | 9 Nov 08:00 | 2,113.30 | −0.9% |
Values are from the production API on 14 November 2026, using closed 4-hour candles from 26 September. "One day later" compares the close six candles on. Six signals are an illustration, not a backtest. Nothing here is financial advice.
| Spec | Value |
|---|---|
| Endpoint | GET https://v2.taapi.io/indicator/mfi |
| Outputs | MFI value, timestamp |
| Default settings | Period 14 |
| Markets | Binance, Binance Futures, Bybit, Gate.io, Kraken and US stocks |
| Timeframes | 1m to 1w |
| Delivery | REST, bulk and WebSocket |
Get Money Flow Index with one API call
This request returns Money Flow Index for BTCUSDT on 1-hour Binance candles. Add your API key to run it here.
curl -G https://v2.taapi.io/indicator/mfi \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h"
import requests
resp = requests.get(
'https://v2.taapi.io/indicator/mfi',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={'exchange': 'binance', 'symbol': 'BTCUSDT', 'timeframe': '1h'},
)
print(resp.json())const params = new URLSearchParams({"exchange": "binance", "symbol": "BTCUSDT", "timeframe": "1h"});
const res = await fetch(`https://v2.taapi.io/indicator/mfi?${params}`, {
headers: { Authorization: 'Bearer YOUR_API_KEY' },
});
console.log(await res.json());Money Flow Index API response
This response came from the live API on 9 November 2026.
{
"value": [33.82993430010484],
"timestamp": [1794218400]
}| Field | Type | Description |
|---|---|---|
value | number[] | Money Flow Index result |
timestamp | integer[] | Unix time of each candle, in seconds |
MFI API parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
exchange | string | Yes | — | binance, binancefutures, bybit, gateio, kraken or stocks |
symbol | string | Yes | — | Pair or ticker, e.g. BTCUSDT or AAPL |
timeframe | string | Yes | — | 1m 5m 15m 1h 4h 1d 1w |
period | integer | No | 14 | Number of candles in the money flow sums |
results | integer | No | 1 | Number of values to return, or max |
backtrack | integer | No | 0 | Candles to skip from the most recent |
What is the Money Flow Index?
The Money Flow Index, developed by Gene Quong and Avrum Soudack, is a volume-weighted version of RSI. It compares money flowing in on up candles with money flowing out on down candles, on a scale of 0 to 100.
Money Flow Index formula
| Output | Calculation |
|---|---|
| Typical price | (high + low + close) ÷ 3 |
| Raw money flow | Typical price × volume |
| Positive and negative flow | Raw money flow summed over the period, for candles whose typical price rose or fell |
| Money ratio | Positive flow ÷ negative flow |
| MFI | 100 − 100 ÷ (1 + money ratio) |
Because each candle counts in proportion to its volume, one heavy candle can move MFI more than several quiet ones. That is what happened on 4 November: the 130,748 ETH breakout candle stayed in the 14-candle window and kept MFI high while price stalled.
How to read MFI in your code
| Signal | Meaning | Condition |
|---|---|---|
| Overbought | Heavy buying pressure | value above 80 |
| Oversold | Heavy selling pressure | value below 20 |
| Exit from overbought | Buying pressure fading | value moves from above 80 to 80 or below |
| Exit from oversold | Selling pressure fading | value moves from below 20 to 20 or above |
| Divergence | Volume not confirming price | Price makes a new high while value makes a lower high |
Limitations: like RSI, MFI can stay at an extreme for a long time in a trend. Volume differs between exchanges, so the same symbol can read differently elsewhere. Nothing on this page is financial advice.
MFI or RSI?
RSI looks at price changes only. MFI weights each candle by its volume, so a move on heavy volume counts for more than the same move on light volume. In practice the two often agree, as they did at ETH's November top, when RSI read 70.5 and MFI 80.8. They disagree when volume does: a rally on falling volume can lift RSI while MFI lags, which is one reason traders use MFI to check whether a move is backed by real buying. The RSI page covers the price-only version.
Detect an MFI zone exit with Python
Waiting for MFI to leave an extreme is stricter than acting on the first reading above 80 or below 20. It is the rule in the example above. One /bulk request returns the last two closed values. It uses one construct, so it works on every plan, and a plain GET works just as well.
curl -X POST https://v2.taapi.io/bulk \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"constructs": [
{
"id": "eth_4h",
"exchange": "binance",
"symbol": "ETHUSDT",
"timeframe": "4h",
"indicators": [
{
"id": "mfi",
"indicator": "mfi",
"results": 2,
"backtrack": 1
}
]
}
]
}'import requests
payload = {
"constructs": [
{
"id": "eth_4h",
"exchange": "binance",
"symbol": "ETHUSDT",
"timeframe": "4h",
"indicators": [
{
"id": "mfi",
"indicator": "mfi",
"results": 2,
"backtrack": 1
}
]
}
]
}
resp = requests.post(
'https://v2.taapi.io/bulk',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
json=payload,
)
data = resp.json()
prev, last = data['eth_4h']['mfi']['value']
if prev > 80 >= last:
print('MFI dropped back below 80: buying pressure fading, sell signal')
elif prev < 20 <= last:
print('MFI rose back above 20: selling pressure fading, buy signal')
elif last > 80 or last < 20:
print(f'MFI {last:.1f}: still in the zone, wait for it to leave')
else:
print(f'No signal, MFI {last:.1f}')The response at 22:37 UTC on 14 November. Both values are below 20, so the script prints MFI 15.0: still in the zone, wait for it to leave
{
"eth_4h": {
"mfi": {
"value": [15.887432146275456, 14.959079363198088],
"timestamp": [1794657600, 1794672000]
}
}
}In a trend, many traders only take the exits that point the same way, for example only overbought exits while price is below its daily 200 EMA. That rule would have missed the 5 November signal: the 4 November rally had lifted ETH's daily close back above the line. Trend filters often turn at the top of a bounce, exactly where the best sell signals are.
Get historical Money Flow Index values
Add results to return a series for backtesting or charting. The last element is the most recent candle.
curl -G https://v2.taapi.io/indicator/mfi \ -H "Authorization: Bearer YOUR_API_KEY" \ --data-urlencode "exchange=binance" \ --data-urlencode "symbol=BTCUSDT" \ --data-urlencode "timeframe=1h" \ --data-urlencode "results=100"
Get Money Flow Index for multiple symbols
Combine Money Flow Index with other indicators in one request. Each exchange, symbol and timeframe combination is one construct: Basic allows 1 per request, Pro 3 and Expert 10.
curl -X POST https://v2.taapi.io/bulk \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"constructs": [
{
"id": "btc_1h",
"exchange": "binance",
"symbol": "BTCUSDT",
"timeframe": "1h",
"indicators": [
{
"id": "mfi",
"indicator": "mfi"
},
{
"id": "rsi",
"indicator": "rsi"
}
]
}
]
}'Stream Money Flow Index in real time
Subscribe over WebSocket to receive new values every 5 seconds while the candle is forming. Streaming supports 1m, 5m, 15m and 1h, and uses interval where REST uses timeframe.
{
"type": "subscribe",
"id": "mfi",
"exchange": "binance",
"symbol": "BTCUSDT",
"interval": "1m",
"indicator": "mfi"
}Why MFI values can differ between platforms
- Volume data: MFI uses the volume of the exchange you request, and volumes differ widely between venues.
- Open candle: the newest value changes until the candle closes. Use
backtrack=1to read closed candles. - Settings: check that
periodmatches your chart. The default is 14.
MFI API FAQ
What does the MFI API return?
An array of MFI values in value, from 0 to 100, plus a timestamp for each candle.
Is MFI below 20 a buy signal?
Not on its own. In a downtrend MFI can stay oversold while price keeps falling, as ETH did in November. Waiting for MFI to rise back above 20 filters out many of these, though not all.
How is MFI different from RSI?
MFI weights each candle by its volume. RSI uses price changes only. See MFI or RSI?.
Is the latest MFI value final?
No. The newest value belongs to the candle still forming, and its volume keeps growing until it closes. Add backtrack=1 to read the last closed candle.
Can I get MFI for US stocks?
Yes. Use exchange=stocks with a ticker such as AAPL. US stocks are included on the Pro plan and above.
Related indicators
- Relative Strength Index (RSI): the price-only version
- On Balance Volume: running total of volume by direction
- Volume Delta: buying against selling volume
- Chaikin Money Flow: another volume-weighted flow
Build with MFI on Binance, Bybit or US stocks. Start for free or browse all 262 indicators.