List Historical Candles
Returns OHLCV Candlesticks data for the given market.
To control the count, use either increment or max_data_points.
List Historical Candles returns an error when an unexpected value is given, or when increment and
max_data_points are both given or omitted.
When range.end is omitted, it will default to the current UTC timestamp.
It is possible to set range.end to a future date without error.
Omitting range.begin defaults it to six months before range.end.
When limit is omitted, it will default to return the first 100 items.
If limit is set, the API will return up to the limit in one response. The maximum limit is 1,000.
Time-series items are in descending order. All timestamps are in UTC.
Markets that are not yet available will return a 400 error.
Authorizations
Paxos APIs use OAuth 2 with the client credentials grant flow.
Token URLs:
- Production: https://oauth.paxos.com/oauth2/token
- Sandbox: https://oauth.sandbox.paxos.com/oauth2/token
Learn more in the API credentials guide →
Path Parameters
Market of candle.
ETHEUR, ETHUSD, BTCEUR, BTCUSD, PAXGUSD, BCHUSD, LTCUSD, ETHGBP, BTCGBP, LTCGBP, BCHGBP, USDPUSD, ETHBRL, BTCBRL, LTCBRL, BCHBRL, USDPGBP, USDPBRL, LINKUSD, AAVEUSD, UNIUSD, AAVEMXN, BCHMXN, BTCMXN, ETHMXN, LTCMXN, USDPMXN, AAVEEUR, BCHEUR, LTCEUR, LINKEUR, PAXGEUR, SOLEUR, USDPEUR, UNIEUR, PYUSDEUR, PYUSDGBP, PEPEUSD, TRUMPUSD, SHIBUSD, ARBUSD, BONKUSD, ENAUSD, MNTUSD, ONDOUSD, PENGUUSD, QNTUSD, RENDERUSD, SKYUSD, WIFUSD, WLDUSD Query Parameters
Maximum number of data points to return.
The time frame of the increments will be inferred by finding the most granular increment without breaching the max_data_points value based on a set of recorded data points.
Only return records after this timestamp, inclusive. RFC3339 format, like 2006-01-02T15:04:05Z.
Only return records before this timestamp, inclusive. RFC3339 format, like 2006-01-02T15:04:05Z.
Number of results to return. Defaults to 100 if no limit is provided. Maximum 1000.
Results are ordered by timestamp. Specify the ordering of the results. Defaults to DESC.
DESC, ASC Cursor for pagination
Time increment between prices. Returns data inclusive from range.begin and range.end. Do not use with max_data_points, as this results in an error.
ONE_MINUTE, FIVE_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES, ONE_HOUR, TWO_HOURS, TWELVE_HOURS, ONE_DAY, ONE_WEEK, TWO_WEEKS, FOUR_WEEKS Response
A successful response.
ETHUSD, BTCUSD, PAXGUSD, BCHUSD, LTCUSD, USDPUSD, LINKUSD, AAVEUSD, UNIUSD, PEPEUSD, TRUMPUSD, SHIBUSD, ARBUSD, BONKUSD, ENAUSD, MNTUSD, ONDOUSD, PENGUUSD, QNTUSD, RENDERUSD, SKYUSD, WIFUSD, WLDUSD ONE_MINUTE, FIVE_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES, ONE_HOUR, TWO_HOURS, TWELVE_HOURS, ONE_DAY, ONE_WEEK, TWO_WEEKS, FOUR_WEEKS List of historical candles.
Cursor token required for fetching the next page.