Sources › Finance › Binance Vision › Klines

Binance Vision Klines API

Traded OHLCV candles for one symbol and one archive file, from Binance's public

Binance VisionGET /klinesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:binance-vision/klines

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 day.

Parameters

NameTypeInRequiredDescription
symbolstringqueryYesArchive symbol, spelled as Binance spells it (BTCUSD_PERP for coin-margined). Example: BTCUSDT
datestringqueryYesYYYY-MM-DD for a daily archive, YYYY-MM for a monthly one. Archives run to T-1. Example: 2026-08-18
marketenum: um | spot | cmqueryNoum (USD-margined futures), spot, cm (coin-margined futures). Default um. Example: um
intervalenum: 1s | 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 6h | 8h | 12h | 1d | 3d | 1w | 1moqueryNoCandle interval; the monthly token is 1mo, not 1M. Default 5m. Example: 5m
pagenumberqueryNoPage of rows. Default 1. Example: 1
limitnumberqueryNoRows per page. Default 5000, max 20000. Example: 5000

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:binance-vision/klines?symbol=BTCUSDT&date=2026-08-18&market=um&interval=5m&page=1&limit=5000" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:binance-vision/klines?symbol=BTCUSDT&date=2026-08-18&market=um&interval=5m&page=1&limit=5000", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:binance-vision/klines",
    params={"symbol":"BTCUSDT","date":"2026-08-18","market":"um","interval":"5m","page":"1","limit":"5000"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:binance-vision",
  "data": {
    "date": "2026-08-18",
    "page": 1,
    "count": 288,
    "items": [
      {
        "low": 64449.8,
        "high": 64541.6,
        "open": 64504.1,
        "close": 64454.1,
        "volume": 542.045,
        "openTime": 1787011200000,
        "closeTime": 1787011499999,
        "priceType": "last",
        "tradeCount": 8311,
        "openTimeIso": "2026-08-18T00:00:00.000Z",
        "quoteVolume": 34960235.8617,
        "closeTimeIso": "2026-08-18T00:04:59.999Z",
        "takerBuyVolume": 253.468,
        "takerBuyQuoteVolume": 16347166.0489
      },
      {
        "low": 64386.6,
        "high": 64454.1,
        "open": 64454,
        "close": 64397,
        "volume": 476.964,
        "openTime": 1787011500000,
        "closeTime": 1787011799999,
        "priceType": "last",
        "tradeCount": 7508,
        "openTimeIso": "2026-08-18T00:05:00.000Z",
        "quoteVolume": 30720499.7668,
        "closeTimeIso": "2026-08-18T00:09:59.999Z",
        "takerBuyVolume": 156.896,
        "takerBuyQuoteVolume": 10104513.5208
      },
      {
        "low": 64388.7,
        "high": 64414,
        "open": 64397,
        "close": 64413.9,
        "volume": 196.179,
        "openTime": 1787011800000,
        "closeTime": 1787012099999,
        "priceType": "last",
        "tradeCount": 4177,
        "openTimeIso": "2026-08-18T00:10:00.000Z",
        "quoteVolume": 12633572.5295,
        "closeTimeIso": "2026-08-18T00:14:59.999Z",
        "takerBuyVolume": 103.86,
        "takerBuyQuoteVolume": 6688494.3022
      },
      {
        "low": 64413.9,
        "high": 64466.4,
        "open": 64414,
        "close": 64433,
        "volume": 220.722,
        "openTime": 1787012100000,
        "closeTime": 1787012399999,
        "priceType": "last",
        "tradeCount": 5253,
        "openTimeIso": "2026-08-18T00:15:00.000Z",
        "quoteVolume": 14222871.9751,
        "closeTimeIso": "2026-08-18T00:19:59.999Z",
        "takerBuyVolume": 135.729,
        "takerBuyQuoteVolume": 8746034.2627
      },
      {
        "low": 64417.5,
        "high": 64476.8,
        "open": 64433,
        "close": 64448,
        "volume": 233.614,
        "openTime": 1787012400000,
        "closeTime": 1787012699999,
        "priceType": "last",
        "tradeCount": 5872,
        "openTimeIso": "2026-08-18T00:20:00.000Z",
        "quoteVolume": 15056134.4154,
        "closeTimeIso": "2026-08-18T00:24:59.999Z",
        "takerBuyVolume": 147.405,
        "takerBuyQuoteVolume": 9499895.6637
      },
      {
        "low": 64419.2,
        "high": 64452.1,
        "open": 64448,
        "close": 64429.6,
        "volume": 110.019,
        "openTime": 1787012700000,
        "closeTime": 1787012999999,
        "priceType": "last",
        "tradeCount": 3507,
        "openTimeIso": "2026-08-18T00:25:00.000Z",
        "quoteVolume": 7089306.411,
        "closeTimeIso": "2026-08-18T00:29:59.999Z",
        "takerBuyVolume": 33.043,
        "takerBuyQuoteVolume": 2129142.4751
      }
    ],
    "total": 288,
    "market": "um",
    "period": "daily",
    "symbol": "BTCUSDT",
    "dataset": "klines",
    "hasMore": false,
    "checksum": {
      "sha256": "88af317df415c466291381545fdb1f767d9bd3cf510598e999bf2f446fe63790",
      "verified": true
    },
    "interval": "5m",
    "nextPage": null,
    "provider": "binance-vision",
    "priceType": "last",
    "missingRows": 0,
    "expectedRows": 288,
    "timestampUnit": "ms"
  },
  "timestamp": "2026-08-20T14:52:19Z"
}

Frequently asked questions

How do I call the Binance Vision Klines API?

Send a GET request to https://api.zapi.ink/v1/finance:binance-vision/klines?symbol=BTCUSDT&date=2026-08-18 with your Zapi key in the x-api-key header. Parameters — required: symbol, date; optional: market, interval, page, limit. The response is JSON in the { project, data, timestamp } envelope.

What does the Binance Vision Klines API return?

Traded OHLCV candles for one symbol and one archive file, from Binance's public. The example response has the fields date, page, count, items, total, market, period, symbol. Each item in items has fields such as low, high, open, close, volume, openTime, closeTime, priceType.

Is the Binance Vision Klines API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Binance Vision Klines API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "binance-vision" and endpoint "klines".

What other Binance Vision API endpoints are there?

It has 5 endpoints. Besides Klines: Datasets, Liquidations, Metrics, Symbols.