curl --request POST \
--url https://gateway.varchev.com/crypto/recentSpreadData \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pair": "XBTUSD",
"since": "1613568488"
}'
{
"error": [],
"result": {
"XXBTZUSD": [
[
1646209508,
"44168.10000",
"44172.90000"
],
[
1646209508,
"44168.30000",
"44172.90000"
],
[
1646209508,
"44168.50000",
"44172.90000"
],
[
1646209508,
"44168.70000",
"44172.90000"
],
[
1646209508,
"44168.30000",
"44172.90000"
],
[
1646209508,
"44164.80000",
"44172.90000"
],
[
1646209508,
"44164.20000",
"44172.90000"
],
[
1646209508,
"44164.90000",
"44172.90000"
],
[
1646209509,
"44164.20000",
"44172.90000"
],
[
1646209509,
"44164.20000",
"44172.80000"
],
[
1646209509,
"44164.30000",
"44172.80000"
],
[
1646209509,
"44164.90000",
"44172.80000"
],
[
1646209509,
"44165.00000",
"44172.80000"
]
],
"last": 1646209535
}
}
curl --request POST \
--url https://gateway.varchev.com/crypto/recentSpreadData \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pair": "XBTUSD",
"since": "1613568488"
}'
{
"error": [],
"result": {
"XXBTZUSD": [
[
1646209508,
"44168.10000",
"44172.90000"
],
[
1646209508,
"44168.30000",
"44172.90000"
],
[
1646209508,
"44168.50000",
"44172.90000"
],
[
1646209508,
"44168.70000",
"44172.90000"
],
[
1646209508,
"44168.30000",
"44172.90000"
],
[
1646209508,
"44164.80000",
"44172.90000"
],
[
1646209508,
"44164.20000",
"44172.90000"
],
[
1646209508,
"44164.90000",
"44172.90000"
],
[
1646209509,
"44164.20000",
"44172.90000"
],
[
1646209509,
"44164.20000",
"44172.80000"
],
[
1646209509,
"44164.30000",
"44172.80000"
],
[
1646209509,
"44164.90000",
"44172.80000"
],
[
1646209509,
"44165.00000",
"44172.80000"
]
],
"last": 1646209535
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Successful response
The response is of type object
.