Skip to main content
POST
Export orders as CSV
v1 (legacy). This page documents the API before the v2 update. The v1 format is not enabled for new accounts and must be enabled on your account by your account manager. New integrations should use the current documentation. To update an existing integration, follow the migration guide.

Authorizations

x-api-key
string
header
required

Body

application/json
email
string<email>
required

Email address to send the CSV file to

Example:

"user@example.com"

id
string

Order id by which you want to filter

Example:

"b49f4084b96e4fb76f5a496e"

userId
string

User id by which you want to filter

Example:

"b49f4084b96e4fb76f5a496e"

brokerId
string

Broker id by which you want to filter

Example:

"b49f4084b96e4fb76f5a496e"

startDate
string<date-time>

Start date for filtering orders

Example:

"2024-01-01T00:00:00.000Z"

endDate
string<date-time>

End date for filtering orders

Example:

"2024-01-31T23:59:59.999Z"

fiat
string

Fiat currency by which you want to filter

Example:

"MXN"

crypto
string

Crypto currency by which you want to filter

Example:

"USDC"

side
enum<string>

Order side by which you want to filter

Available options:
buy,
sell
status
string

Order status by which you want to filter

Example:

"complete"

country
string

Country by which you want to filter

Example:

"MX"

minOrderSize
number

Minimum order size to filter by

Required range: x >= 0
Example:

100

maxOrderSize
number

Maximum order size to filter by

Required range: x >= 0
Example:

10000

orderStatusGroups
string[]

Array of order status groups to filter by

Example:

Response

Export request accepted. CSV will be sent to the provided email.