Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.binibit.com/llms.txt

Use this file to discover all available pages before exploring further.

Production hosts

Two public hostnames serve different purposes:
HostWhat it serves
https://public-api.binibit.comPrimary public API. Market data, trading, and wallet endpoints. Used by direct integrators and the Binibit web client.
https://internal-api.binibit.com/api/marketdata/getcoingeckoAggregator-spec namespace. A subset of market data reshaped to match the CoinGecko Integration API Standards v8. Used by data aggregators (CoinGecko, CoinMarketCap, DefiLlama) for ingestion.
Most developers should use public-api.binibit.com. The aggregator-spec namespace exists only to provide one-call ingestion in the format aggregators expect — see Aggregator Compatibility.

Endpoint examples

Primary (public-api.binibit.com)

https://public-api.binibit.com/api/healthcheck
https://public-api.binibit.com/api/tickers?currencyPairCode=ETH_BTC
https://public-api.binibit.com/api/orderbook?currencyPairCode=TRX_USDT
https://public-api.binibit.com/api/deals?currencyPairCode=TRX_USDT
https://public-api.binibit.com/api/ohlc?currencyPairCode=BTC_USDT&interval=hour&start=2026-04-28T00:00:00&end=2026-04-29T00:00:00
https://public-api.binibit.com/api/currencies
https://public-api.binibit.com/api/currencies/pairs
https://public-api.binibit.com/api/currencies/commissions

Aggregator-spec (internal-api.binibit.com)

https://internal-api.binibit.com/api/marketdata/getcoingecko/tickers
https://internal-api.binibit.com/api/marketdata/getcoingecko/orderbook?ticker_id=ETH_BTC
https://internal-api.binibit.com/api/marketdata/getcoingecko/historical_trades?ticker_id=ETH_BTC
https://internal-api.binibit.com/api/marketdata/getcoingecko/asset

Protocol

  • HTTPS only. HTTP requests are redirected to HTTPS.
  • TLS 1.2 or higher.

CORS

CORS is enabled for all origins (Access-Control-Allow-Origin: *) on all public endpoints, so the API can be called directly from browser-based applications.

Caching

Some endpoints set Cache-Control: public, max-age=N headers. Respect those — calling more frequently than the cache TTL will not return fresher data and will count against your rate limit.