JSONPlaceholder

Fetch a sample to-do item from JSONPlaceholder, a fake REST API made for testing. You get an id, a title, a completed flag and the user it belongs to, which is handy when you need realistic JSON to practise with.

The pre-filled example is to-do 1, titled delectus aut autem, which is not completed.

What it's useful for

  • Check what JSON a fake REST endpoint returns before wiring up a front-end demo.
  • Test an HTTP client or a fetch call against a stable public endpoint.
  • Show students how a to-do resource looks in an API response.
  • Confirm your network can reach a public API.

Frequently asked questions

Is this real data?

No. JSONPlaceholder serves made-up placeholder content, so the titles are nonsense text and the users do not exist. It is meant for testing and prototyping only.

Which ID numbers work?

The service holds a fixed set of to-dos. Numbers beyond that set return an empty object, so a blank result means the ID does not exist.

Will my changes be saved?

This page only reads data. JSONPlaceholder accepts writes for testing but does not keep them, so the same items come back every time.

Where does the data come from?

From JSONPlaceholder, a free fake API. We call it through our server and show the result.

About this data

  • Data comes from a free third-party service (jsonplaceholder.typicode.com). We pass your request through our server so your browser never contacts it directly.
  • Service limit: None stated. If it's reached, this page tells you how long to wait.
  • Terms: Site: free for everyone, no signup, no API key.
  • The service can change or go offline without notice, and we can't vouch for the accuracy of what it returns.
  • Official documentation

More in Developer Tools