Skip to content

Pagination ​

These list endpoints return results in pages of up to 50 items:

Other list endpoints return every item at once.

Move between pages ​

Each page includes next and prev cursors:

json
{
  "data": [ ... ],
  "page": {
    "next": "WyIyMDI2LTA0LTEwIDA4OjIwOjAwLjMxODIwNCIsImJkYmZmNWRlLTk2ZDctNDY4Zi05ZGIwLTg1ZmUyOGJkNmI2MiJd",
    "prev": null
  }
}

To get the next page, send the same request again with page.next as next:

bash
curl -X QUERY 'https://api.youvico.com/api/projects' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "keyword": "launch",
    "next": "WyIyMDI2LTA0LTEwIDA4OjIwOjAwLjMxODIwNCIsImJkYmZmNWRlLTk2ZDctNDY4Zi05ZGIwLTg1ZmUyOGJkNmI2MiJd"
  }'

Use page.prev as prev the same way to go back.

  • A null cursor means there are no more pages in that direction.
  • Send only one of next or prev per request.
  • Use cursors as they are, without changing them.

Which page comes first ​

A request without a cursor returns the first page.

Comment lists sorted oldest first (createdAt ascending) and List Replies start from the newest page instead, like a chat. Use prev to load older items.