Skip to main content

v1/getHistoricalExchangeRates RPC Method - Crypto Market Data API

Loading...

Updated on
May 12, 2025

v1/getHistoricalExchangeRates RPC Method - Crypto Market Data API

Parameters

assetBase
string
REQUIRED
Loading...
assetQuote
string
REQUIRED
Loading...
period_id
string
REQUIRED
Loading...
time_start
string
REQUIRED
Loading...
time_end
string
REQUIRED
Loading...
limit
integer
Loading...

Returns

result
array
Loading...
time_period_start
string
Loading...
time_period_end
string
Loading...
time_open
string
Loading...
time_close
string
Loading...
rate_open
integer
Loading...
rate_high
integer
Loading...
rate_low
integer
Loading...
rate_close
integer
Loading...
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "v1/getHistoricalExchangeRates",
6
"params": [{
7
"assetBase": "BTC",
8
"assetQuote": "ETH",
9
"period_id": "1HRS",
10
"time_start": "2024-01-01T00:00:00Z",
11
"time_end": "2024-01-02T00:00:00Z",
12
"limit": 24
13
}],
14
"id": 1,
15
"jsonrpc": "2.0"
16
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free