JSONPlaceholder
A hosted mock REST service with ready-made JSON resources for demos.
JSONPlaceholder provides a public REST API that returns sample JSON data for prototyping, tutorials, and frontend testing. It includes common resource types such as posts, comments, albums, photos, todos, and users, with relationship-style routes for practicing real API patterns.
Why it stands out
- Requires no signup, project setup, database, or hosted mock server to start making requests.
- Uses familiar blog/photo/todo/user-style data, which fits many frontend examples better than abstract test payloads.
- Supports both read and write-shaped requests, making it useful for demonstrating full CRUD flows.
- Widely used at high volume, which makes examples based on it recognizable to many developers.
- Resource relationships let users test more realistic API navigation than a single flat endpoint.
Good to know
- The dataset is small and fixed, so it is not suitable for testing large-scale search, pagination edge cases, or domain-specific data models.
- It provides fake sample content only; it should not be treated as a production backend or authoritative data source.
- Write requests are intended for testing request flows rather than storing durable application data.
Under the radar: To test two common REST patterns against the same relationship, compare /posts/1/comments with /comments?postId=1 in your code so you can verify both nested-route and query-parameter handling.
Photos

Frontend developers and tutorial authors needing realistic API responses without running a backend. Build a quick UI prototype that fetches lists, details, and related records. Test fetch, Axios, or framework data-loading examples in a README or sandbox. Demonstrate POST, PUT, PATCH, and DELETE request handling without touching production data. Practice REST routing patterns such as nested comments and query filtering.
Six built-in sample resources with predictable counts; REST-style routes for collections, individual records, nested resources, and query parameters; support for common HTTP methods; usable over HTTP or HTTPS; simple fetch example available directly on the homepage.
Technical Notes
- Public REST API is available at jsonplaceholder.typicode.com with JSON resources such as /posts, /comments, /albums, /photos, /todos, and /users.
- Supports GET, POST, PUT, PATCH, and DELETE routes, including nested and query-filtered examples like /posts/1/comments and /comments?postId=1.
- Requests can be made over HTTP or HTTPS, and the homepage does not indicate that authentication is required.
Alternative listings
A definitive reference hub for HTML, CSS, JavaScript, and Web APIs.
coding / ProgrammingMDN Web Docs is a comprehensive documentation site for core web platform technologies, including HTML, CSS, JavaScript, SVG, HTTP, accessibility, WebAssembly, and browser APIs. It combines reference pages, practical guides, beginner learning paths, compatibility-focused material, and small web development tools such as a playground and CSS generators.
0 votesVisit siteHands-on coding tutorials, references, and exercises for common web tech.
coding / ProgrammingW3Schools is a web-based learning site for web development, programming, databases, and related technical skills. It combines short tutorials with reference pages, interactive code examples, exercises, quizzes, code challenges, certificates, and browser-based tools for practicing without a local setup.
0 votesVisit site
Similar sites elsewhere
- Reqres — reqres.in
- DummyJSON — dummyjson.com
- MockAPI — mockapi.io
- HTTPBin — httpbin.org
1 of 4