Skip to main content
GET
Get Recent Orders

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

status
enum<string>
required

Which history to read: completed for orders that were filled in whole or in part, or cancelled for orders that were cancelled. Omitting it, or sending any other value, returns 400.

Available options:
completed,
cancelled
pageSize
integer
default:50

Items per page.

Required range: x <= 200
pageToken
string

Opaque cursor taken from the previous response's nextPageToken. Omit for the first page. A token is scoped to the endpoint that issued it.

Response

One page of orders

orders
object[]
nextPageToken
string

Cursor for the next page. Present only when a further page exists.