$devtoolkit.sh/tools/json-placeholder-api

JSON Placeholder API Reference

Browse mock API endpoint patterns and copy sample JSON responses for /users, /posts, /todos, and more.

All responses below are static examples. For a real hosted mock API, visit jsonplaceholder.typicode.com.
Response body
[
  {
    "id": 1,
    "name": "Leanne Graham",
    "username": "Bret",
    "email": "Sincere@april.biz",
    "phone": "1-770-736-8031",
    "website": "hildegard.org",
    "address": {
      "street": "Kulas Light",
      "city": "Gwenborough",
      "zipcode": "92998-3874"
    },
    "company": {
      "name": "Romaguera-Crona"
    }
  },
  {
    "id": 2,
    "name": "Ervin Howell",
    "username": "Antonette",
    "email": "Shanna@melissa.tv",
    "phone": "010-692-6593",
    "website": "anastasia.net",
    "address": {
      "street": "Victor Plains",
      "city": "Wisokyburgh",
      "zipcode": "90566-7771"
    },
    "company": {
      "name": "Deckow-Crist"
    }
  }
]

Related Tools

FAQ

Is this connected to a live API server?
No. All responses shown are static hardcoded samples. The tool is entirely offline and works without an internet connection. For a real hosted mock API you can send HTTP requests to, visit jsonplaceholder.typicode.com.
Can I use these samples in my tests?
Yes. Copy any sample response and use it as a fixture in your unit or integration tests. The response shapes follow common REST conventions so they work as drop-in mocks for most CRUD-based API clients.
How do I use this when building a frontend prototype?
Pick the endpoint that matches your data needs, copy the sample response, and hardcode it into your component as initial state or a mock fetch result. Once your real backend is ready, swap the hardcoded data for a real fetch call.

JSON Placeholder API Reference is an offline reference showing common REST API endpoint patterns paired with realistic sample JSON responses. Browse endpoints for users, posts, comments, todos, albums, and photos. Each endpoint shows the URL pattern, HTTP method, example request, and a full example response you can copy with one click. Use it to prototype frontends, design API contracts, or demonstrate REST patterns without needing a live server.

/tools/json-placeholder-apiv1.0.0