Market data
get
Get markets (symbols) historical prices that match passed parameters
Authorizations
Query parameters
fromstringRequiredExample:
tickers 'from' or token contract address separated by comma
btc,eth,usdt,0xdAC17F958D2ee523a2206206994597C13D831ec7
tostringRequiredExample:
tickers 'to' or token contract address separated by comma
btc,eth,usdt,0x2170Ed0880ac9A755fd29B2688956BD959F933F8
period_fromstring Β· ISO 8601OptionalExample:
market data from a specific time
2022-07-13T02:41:59.559Z
period_tostring Β· ISO 8601OptionalExample:
market data to a specific time
2022-07-13T02:41:59.559Z
Responses
200
Result data
application/json
400
Wrong input data
application/json
401
Authorization error
500
Internal server error
application/json
get
GET /api/v1/market-data HTTP/1.1
Host: market-data-nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"code": "text",
"result": [
{
"to_currency": "text",
"from_currency": "text",
"rate_change": [
{
"d": "2022-07-13T02:41:59.559Z",
"r": 1
}
]
}
],
"error": "text"
}