JSON Test Web

{JSON} Test Web

Free fake API for testing and prototyping.

As of Oct 2023, serving ~1.2 billion requests each month.

Try it

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

fetch('https://testweb.e-shruti.com/todos/1')
            .then(response => response.json())
            .then(json => console.log(json))

When to use

JSON Test Web is a free online REST API that you can use whenever you need some fake data. It is using for a demo on Sandbox, in code examples on Stack Overflow, ...or simply to test things locally.

Resources

Test Web comes with a set of 6 common resources:

/posts 100 posts
/todos 100 todos
/users 100 users
/employees 5000 employees
/requests 200 requests
/orders 200 orders

Routes

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

GET /posts
GET /posts/1
POST /posts
PUT /posts/1
DELETE /posts/1