JSONPlaceholder is a fake online REST API for testing and prototyping.
It's like image placeholders but for web developers.
Whether you're testing a new framework, following a tutorial, ... feel free to use JSONPlaceholder API if you need some dummy data.
API can be accessed from your development environment through CORS or JSONP.
GET, POST, PUT, PATCH, DELETE and OPTIONS requests are supported.
Here is the list of available resources.
They were inspired by common use cases and have simple structures.
For usage information, see the project README.
If for some reasons, you prefer to use JSONPlaceholder locally, you can do so.
$ npm install -g jsonplaceholder $ jsonplaceholder
You can then go to http://localhost:3000/posts
If you want other resources with different structures, you can use JSON Server. It will let you have a similar fake API in no time.
Designed and built with by Typicode. Click here to view my other projects