Snapshots

GET {{baseUrl}}/v1beta3/crypto/:loc/snapshots?symbols=BTC/USD,LTC/USD

The latest orderbook endpoint returns the latest trade, latest quote, latest minute bar, latest daily bar, and previous daily bar data for crypto symbols.

Request Params

KeyDatatypeRequiredDescription
symbolsstring(Required) Comma separated list of symbols.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"snapshots":{"BTC/USD":{"dailyBar":{"c":31744,"h":31807,"l":31416,"n":438,"o":31660,"t":"2022-05-31T05:00:00Z","v":67.3518,"vw":31582.7034526175},"latestQuote":{"ap":31742,"as":0.395,"bp":31741,"bs":0.395,"t":"2022-05-31T11:55:58.507608832Z"},"latestTrade":{"i":32396097,"p":31744,"s":0.0543,"t":"2022-05-31T11:53:45.027481Z","tks":"B"},"minuteBar":{"c":31744,"h":31744,"l":31744,"n":2,"o":31744,"t":"2022-05-31T11:53:00Z","v":0.0886,"vw":31744},"prevDailyBar":{"c":31649,"h":32251,"l":30251,"n":8221,"o":30310,"t":"2022-05-30T05:00:00Z","v":1856.4065,"vw":30877.2751897281}}}}