OpenXSwitch API uses pagination for REST endpoints that return array-based responses. Pagination allows applications to retrieve large datasets in smaller, structured batches. Endpoints that return lists such as deposits, withdrawals, transactions, wallets, orders, or sub-wallets support pagination through theDocumentation Index
Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt
Use this file to discover all available pages before exploring further.
pageNo and pageLimit query parameters.
By default, endpoints return the most recent records first.
The base endpoint is: https://api.openxswitch.com
Example Request
Pagination Parameters
| Parameter | Default | Description |
|---|---|---|
pageNo | 1 | Specifies the current page number to retrieve. |
pageLimit | 10 | Specifies the number of records returned per request. |
Pagination Response Fields
| Field | Description |
|---|---|
pageNo | Current page number returned in the response. |
pageLimit | Number of records returned per page. |
totalPage | Total number of available pages for the request. |
data | Array containing the requested records. |
Usage Notes
- Pagination is supported only on endpoints that return array-based results.
- Results are typically returned in descending order based on creation time or latest activity.
- To retrieve additional records, increment the
pageNovalue in subsequent requests. - The
pageLimitparameter controls the maximum number of records returned per request.
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=062e79ad9c4540929eec204aff020178)
.png?fit=max&auto=format&n=ML35RDblT1Ol-zJb&q=85&s=f6328956931c9664a2a070c2edb6e9b3)