Binance Market Data API

Public market data endpoints for COIN-M futures.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 41

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /dapi/v1/ping Test COIN-M futures API connectivity · Test connectivity #
Ask an LLM
“Is the COIN-M futures API up and responding?”
“Can I ping the coin-margined futures server?”
Tell an agent
Ping the COIN-M futures server to test connectivity.
Check that the dapi/v1/ping endpoint responds.
GET /dapi/v1/time Get the COIN-M futures server time · Check server time #
Ask an LLM
“What is the current server time on the COIN-M futures API?”
“Can I sync my clock to the futures server?”
Tell an agent
Get the current server time from the COIN-M futures API.
Check the dapi/v1/time endpoint for the futures server time.
GET /dapi/v1/exchangeInfo Get COIN-M futures trading rules and symbols · Exchange information #
Ask an LLM
“What trading rules apply to COIN-M futures?”
“Which COIN-M futures contracts are available?”
Tell an agent
Get the COIN-M futures exchange information.
Show the dapi/v1/exchangeInfo for coin-margined futures.
GET /dapi/v1/depth Get the COIN-M futures order book · Order book #
Ask an LLM
“What are the current bids and asks for a COIN-M futures contract?”
“Can I see the depth of the futures book?”
Tell an agent
Get the order book for COIN-M futures contract {symbol}.
Show {limit} levels of the futures book for {symbol}.
GET /dapi/v1/trades Get recent COIN-M futures trades · Recent trades list #
Ask an LLM
“What trades have happened on a COIN-M futures contract recently?”
“Can I see the last few futures trades for a symbol?”
Tell an agent
Get recent COIN-M futures trades for {symbol}.
Show the last {limit} futures trades on {symbol}.
GET /dapi/v1/klines Get COIN-M futures candlestick data · Kline/Candlestick data #
Ask an LLM
“Can I get candlestick data for a COIN-M futures contract?”
“What were the futures price candles for a period?”
Tell an agent
Get {interval} candlestick data for COIN-M futures {symbol}.
Pull futures candles for {symbol} from {startTime} to {endTime}.
GET /dapi/v1/premiumIndex Get COIN-M futures mark price and funding rate · Mark price #
Ask an LLM
“What is the mark price and funding rate for a COIN-M futures contract?”
“Can I see the mark price for a futures contract?”
Tell an agent
Get the mark price and funding rate for COIN-M futures {symbol}.
Show the mark price for all futures contracts.
GET /dapi/v1/fundingRate Get COIN-M futures funding rate history · Get funding rate history #
Ask an LLM
“What has the funding rate been for a COIN-M futures contract over time?”
“Can I see past funding rate data for a futures contract?”
Tell an agent
Get funding rate history for COIN-M futures {symbol}.
Show {limit} funding rate entries for {symbol} between {startTime} and {endTime}.
GET /dapi/v1/openInterest Get COIN-M futures open interest · Open interest #
Ask an LLM
“How much open interest is there on a COIN-M futures contract?”
“What is the open interest for a futures contract?”
Tell an agent
Get open interest for COIN-M futures {symbol}.
Show the futures open interest on {symbol}.
GET /eapi/v1/ping Test options API connectivity · Test connectivity #
Ask an LLM
“Is the Binance Options API reachable?”
“Can I ping the options server to check connectivity?”
Tell an agent
Ping the options API to test connectivity.
Check that the eapi/v1/ping endpoint responds.
GET /eapi/v1/time Get the options server time · Check server time #
Ask an LLM
“What is the current server time on the Binance Options API?”
“Can I sync my clock to the options server?”
Tell an agent
Get the current server time from the options API.
Check the eapi/v1/time endpoint for the options server time.
GET /eapi/v1/exchangeInfo Get options exchange information · Exchange information #
Ask an LLM
“Which options contracts are available on Binance?”
“What strike prices and expirations exist for options?”
Tell an agent
Get the options exchange information.
Show the eapi/v1/exchangeInfo for options.
GET /eapi/v1/depth Get the options order book · Order book #
Ask an LLM
“What are the current bids and asks for an options contract?”
“Can I see the options book depth?”
Tell an agent
Get the order book for options contract {symbol}.
Show {limit} levels of the options book for {symbol}.
GET /eapi/v1/trades Get recent options trades · Recent trades list #
Ask an LLM
“What trades have happened on an options contract recently?”
“Can I see the last few options trades for a symbol?”
Tell an agent
Get recent options trades for {symbol}.
Show the last {limit} options trades on {symbol}.
GET /eapi/v1/klines Get options candlestick data · Kline/Candlestick data #
Ask an LLM
“Can I get candlestick data for an options contract?”
“What were the options price candles for a period?”
Tell an agent
Get {interval} candlestick data for options {symbol}.
Pull options candles for {symbol} from {startTime} to {endTime}.
GET /eapi/v1/mark Get options mark price · Option mark price #
Ask an LLM
“What is the mark price of an options contract?”
“Can I see the mark price for all options contracts?”
Tell an agent
Get the mark price for options {symbol}.
Show the mark price for all options contracts.
GET /eapi/v1/ticker Get 24hr options price change statistics · 24hr ticker price change statistics #
Ask an LLM
“What are the 24-hour price change statistics for an options contract?”
“Can I see options ticker stats for one symbol?”
Tell an agent
Get 24hr ticker statistics for options {symbol}.
Show the options ticker for all contracts.
GET /eapi/v1/openInterest Get options open interest for an underlying · Open interest #
Ask an LLM
“How much open interest is there on options for an underlying asset?”
“What is the options open interest for BTC?”
Tell an agent
Get options open interest for {underlyingAsset} expiring {expiration}.
Show the options open interest on {underlyingAsset} with expiry {expiration}.
GET /api/v3/depth Get the spot trading order book · Order book #
Ask an LLM
“What are the current bids and asks for a spot trading pair?”
“Can I see the depth of the spot book?”
Tell an agent
Get the order book for spot pair {symbol}.
Show {limit} levels of the spot book for {symbol}.
GET /api/v3/trades Get recent spot trades · Recent trades list #
Ask an LLM
“What trades have happened on a spot trading pair recently?”
“Can I see the last few spot trades for a symbol?”
Tell an agent
Get recent spot trades for {symbol}.
Show the last {limit} spot trades on {symbol}.
GET /api/v3/historicalTrades Get older trades for a spot symbol · Old trade lookup #
Ask an LLM
“How do I pull trades from a specific trade ID for a spot pair?”
“Can I get up to 1000 historical trades for BTCUSDT?”
Tell an agent
Get historical trades for {symbol} from trade ID {fromId}.
Show the last {limit} trades for {symbol}.
GET /api/v3/aggTrades Get compressed aggregate trades · Compressed/Aggregate trades list #
Ask an LLM
“How do I see trades that filled at the same price and time?”
“Can I get compressed trades for a spot symbol within a time range?”
Tell an agent
Get compressed aggregate trades for {symbol}.
Show {symbol} aggregate trades between {startTime} and {endTime}.
GET /api/v3/klines Get spot candlestick bars · Kline/Candlestick data #
Ask an LLM
“How do I get daily candlesticks for BTCUSDT?”
“Can I get spot klines for a time range in a specific timezone?”
Tell an agent
Get {interval} candlesticks for {symbol}.
Show {interval} klines for {symbol} from {startTime} to {endTime}.
GET /api/v3/uiKlines Get UI-optimized candlestick bars · UIKlines #
Ask an LLM
“Is there a kline endpoint that returns data already formatted for charts?”
“Can I get UI-optimized candlesticks for a spot symbol?”
Tell an agent
Get UI-optimized {interval} candlesticks for {symbol}.
Show {interval} UI klines for {symbol} in {timeZone}.
GET /api/v3/avgPrice Get the 5-minute average price · Current average price #
Ask an LLM
“What was the average price of BTCUSDT over the last 5 minutes?”
“Can I get a rolling 5-minute average for a spot pair?”
Tell an agent
Get the 5-minute average price for {symbol}.
Calculate the 5-minute average for {symbol}.
GET /api/v3/ticker/24hr Get 24-hour price change stats · 24hr ticker price change statistics #
Ask an LLM
“How much has BTCUSDT changed in the last 24 hours?”
“Can I get 24-hour stats for several spot symbols at once?”
Tell an agent
Get 24-hour price change stats for {symbol}.
Show 24-hour stats for {symbols} with type {type}.
GET /api/v3/ticker/price Get latest spot prices · Symbol price ticker #
Ask an LLM
“What is the current spot price of BTCUSDT?”
“Can I get the latest prices for a list of spot symbols?”
Tell an agent
Get the latest price for {symbol}.
Show current spot prices for {symbols}.
GET /api/v3/ticker/bookTicker Get best bid and ask for spot · Symbol order book ticker #
Ask an LLM
“What is the best bid and ask for BTCUSDT right now?”
“Can I get the top-of-book prices for several spot symbols?”
Tell an agent
Get the best bid and ask for {symbol}.
Show the top-of-book prices for {symbols}.
GET /api/v3/ticker Get rolling window price change stats · Rolling window price change statistics #
Ask an LLM
“How do I get price change stats over a custom window like 1 hour?”
“Can I get rolling window stats for a spot symbol?”
Tell an agent
Get rolling window price change stats for {symbol} over {windowSize}.
Show {type} rolling stats for {symbols} with window {windowSize}.
GET /fapi/v1/ping Test connectivity to the futures API · Test connectivity #
Ask an LLM
“Are the Binance Futures REST endpoints up right now?”
“Can I ping the futures API to check it's reachable?”
Tell an agent
Ping the futures API to test connectivity.
Check that the futures endpoints are responding.
GET /fapi/v1/time Get the futures server time · Check server time #
Ask an LLM
“What time is it on the futures server?”
“Can I check the futures server time before placing an order?”
Tell an agent
Get the current server time.
Check the futures server time.
GET /fapi/v1/exchangeInfo Get futures trading rules and symbols · Exchange information #
Ask an LLM
“What contract types and margin assets are available on futures?”
“Which futures symbols have USDT margin?”
Tell an agent
Get the futures exchange information.
Show the futures trading rules and symbol information.
GET /fapi/v1/depth Get the futures order book depth · Order book #
Ask an LLM
“How deep is the order book for BTCUSDT futures?”
“Can I get the top 20 levels of the futures book?”
Tell an agent
Get the order book depth for {symbol}.
Show the top {limit} levels of the {symbol} futures book.
GET /fapi/v1/trades Get recent futures trades · Recent trades list #
Ask an LLM
“What were the most recent trades on BTCUSDT futures?”
“Can I get up to 1000 recent futures trades?”
Tell an agent
Get recent trades for {symbol}.
Show the last {limit} futures trades for {symbol}.
GET /fapi/v1/klines Get futures candlestick bars · Kline/Candlestick data #
Ask an LLM
“How do I get hourly candlesticks for BTCUSDT futures?”
“Can I get futures klines for a time range?”
Tell an agent
Get {interval} candlesticks for {symbol} futures.
Show {interval} futures klines for {symbol} from {startTime} to {endTime}.
GET /fapi/v1/premiumIndex Get mark price and funding rate · Mark price #
Ask an LLM
“What is the mark price and funding rate for BTCUSDT futures?”
“Can I get mark price and funding for all futures symbols?”
Tell an agent
Get the mark price and funding rate for {symbol}.
Show mark price and funding for all futures symbols.
GET /fapi/v1/fundingRate Get historical futures funding rates · Get funding rate history #
Ask an LLM
“How much has the funding rate been for BTCUSDT futures?”
“Can I get funding rate history for a time range?”
Tell an agent
Get funding rate history for {symbol}.
Show {symbol} funding rates between {startTime} and {endTime}.
GET /fapi/v1/fundingInfo Get funding rate configuration · Get funding rate info #
Ask an LLM
“What is the funding interval and cap/floor for BTCUSDT futures?”
“Which symbols have a funding cap?”
Tell an agent
Get the funding rate configuration for all symbols.
Show funding intervals and cap/floor rates.
GET /fapi/v1/ticker/24hr Get 24-hour price change stats for futures · 24hr ticker price change statistics #
Ask an LLM
“What was the 24-hour price change and volume for a futures contract?”
“Can I get 24hr change statistics for just one futures symbol?”
Tell an agent
Get 24hr price change statistics for futures {symbol}.
Show the 24-hour change and volume for {symbol}.
GET /fapi/v1/ticker/price Get the latest price of a futures contract · Symbol price ticker #
Ask an LLM
“What is the current price of a futures contract?”
“Can I get the latest price for every futures symbol at once?”
Tell an agent
Get the latest futures price of {symbol}.
Return the current price for all futures contracts.
GET /fapi/v1/openInterest Get open interest for a futures contract · Open interest #
Ask an LLM
“How many open positions are there in a futures contract?”
“What is the open interest for BTCUSDT futures?”
Tell an agent
Get the open interest for {symbol}.
Show how many {symbol} futures contracts are open.

