Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Your API key, sent as Bearer hdk_sk_live_v1_….

Query Parameters

market
string

Counts first trades in this market. Leave it out for the whole exchange.

interval
enum<string>
default:1d

Bucket size.

Available options:
1h,
1d
limit
integer
default:90

Buckets per page.

Required range: 1 <= x <= 2000
start_time
integer

Start time in epoch milliseconds, inclusive. Defaults to 90 days before end_time.

end_time
integer

End time in epoch milliseconds. Defaults to now.

cursor
string

Opaque cursor from next_cursor. It replaces the range.

Response

OK

data
object[]
required

Result rows.

has_more
boolean
required

true when another page follows.

next_cursor
string | null
required

Cursor for the next page, passed as cursor. null on the last page.

meta
object
required

Response metadata. Its keys depend on the endpoint and are described above.