Order History

Retrieve the order history of the internal account associated with your TronSave API key, with pagination and status filtering.

Retrieve the order history of the internal account associated with the provided API key. Orders are returned sorted by creation time, newest first. By default the endpoint returns the 10 newest orders.

Endpoint

GET https://api.tronsave.io/v2/orders

Rate limit: 15 requests per 1 second.

Headers

Name
Type
Description

apikey*

String

TronSave API key that represents the internal account. See Authentication to get your API key.

* Required.

Query parameters

Name
Type
Description

page

Integer

Page index, starts from 0. Default: 0.

pageSize

Integer

Number of orders per page. Default: 10.

status

String

"Active" or "Completed". Default: get all.

Request body

This endpoint takes no request body — pass the apikey header and optional query parameters only.

Response

A successful response returns error: false and the matching orders in data.data, along with the total count in data.total.

200: OK

Success response example

Error responses

This endpoint authenticates with the apikey header. Missing or invalid keys return 401.

401 Unauthorized — missing API key:

401 Unauthorized — invalid API key:

400 Bad Request — schema validation. Invalid query parameters are rejected. The message names the offending field, for example:

Request examples

Next steps

Last updated