Binance Public API
Binance public market data API needs no API key: live ticker prices, order books, klines and 24h stats for every trading pair. Tested curl example and response.
Endpoint tested and returned HTTP 200 on 19 Aug 2026
What is the Binance Public API?
The Binance public market data API provides live cryptocurrency ticker prices, order book depth, candlestick data and 24-hour statistics for every pair on the exchange, with no API key required for public endpoints.
Binance splits its API cleanly in two: account and trading endpoints require a signed API key, but all market data endpoints are entirely public. That means live exchange prices straight from the largest crypto exchange with no signup at all.
This is real exchange data rather than an aggregated index, which makes it the right source when you need the actual tradeable price on a specific pair. Symbols are concatenated with no separator and uppercase — `BTCUSDT`, not `BTC-USDT` or `btc/usdt`.
Quick facts
- Base URL
https://api.binance.com/api/v3- Authentication
- Public market data endpoints need no key. Trading and account endpoints require an API key with HMAC signing.
- Rate limit
- Weight-based: 1,200 request weight per minute per IP. A simple ticker call costs weight 1-2.
- Pricing
- Free for public market data.
- CORS
- Enabled — callable directly from browser JavaScript
- Official docs
- Read the docs
How to use the Binance Public API
Every request below was executed against the live API on 19 Aug 2026, and the response shown is the real body it returned — not an illustration.
1. Live BTC/USDT ticker price
GET https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT
curl 'https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT'const res = await fetch("https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT", timeout=20)
res.raise_for_status()
print(res.json()){
"symbol": "BTCUSDT",
"price": "64823.16000000"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Optional | Trading pair, uppercase and unseparated. Omit to get every pair. BTCUSDT |
symbols | string | Optional | JSON array of symbols to fetch several at once. ["BTCUSDT","ETHUSDT"] |
Response fields
symbolstring- The trading pair the price applies to.
pricestring- Last traded price as a string — parse before arithmetic, and prefer decimal types for money.
What you can build with the Binance Public API
- Display live exchange prices on a trading dashboard
- Feed a price alert service without managing exchange credentials
- Pull candlestick (kline) history for backtesting and charting
- Compare pricing across pairs and exchanges
Common errors and how to fix them
400 code -1121
Invalid symbol.
Fix: Symbols are uppercase with no separator, e.g. `BTCUSDT`. Check /exchangeInfo for valid pairs.
429 / 418
Request weight limit exceeded; 418 means you have been temporarily banned.
Fix: Respect the weight budget, back off on 429, and never retry aggressively after a 418.
451
Endpoint blocked in your jurisdiction.
Fix: Binance geo-restricts some regions; use a different data source or the regional Binance domain.
Binance Public API — frequently asked questions
Does the Binance API need an API key?
Not for public market data such as prices, order books and candlesticks. An API key with request signing is only required for account access and trading.
What symbol format does Binance use?
Uppercase with no separator, so Bitcoin against Tether is `BTCUSDT`. Formats like `BTC-USDT` or `btc/usdt` return an invalid symbol error.
Why is the price returned as a string?
To preserve exact decimal precision. Parsing crypto prices into a binary float can introduce rounding errors, so use a decimal type for any calculation involving money.
What is Binance's rate limit?
A weight-based budget of 1,200 per minute per IP, where each endpoint costs a documented weight. A single ticker lookup costs very little, so normal use rarely hits it.
Tools that pair with this API
JSON Formatter
Format, beautify and minify JSON online with 2-space, 4-space or tab indentation. Sort keys alphabetically and catch syntax errors instantly — free and private.
Percentage Calculator
Calculate what X% of a number is, what percent one number is of another, and percentage increase or decrease between two values — instantly and free.
Alternatives to Binance Public API
If Binance Public API does not fit, these finance & crypto apis cover similar ground. Every one was called before publishing, and each links to its own reference page with a working curl command and the response it returned.
| API | What it does | Auth | CORS | Last verified |
|---|---|---|---|---|
| CoinGecko | Free cryptocurrency price API covering 10,000+ coins. Live prices, market cap and volume in any currency, no API key on the public tier. Tested curl example. | No key | Yes | 19 Aug 2026 |
| Coinbase Exchange Rates | Coinbase public exchange rates API with no key: convert any cryptocurrency to 100+ fiat currencies in a single request. Tested curl example and live JSON. | No key | Yes | 19 Aug 2026 |
| Frankfurter | Free currency exchange rate API with no key, built on European Central Bank data. Latest and historical rates, time series and conversion. Tested curl example. | No key | Yes | 19 Aug 2026 |
| Open ER-API | Free exchange rate API with no key covering 161 currencies. Returns a full rate table plus next update time. Tested curl example and live JSON response. | No key | Yes | 19 Aug 2026 |
| BIS Statistics | Free Bank for International Settlements statistics API with no key: central bank policy rates, credit, debt securities and effective exchange rates as SDMX-JSON. Tested example. | No key | Yes | 21 Aug 2026 |
| Bitcoin Halving API | Free Bitcoin halving API with no key: era, block reward, blocks into the era and blocks until the next halving for any block height. Tested example and live response. | No key | Yes | 21 Aug 2026 |
Binance Public API is an independent third-party service and is not affiliated with ByteTools or ByteVancer. Details on this page were verified on 19 Aug 2026; always check the official documentation before relying on this API in production, as terms and limits can change.