Documentation

📖
Documentation
https://developers.binance.com/docs/binance-spot-api-docs/rest-api
📖
Documentation
https://developers.binance.com/docs/derivatives/usds-margined-futures/general-info
📖
Documentation
https://developers.binance.com/docs/derivatives/coin-margined-futures/general-info
📖
Documentation
https://developers.binance.com/docs/derivatives/option/general-info
📖
Documentation
https://developers.binance.com/docs/derivatives/portfolio-margin/general-info
📖
Documentation
https://developers.binance.com/docs/margin_trading/general-info
📖
Documentation
https://developers.binance.com/docs/wallet/introduction
📖
Documentation
https://developers.binance.com/docs/sub_account/general-info
📖
Documentation
https://developers.binance.com/docs/simple_earn/general-info
📖
Documentation
https://developers.binance.com/docs/mining/general-info
📖
Documentation
https://developers.binance.com/docs/copy_trading/general-info
📖
Documentation
https://developers.binance.com/docs/convert/general-info
📖
Documentation
https://developers.binance.com/docs/binance-pay/introduction
📖
Documentation
https://developers.binance.com/docs/algo/general-info
📖
Documentation
https://developers.binance.com/docs/auto_invest/general-info
📖
Documentation
https://developers.binance.com/docs/crypto_loan/general-info
📖
Documentation
https://developers.binance.com/docs/gift_card/general-info
📖
Documentation
https://developers.binance.com/docs/nft/general-info
📖
Documentation
https://developers.binance.com/docs/fiat/general-info

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/binance:binance-market-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

