# Binance Market Data API

Category: [Crypto](https://free-web-services.com/web-services/unit-convertors/crypto/)  
Page: https://free-web-services.com/web-services/unit-convertors/crypto/binance-market-data-api.html  
Documentation: https://developers.binance.com/docs/binance-spot-api-docs/faqs/market_data_only

The Binance Market Data API gives public spot prices, order books, trades and candles, for example to chart a trading pair. Requests are GET calls to data-api.binance.vision with JSON answers, and data-stream.binance.vision offers WebSocket streams. Free, no key needed, for public market data only.

- API key: Not needed
- Pricing: Free, no key needed, for public market data only.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET, WebSocket
- Provider: developers.binance.com

Example request:

```sh
curl 'https://data-api.binance.vision/api/v3/ticker/price?symbol=BTCUSDT'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

