Skip to main content

Overview

Some endpoints return large datasets and support pagination to keep responses fast and reliable.

Query Parameters

ParameterTypeDescription
pagenumberPage number (starts at 1)
page_sizenumberItems per page (default: 30, max: 60)

Pagination Object

{
  "pagination": {
    "total": 47,
    "currentPage": 1,
    "totalPages": 1,
    "hasNextPage": false,
    "hasPreviousPage": false,
    "page_size": 60
  }
}

Example

curl -i \
  -H "X-API-Key: <your_9pic_api_key>" \
  "https://api.9pic.ai/api/v1/ext/903/event/456/original-photos?page=2&page_size=60"