JSON25 rows
Sample API Response — JSON
Download a free JSON file that mirrors a typical paginated REST API response. Includes a data array with user records, pagination metadata (page, per_page, total, total_pages), and response headers simulation. Use this to test API client libraries, mock server responses, validate pagination logic, or prototype API-driven UIs without needing a live backend.
Data Structure Preview
{
"status": 200,
"data": [
{"id": 1, "name": "Alice", "email": "alice@example.com", "role": "admin"},
{"id": 2, "name": "Bob", "email": "bob@example.com", "role": "user"}
],
"pagination": {
"page": 1, "per_page": 25, "total": 1000, "total_pages": 40
},
"meta": {"request_id": "req_abc123", "timestamp": "2024-06-15T10:30:00Z"}
}Fields
statusdata[]paginationmetadata[].iddata[].namedata[].emaildata[].role
Common Use Cases
- Mocking REST API responses for frontend development
- Testing pagination component logic
- Validating API client error handling
- Testing JSON response parsing in mobile apps
- Prototyping API documentation examples
Related Tools
Frequently Asked Questions
What API pattern does this follow?
It follows a standard REST API pattern with a top-level status, data array, pagination object, and meta object — similar to APIs from Stripe, Twilio, and similar services.
Can I modify the response structure?
Yes. The JSON file is plain text — open it in any editor to adjust fields, add error responses, or change pagination values to match your API contract.