# Binance API

> Binance API on Apizie: 12 endpoints (Ticker, Tickers, Klines, Order Book, …) returned as clean JSON through one API key. 12 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/finance:binance/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `finance:binance`
- Category: Finance
- Status: live
- Source: https://binance.com
- Page: https://zieapi.vercel.app/api/finance/binance
- OpenAPI: https://zieapi.vercel.app/api/finance/binance/openapi.json

Spot market data from Binance's public REST API: tickers, candles, order book and trades.

## Endpoints

### Ticker
`GET https://zieapi.vercel.app/v1/finance:binance/ticker`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |

### Tickers
`GET https://zieapi.vercel.app/v1/finance:binance/tickers`

| Parameter | Type | Required | Description |
|---|---|---|---|
| quote | string | no |  |
| search | string | no | Substring of the symbol |
| sort | string | no |  |
| count | integer | no | Number of rows to return |

### Klines
`GET https://zieapi.vercel.app/v1/finance:binance/klines`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| interval | string | no |  |
| count | integer | no | Number of candles |
| limit | integer | no | Alias of count |
| startTime | string | no | Epoch ms or ISO date |
| endTime | string | no | Epoch ms or ISO date |

### Order Book
`GET https://zieapi.vercel.app/v1/finance:binance/depth`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| limit | integer | no | Depth levels |

### Aggregate Trades
`GET https://zieapi.vercel.app/v1/finance:binance/agg-trades`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| count | integer | no | Number of rows to return |
| startTime | string | no |  |
| endTime | string | no |  |
| fromId | string | no |  |

### Average Price
`GET https://zieapi.vercel.app/v1/finance:binance/avg-price`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |

### Book Ticker
`GET https://zieapi.vercel.app/v1/finance:binance/book-ticker`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |

### Exchange Info
`GET https://zieapi.vercel.app/v1/finance:binance/exchange-info`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | no |  |
| symbols | string | no | Comma-separated symbols |
| quote | string | no |  |
| search | string | no |  |
| status | string | no |  |
| count | integer | no | Number of rows to return |

### Rolling Window Ticker
`GET https://zieapi.vercel.app/v1/finance:binance/ticker-windowed`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| windowSize | string | no |  |

### Server Time
`GET https://zieapi.vercel.app/v1/finance:binance/time`

### Recent Trades
`GET https://zieapi.vercel.app/v1/finance:binance/trades`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| count | integer | no | Number of rows to return |

### UI Klines
`GET https://zieapi.vercel.app/v1/finance:binance/ui-klines`

| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | Trading pair symbol |
| interval | string | no |  |
| count | integer | no | Number of candles |
| startTime | string | no | Epoch ms or ISO date |
| endTime | string | no | Epoch ms or ISO date |

## Example
```
curl "https://zieapi.vercel.app/v1/finance:binance/ticker" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Binance API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/finance:binance/ticker with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Binance API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Binance API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key finance:binance.

### What is the status of the Binance API?
Live: works with just an Apizie key
