👤20 items · free · CORS-ready
Mock Users API
A ready-made mock users endpoint with realistic profile data — first and last names, emails, phone numbers, age, gender, role, company, and address. Perfect for testing user lists, detail pages, login flows, and team directories.
GET
https://www.jsonmock.in/api/v1/usersEndpoints
| Method | Path | Description | |
|---|---|---|---|
| GET | /api/v1/users | List all users (default 30 per page) | |
| GET | /api/v1/users?limit=5&skip=10 | Paginate with limit + skip | |
| GET | /api/v1/users/1 | Fetch a single user by id | |
| GET | /api/v1/users?q=e | Full-text search across common fields | |
| GET | /api/v1/users?select=id,firstName,email | Return only selected fields (reduce payload size) |
Query parameters
| Param | Type | Description |
|---|---|---|
| limit | number (0–100) | Max items to return. Default 30. |
| skip | number | Offset from the start (for pagination). |
| q | string | Case-insensitive search across key user fields. |
| select | comma list | Return only the given fields in the response. |
Sample user
Every item in this endpoint follows the same shape as the example below.
user.json
{
"id": 1,
"firstName": "Emily",
"lastName": "Johnson",
"username": "emilys",
"email": "emily.johnson@example.com",
"phone": "+1 202-555-0101",
"age": 28,
"gender": "female",
"role": "admin",
"company": {
"name": "Boehm-Raynor",
"department": "Marketing",
"title": "VP Marketing"
},
"address": {
"city": "Phoenix",
"state": "Arizona",
"country": "United States"
},
"image": "https://i.pravatar.cc/150?img=1"
}Live response
Click Try it on any endpoint above to see the real response here.
no request yet// waiting for request
Use it in your code
curl "https://jsonmock.in/api/v1/users?limit=5"
Other ready-made endpoints
Need a different shape?
These templates are pre-built for common use cases. If you need your own JSON shape, paste it into the generator and get a custom endpoint in seconds.
Generate a custom mock →