API Response

Typical REST API response with pagination

JSON

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "Alice",
      "email": "alice@example.com"
    },
    {
      "id": 2,
      "name": "Bob",
      "email": "bob@example.com"
    }
  ],
  "pagination": {
    "page": 1,
    "total": 50,
    "per_page": 10
  }
}

Stats

Related tools

Other examples