Skip to main content

Authentication

All requests to our servers require a unique user-specific API Key. Requests without a valid API Key will be refused.

Usage

Every request (with the exception of WebSockets) requires the x-api-key header:

HTTP Response Structure

The body of every response includes the following fields:

Response Codes

In an erroneous response, the description field will indicate the reason for the error.

API Versioning

When backwards-incompatible changes are made to the API, a new, dated version is released. To set the API version on a specific request, use the api-version header:

Backwards Compatible Changes

Amberdata considers the following changes to be backwards-compatible:
  • Adding new API resources
  • Adding new optional request parameters to existing API methods
  • Adding new properties to existing API responses
  • Changing the order of properties in existing API responses
  • Changing the length or format of opaque, Amberdata generated strings, such as object IDs, error messages, and other human-readable strings
Note: Trading pairs, instruments, asset symbols etc. are not considered opaque. Such strings could only be modified with a new dated version.

Rate Limits

On-Demand Order Subscriptions

On-Demand order subscriptions are provisioned upon successful payment after completing the order form. Customers must pay upfront via credit card, and API keys are typically provisioned within 24-48 business hours. On-Demand order subscriptions are limited to Market Data endpoints and do not include white-glove support services. Customers requiring assistance can contact support@amberdata.io. Examples of Supported and Unsupported API Calls: On-Demand order subscriptions are restricted to specific markets and exchanges. For example, if a customer purchases a subscription for Spot GDAX: Supported Calls:
  • /markets/spot/tickers?exchange=gdax
  • /markets/spot/trades?exchange=gdax&pair=btc_usd
  • /markets/spot/order-book-snapshots/btc_usd?exchange=gdax
Unsupported Calls:
  • /markets/spot/tickers (missing exchange=gdax)
  • /markets/spot/trades?exchange=kraken (subscription is for GDAX only)
  • /markets/futures/tickers?exchange=gdax (subscription does not include Futures)
Specify the correct exchange and use endpoints in your subscription to avoid issues.