Skip to main content
GET
/
markets
/
{market}
/
historical-prices
List Historical Prices
curl --request GET \
  --url https://api.paxos.com/v2/markets/{market}/historical-prices \
  --header 'Authorization: Bearer <token>'
{
  "market": "BTCUSD",
  "prices": [
    {
      "average_price": "9245.50",
      "timestamp": "2020-01-17T18:36:00.000Z"
    },
    {
      "average_price": "9265.50",
      "timestamp": "2020-01-17T18:37:00.000Z"
    }
  ],
  "total_count": 50
}
OAuth Scope
exchange:historical_prices

Authorizations

Authorization
string
header
required

Path Parameters

market
enum<string>
required
Available options:
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,
PYUSDGBP

Query Parameters

max_data_points
integer
range.begin
string<date-time>
range.end
string<date-time>
pagination.limit
integer
pagination.offset
integer
increment
enum<string>
Available options:
ONE_MINUTE,
FIVE_MINUTES,
FIFTEEN_MINUTES,
THIRTY_MINUTES,
ONE_HOUR,
TWO_HOURS,
TWELVE_HOURS,
ONE_DAY,
ONE_WEEK,
TWO_WEEKS,
FOUR_WEEKS

Response

200 - application/json
total_count
integer
items
object[]