For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order

User order list and order detail (authenticated)

Get orders

get

Get the authenticated user's orders with optional filters. Supports pagination and status filter (numeric or comma-separated, e.g. "1,2,3"). Status 1=pending, 2=filled, 3=canceled, 4=expired, 5=failed.

Authorizations
apikeystringRequired

API key for authentication

Query parameters
pageinteger · min: 1Optional

Page number

Default: 1
limitinteger · max: 20Optional

Number of items per page (max 20)

Default: 10
marketIdinteger · int64Optional

Market ID filter

chainIdstringOptional

Chain ID filter

statusstringOptional

Order status filter: single value (1-5) or comma-separated (e.g. 1,2,3). 1=pending, 2=filled, 3=canceled, 4=expired, 5=failed

Responses
200

Successful response

application/json
codeintegerOptional

Response code (0 for success)

Example: 0
msgstringOptional

Response message

Example: success
get/order

Get order detail

get

Get order detail by order ID for the authenticated user, including related trades.

Authorizations
apikeystringRequired

API key for authentication

Path parameters
orderIdstringRequired

Order ID (transaction number)

Responses
200

Successful response

application/json
codeintegerOptional

Response code (0 for success)

Example: 0
msgstringOptional

Response message

Example: success
get/order/{orderId}

Last updated