Public APIs
JSONPlaceholder favicon

JSONPlaceholder

Test Data

Fake data for testing and prototyping.

JSONPlaceholder's website screenshot

About JSONPlaceholder

JSONPlaceholder is a free online REST API that provides fake data for testing and prototyping. It is built on JSON Server and LowDB, and reportedly serves approximately 3 billion requests per month.

The API offers six common resources with fixed sample datasets: posts (100), comments (500), albums (100), photos (5000), todos (200), and users (10). These resources have relations to one another, such as posts having many comments and albums having many photos. All standard HTTP methods are supported (GET, POST, PUT, PATCH, DELETE), and requests can be made over either HTTP or HTTPS.

The service is intended for developers who need placeholder data for use cases such as README examples on GitHub, demos on CodeSandbox, code examples on Stack Overflow, or local testing.

Key features

  • Free fake REST API for testing and prototyping
  • 6 built-in resources: posts, comments, albums, photos, todos, users
  • Supports all HTTP methods (GET, POST, PUT, PATCH, DELETE)
  • Resources include relational data (e.g. posts have many comments)
  • Works over both HTTP and HTTPS
  • Powered by JSON Server and LowDB

Frequently asked questions

Is JSONPlaceholder free to use?

Yes, it is a free online REST API for fake data.

What data does it provide out of the box?

It provides 6 common resources: 100 posts, 500 comments, 100 albums, 5000 photos, 200 todos, and 10 users.

What HTTP methods and protocols are supported?

All HTTP methods are supported (GET, POST, PUT, PATCH, DELETE) over both HTTP and HTTPS.

Who is JSONPlaceholder for?

It's for developers who need fake data for things like a GitHub README, a CodeSandbox demo, Stack Overflow examples, or local testing.

Can I use it with my own data?

Yes, using the sponsor Mockend with a GitHub repo lets you create your own fake online REST server.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product