The Amberdata API delivers comprehensive market and on-chain data through RESTful endpoints. This guide outlines the key concepts and best practices to help you integrate our API quickly and effectively.
x-api-key
header:
Field | Description |
---|---|
description | Description of the response. |
payload | The object containing the actual data requested. |
status | The status of the response. |
title | The human readable name associated with the HTTP status according to the HTTP Status Code Registry. |
description
field will indicate the reason for the error.
Status Code | Description |
---|---|
200 | Successful Request |
400 | Bad Request – Invalid request format or query results exceed 10 MB limit |
401 | Unauthorized – Invalid or missing API Key |
403 | Forbidden – Access to endpoint is not authorized |
404 | Not Found – Pair or address does not exist for example |
429 | Too Many Requests – rate limit was exceeded |
5xx | Internal Server Error – We had a problem with our server |
502 | Bad Gateway |
504 | Gateway Timeout – Exceeded 28 second limit |
api-version
header:
Note: Trading pairs, instruments, asset symbols etc. are not considered opaque. Such strings could only be modified with a new dated version.
Subscription | API Key Type | Description | Rate Limits / Daily Quotas |
---|---|---|---|
Trial Access | UAT | Temporary access to all API endpoints and datasets. | 15 calls/sec - 20k / day |
On-Demand Order | UAO | Paid subscription for production usage of data (for select markets/exchanges only, ie. Spot/Coinbase, Options/Deribit, etc.) | 20 calls/sec - 250k / day |
Enterprise | UAK | Paid subscription for production usage of data. | 60 calls/sec |
/markets/spot/tickers?exchange=gdax
/markets/spot/trades?exchange=gdax&pair=btc_usd
/markets/spot/order-book-snapshots/btc_usd?exchange=gdax
/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)