All query GET endpoints in the Otark API support pagination to help you manage large sets of data efficiently. The pagination mechanism uses two key parameters: page and limit.

Query Parameters

  • page: The page number to retrieve. This parameter is used to specify which page of the data you want to fetch. The default value is 1.

  • limit: The number of items to retrieve per page. The default value is 10, and the maximum allowable value is 100.

Usage

To paginate through data, include the page and limit parameters in your GET requests. Here’s an example of how to use these parameters:

Example Request

GET /api/endpoint?limit=20&page=2