JSONPlaceholder

{JSON} Placeholder

Free fake and reliable API for testing and prototyping.

Powered by JSON Server + LowDB.

Serving ~3 billion requests each month.

Try it

Run this code here, in a console or from any site:

fetch'(https://jsonplaceholder.typicode.com/todos/1)'

.then(response => response.json())

.then(json => console.log(json))

{}

When to use

JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.

Resources

JSONPlaceholder comes with a set of 6 common resources:

/posts

100 posts

/comments

100 comments

/albums

100 albums

/photos

100 photos

/todos

100 todos

/users

100 users

Note: resources have relations. For example: posts have many comments, albums have many photos, ... see guide for the full list.

Coded and maintained with ❤️ by typicode © 2024

Created by Hira