Skip to main content
POST
Export orders as CSV

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:

"completed"

country
string

Country by which you want to filter

Example:

"Mexico"

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.