Example: GET /api/users?limit=3
{
"data": [
{
"id": 1,
"name": "Mina Kim",
"email": "mina.kim1@test.local",
"phone": "+1-555-5381"
},
{
"id": 2,
"name": "Alice Carter",
"email": "alice.carter2@test.local",
"phone": "+1-555-3129"
},
{
"id": 3,
"name": "Alice Kim",
"email": "alice.kim3@mock.dev",
"phone": "+1-555-9444"
}
],
"pagination": {
"page": 1,
"limit": 3,
"total": 50,
"hasNext": true
}
}Loading interactive playground…
$ curl mockapihub.com/api/users/1
{
"id": 1,
"name": "Ada Lovelace",
"email": "ada@example.com",
"company": {
"name": "Analytical Engines",
"catchPhrase": "First, programs."
}
}Get more posts like this
New mock-API tutorials, integrations, and workflow tips — one email when we publish. No spam, unsubscribe anytime.
We'll only email you about new posts and product updates.