Paging

Paging

Certain endpoints on the Everflow API return paginated responses. When that’s the case, the body of the response will include a paging object

Paging Object

"paging": {
    "page": 2,
    "page_size": 50,
    "total_count": 150
}

The page is a 1-based index (the first page is 1, not 0).

When paging information is not specified in the request, the first page is returned with a page_size of 50. The maximum page size is typically 2000 although some endpoints enforce a smaller maximum.

To request a specific page / page size, you must use the page and page_size in the query string of your request.

For example :

# Network API
curl -H "X-Eflow-API-Key: --your-api-key--" --url "https://api.eflow.team/v1/networks/offers?page=2&page_size=10"

# Affiliate API
curl -H "X-Eflow-API-Key: --your-api-key--" --url "https://api.eflow.team/v1/affiliates/offers?page=2&page_size=10"

Endpoints that return paginated responses are explicitly identified as such in the documentation.