Skip to content
A simple online fake REST API server
HTML JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 893391d May 6, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github update (#102) Aug 5, 2019
public update May 6, 2020
src Add fake option Dec 25, 2018
templates update May 6, 2020
test fix: update db code and make sure that data is reset May 12, 2016
.gitattributes Create .gitattributes Apr 7, 2015
.gitignore Update Feb 10, 2015
.travis.yml Update .travis.yml Mar 6, 2017 Update Aug 17, 2018
LICENSE Initial commit Sep 20, 2013
Procfile Refactor Mar 24, 2016 Update Jul 16, 2019
build.js update (#102) Aug 5, 2019
data.json Replace with for imag… Aug 17, 2018
index.js Refactor Mar 24, 2016
package-lock.json Update dependencies Feb 12, 2020
package.json upgrade engines to Node current LTS Feb 12, 2020
seed.js Use same color for small and large images. (#46) Mar 6, 2017


JSONPlaceholder is a simple fake REST API for testing and prototyping.

It's like an image placeholder but for web developers.

JSONPlaceholder is powered by JSON Server.


Most of the time when trying a new library, hacking a prototype or following a tutorial, I found myself in need of some data.

I didn't like the idea of using some public API because I had the feeling that I was spending more time registering a client and understanding a complex API than focusing on my task.

But I liked the idea of image placeholders for web designers. So I decided to code a little Express server inspired by that and here is JSONPlaceholder.

You can find it running here and are free to use it in your developments:

I hope you will find it useful.


  • No registration
  • Zero-config
  • Basic API
  • "Has many" relationships
  • Filters and nested resources
  • Cross-domain (CORS and JSONP)
  • Supports GET, POST, PUT, PATCH, DELETE and OPTIONS verbs
  • Compatible with React, Angular, Vue, Ember, ...


For examples and more, you can visit

You can’t perform that action at this time.