jsonplaceholder下载 REST API模拟数据接口

3491 2020-02-12 JavaScript MIT 官方网站

JSONPlaceholder是一个免费的在线REST API框架,您可以在需要一些模拟数据时使用它。 非常适合教程,测试新库,共享代码示例。


v0.3.2.zip(v0.3.3) 下载

v0.3.0.zip(v0.3.3) 下载

v0.3.1.zip(v0.3.3) 下载

v0.3.3.zip(v0.3.3) 下载

v0.2.4.zip(v0.3.3) 下载

v0.2.1.zip(v0.3.3) 下载

v0.2.2.zip(v0.3.3) 下载

v0.2.3.zip(v0.3.3) 下载

v0.2.0.zip(v0.3.3) 下载

v0.1.0.zip(v0.3.3) 下载



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: https://jsonplaceholder.typicode.com.

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 https://jsonplaceholder.typicode.com