{}
jsonmock.in
Zero-setup mock endpoints · Live now

Ready-made REST API templates

Pre-built endpoints with realistic data — products, users, posts, todos. Hit them from anywhere with fetch, curl, or Postman. Supports ?limit, ?skip, ?q, and ?select.

Showing endpoints for Users

View full Users docs →

Endpoints · Users

GET/api/v1/users

List all users (paginated)

GET/api/v1/users?limit=5&skip=10

Pagination via limit + skip

GET/api/v1/users/1

Fetch a single user by id

GET/api/v1/users?q=pro

Search across relevant fields

GET/api/v1/users?select=id,firstName,email

Return only selected fields

Framework snippets

fetch

const res = await fetch("https://jsonmock.in/api/v1/users?limit=5");
const data = await res.json();

curl

curl "https://jsonmock.in/api/v1/users?limit=5"

Live response preview

click Try it on any endpoint
{
  "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"
}

Data is read-only and shared across all users — perfect for demos and tutorials. Need your own shape? Generate a custom mock →