Request
https://api.zapi.ink/v1/finance:binance/tradesSend 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 5 seconds.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| symbol | string | query | Yes | Trading pair. Accepts BTCUSDT, BTC/USDT or btc_usdt Example: BTCUSDT |
| count | number | query | No | Trades to return, newest last. Default 100, max 1000 Example: 100 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:binance/trades?symbol=BTCUSDT&count=100" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:binance/trades?symbol=BTCUSDT&count=100", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:binance/trades", params={"symbol":"BTCUSDT","count":"100"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:binance", "data": { "count": 100, "items": [ { "side": "sell", "time": 1787239085331, "price": 72116.14, "amount": 0.00383, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632930, "amountQuote": 276.2048162, "isBuyerMaker": true }, { "side": "sell", "time": 1787239085331, "price": 72116.04, "amount": 0.00008, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632931, "amountQuote": 5.7692832, "isBuyerMaker": true }, { "side": "sell", "time": 1787239085331, "price": 72116.01, "amount": 0.00008, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632932, "amountQuote": 5.7692808, "isBuyerMaker": true }, { "side": "sell", "time": 1787239085331, "price": 72116.01, "amount": 0.00008, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632933, "amountQuote": 5.7692808, "isBuyerMaker": true }, { "side": "sell", "time": 1787239085331, "price": 72116.01, "amount": 0.00008, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632934, "amountQuote": 5.7692808, "isBuyerMaker": true }, { "side": "sell", "time": 1787239085331, "price": 72116, "amount": 0.00448, "timeIso": "2026-08-20T15:18:05.331Z", "tradeId": 6588632935, "amountQuote": 323.07968, "isBuyerMaker": true } ], "symbol": "BTCUSDT", "exchange": "binance" }, "timestamp": "2026-08-02T04:20:59Z" }
Frequently asked questions
How do I call the Binance Trades API?
Send a GET request to https://api.zapi.ink/v1/finance:binance/trades?symbol=BTCUSDT with your Zapi key in the x-api-key header. Parameters — required: symbol; optional: count. The response is JSON in the { project, data, timestamp } envelope.
What does the Binance Trades API return?
The most recent prints on one spot pair — the raw tape, one row per fill. The example response has the fields count, items, symbol, exchange. Each item in items has fields such as side, time, price, amount, timeIso, tradeId, amountQuote, isBuyerMaker.
Is the Binance Trades 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 Trades 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" and endpoint "trades".
What other Binance API endpoints are there?
It has 5 endpoints. Besides Trades: Ticker, Tickers, Klines, Order book.
