{JSON}
Placeholder2
Free fake and reliable API for testing and prototyping.
Powered by JSON Server + LowDB.
Supported by amazing companies
JSONPlaceholder is supported by the following companies and Sponsors on GitHub, check them out 💖
See it in action
Run this code here, in a browser console, or from any site. No setup, no auth, no rate limits.
// Click "Run" to see the response herePerfect for any situation
JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.
README on GitHub
Show live API examples in your project documentation
CodeSandbox Demos
Build interactive demos without a backend
Stack Overflow
Provide reproducible code examples in answers
Local Development
Test your frontend without spinning up a server
6 ready-to-use endpoints
JSONPlaceholder comes with a set of 6 common resources with realistic data.
Blog posts with title and body
User comments on posts
Photo albums with titles
Photos with thumbnails & URLs
Todo items with completion status
Users with address, company & more
Note: Resources have relations. For example: posts have many comments, albums have many photos, ... see guide for the full list.
All HTTP methods supported
All HTTP methods are supported. You can use http or https for your requests.
Note: see guide for usage examples.
Need a custom REST API?
With our sponsor Mockend and a simple GitHub repo, you can have your own fake online REST server in seconds.