4 Free Fake APIs Whenever You Need Some Fake Data

Shuai Li
2 min readJul 9, 2022

When you are testing, prototyping, creating a demo on CondeSandbox, showing a code example on Stack Overflow, or anything else, you need some mock data.

Then this list is for you. These websites provide free fake APIs for you to use.

1. {JSON} Placeholder

JSONPlaceholder is a free online REST API.

Base URL

https://jsonplaceholder.typicode.com/

Resources

JSONPlaceholder comes with a set of 6 common resources:

/posts      100 posts/comments   500 comments/albums     100 albums/photos     5000 photos/todos      200 todos/users      10 users

Routes

All HTTP methods are supported. You can use HTTP or HTTPS for your requests.

GET    /postsGET    /posts/1GET    /posts/1/commentsGET    /commentspostId=1POST   /postsPUT    /posts/1PATCH  /posts/1DELETE /posts/1

--

--