Pagination

OpenXSwitch - Pagination

OpenXSwitch API uses Pagination for all REST requests which return arrays.

Pagination allows for fetching results in a structured way, especially suited for real-time data. Endpoints like /api/deposit/list, /api/withdraw/list, and /api/orders/list return the latest items by default. To retrieve additional results, users should specify the pageNo and pageLimit in subsequent requests to fetch the next set of data based on the data previously returned.

The base endpoint is: https://api.openxswitch.com


Example

GET /api/sub-wallet/list?pageNo=1&pageLimit=20
{ "pageNo": 1, "pageLimit": 20, "totalPage": 1, "data": ... }

PARAMETERS

ParameterDefaultDescription
pageNo1The current page of the request.
pageLimit20The number of items per page (pagination size).