Retrieves a set of average prices at a certain increment of time for the requested market.
This endpoint is suitable for retrieving historical average price trends where price precision, execution, and
other detailed information is not required.
To control the count, use either increment
or max_data_points
.
List Historical Prices returns an error when an unexpected value is given, or when increment
and
max_data_points
are both given or omitted.
When range.begin
is omitted, the first data point shows the mid price, the average of the order book best bid
and ask price, or the earliest available date. It is possible to set range.begin
to a future date without error.
When range.end
is omitted, the last data point will display current mid price (average of order book best bid
and best ask) at the request timestamp. It is possible to set range.end
to a future date without error.
When pagination.limit
is omitted, the pagination limit will default to return the first 100 items.
If the pagination limit is set, the API will return up to the limit in one response. The pagination limit max is 1,000.
Time-series items are returned in chronological (ascending) order. All timestamps are in UTC.
Paxos APIs use OAuth 2 with the client credentials grant flow.
Token URLs:
Learn more in the API credentials guide →
Market of Order Book.
ETHEUR
, ETHUSD
, BTCEUR
, BTCUSD
, PAXGUSD
, BCHUSD
, LTCUSD
, ETHGBP
, BTCGBP
, LTCGBP
, BCHGBP
, USDPUSD
, ETHBRL
, BTCBRL
, LTCBRL
, BCHBRL
, USDPGBP
, USDPBRL
, LINKUSD
, MATICUSD
, AAVEUSD
, UNIUSD
, AAVEMXN
, BCHMXN
, BTCMXN
, ETHMXN
, LTCMXN
, USDPMXN
, AAVEEUR
, BCHEUR
, LTCEUR
, LINKEUR
, MATICEUR
, PAXGEUR
, SOLEUR
, USDPEUR
, UNIEUR
, PYUSDEUR
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 recording 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
Number of results to skip
Time increment between prices. Returns data exclusive 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
A successful response.
The response is of type object
.