binance-market-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Binance Market Data API
  contact:
    name: Binance Support
    url: https://www.binance.com/en/support
  termsOfService: https://www.binance.com/en/terms
  version: '1.0'
  description: 'Operations tagged Market Data across 4 of this provider''s published API definitions: binance-coin-margined-futures-openapi.yml, binance-european-options-openapi.yml, binance-spot-trading-openapi.yml, binance-usds-margined-futures-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://dapi.binance.com
  description: Production Server
- url: https://demo-dapi.binance.com
  description: Testnet Server
- url: https://eapi.binance.com
  description: Production Server
- url: https://api.binance.com
  description: Production Server
- url: https://api1.binance.com
  description: Production Server (Backup 1)
- url: https://api2.binance.com
  description: Production Server (Backup 2)
- url: https://api3.binance.com
  description: Production Server (Backup 3)
- url: https://api4.binance.com
  description: Production Server (Backup 4)
- url: https://testnet.binance.vision
  description: Testnet Server
- url: https://fapi.binance.com
  description: Production Server
- url: https://demo-fapi.binance.com
  description: Testnet Server
security:
- apiKey: []
tags:


# --- truncated at 32 KB (65 KB total) ---
# Full source: https://artifacts.apis.io/binance/openapi/binance-market-data-api-openapi.yml