JSONPlaceholder is a simple fake online REST API for testing and prototyping.
It's like an image placeholder 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 and DELETE requests are supported.
Here is the list of available resources.
They were inspired by common use cases and have simple structures.
For usage information, have a look at 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.
JSONPlaceholder is powered by JSON Server. If you want to use other resources, JSON Server will let you have a similar fake API in no time.