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.

Content type

All responses use:
Content-Type: application/json; charset=utf-8

Successful response

HTTP 200 OK with body specific to the endpoint. See API Reference for per-endpoint schemas.

Numeric values

Field typeFormatExample
PriceDecimal number, up to 8 fractional digits0.32384459
VolumeDecimal number, up to 8 fractional digits9900.94
TimestampInteger milliseconds since Unix epoch1777399660025
IDInteger290334
JavaScript Number cannot precisely represent integers larger than 2^53. For trade IDs and timestamps in JavaScript, treat them as numbers but never perform arithmetic that requires more than 53 bits of precision. For prices and volumes use a high-precision decimal library (e.g. decimal.js, bignumber.js) to avoid floating-point error.

Empty data

EndpointEmpty response
/tickers[] (empty array)
/orderbook{ "ticker_id": "...", "timestamp": ..., "bids": [], "asks": [] }
/historical_trades{ "buy": [], "sell": [] }
/asset{}
A pair with no recent trades or empty order book will simply return empty arrays — not 404.

Pagination

/historical_trades supports limited pagination via the limit, start_time, and end_time query parameters. See its endpoint reference. /tickers, /orderbook, and /asset are not paginated.

Sorting

EndpointDefault sort
/tickersAlphabetical by ticker_id
/orderbook bidsPrice descending (best bid first)
/orderbook asksPrice ascending (best ask first)
/historical_tradestrade_timestamp descending (most recent first)

Compression

The API supports gzip and br (Brotli). Send Accept-Encoding: gzip, br for smaller responses.

Versioning

The current API is v1. Path versioning will be added in future releases (e.g. /v2/tickers). v1 endpoints are stable and will receive a 30-day deprecation notice before any breaking change.