TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Page with an opaque cursor

GEThttps://api.testingapis.com/api/pagination/cursorSign in to see this endpoint's URL

Page with an opaque cursor (Stripe style).

The response is { object: "list", data, has_more, next_cursor }. Keep requesting with next_cursor until has_more is false.

Parameters 2

NameTypeDescription
cursorquery · stringThe next_cursor value from the previous page. Omit it for the first page.
limitquery · integer (int32)Page size (1-100, default 10). Default: 10.

Responses

200
One page.
400
The cursor is malformed.

Example

Request
curl -X GET "https://api.testingapis.com/api/pagination/cursor?limit=3" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "object": "list",
  "url": "/api/pagination/cursor",
  "data": [
    {
      "id": 1,
      "name": "Smart Headset",
      "category": "electronics",
      "price": 42.01,
      "createdAt": "2026-01-01T21:00:00Z"
    },
    {
      "id": 2,
      "name": "Compact Speaker",
… (15 more lines)

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.