Production hosts
Two public hostnames serve different purposes:
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)
Aggregator-spec (internal-api.binibit.com)
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 setCache-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.