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.
Public market data — no auth
All market data endpoints documented in API Reference are public. They require:- No API key
- No HMAC signature
- No bearer token
Trading and wallets — HMAC-SHA256
The trading and wallet endpoints (create/cancel orders, deposits, withdrawals, balances) onpublic-api.binibit.com use HMAC-SHA256 request signing.
Detailed documentation for the signing flow is on the v2 roadmap. The scheme below is the same one the Binibit web client uses today and is reproduced from the upstream OpenAPI spec at
/swagger/.Signing scheme
-
Generate an API key pair (
publicKey,privateKey) at binibit.com/apikeys. -
Build the canonical signature text:
publicKey— your API public key, e.g.b2H9TlfRu6MOgG4m9wvrf9maSUiPsQJEui0JrBrequestUrl— full URL of the request, e.g.https://public-api.binibit.com/api/ordersrequestBodyString— the JSON body as a single-line string forPOST/PUT, or empty string forGET/DELETE. Example:{"isBid":true,"currencyPairCode":"ETH_BTC","amount":0.01,"price":0.02}
-
Compute the HMAC-SHA256 over UTF-8 bytes of
signatureTextusingprivateKeyas the key. - Encode the resulting digest as a lowercase hex string.
-
Send it in the
API-Signatureheader along withAPI-PublicKey.
JavaScript
C#
Things to watch
- No separators between the three parts of
signatureText. They are concatenated verbatim. - Body string must match exactly the bytes you transmit. Reformatting (different key order, whitespace) breaks the signature.
- Server clock skew can cause auth failures if the server enforces a timestamp window — see the planned
GET /api/timeendpoint on the roadmap.
