Spot Capital Flow
Spot-market capital inflow/outflow indicator. Passthrough of Binance's bapi/earn/v1/public/indicator/capital-flow/info.
Endpoint
GET /spot/capital-flow
Authentication: Public.
Query parameters
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
symbol | string | Yes | — | Spot symbol, e.g. BTCUSDT. |
period | string | No | HOUR_1 | One of HOUR_1, HOUR_4, DAY_1. |
Response — 200 OK
Binance pass-through. Typical shape:
{
"code": "000000",
"data": [
{
"time": 1745920800000,
"netInflow": "1234567.89",
"...": "..."
}
]
}
Errors
| HTTP | Cause |
|---|---|
422 | Missing symbol. |
502 | Upstream Binance request failed. |
Example
curl -s "https://api.pipai.org/spot/capital-flow?symbol=BTCUSDT&period=HOUR_4"