POST
/
recentSpreadData
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
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json · object

Response

200 - application/json

Successful response

The response is of type object.