Testing and mock data

Test HTTP clients and fill your app with fake sample data

Testing APIs give you fake data and test endpoints while you develop: sample users, posts and to-dos, and services that echo back the HTTP request you send. Use them to build and test front ends and HTTP clients before a real back end exists.

DummyJSON

DummyJSON is a fake REST API with sample products, carts, users, posts, comments, recipes, quotes and todos for prototypes, demos and front-end tests. It supports search, pagination with limit and skip, a delay parameter to ...

API, HTTP-GET, JSON, REST

httpbin

httpbin is a simple HTTP request and response service for testing HTTP clients. It echoes back your request (headers, query string, body, form data, cookies), returns any status code you ask for, and can simulate redirects, ...

API, HTTP-GET, JSON, REST

JSONPlaceholder

JSONPlaceholder is a free fake REST API for testing and prototyping. It offers posts, comments, albums, photos, todos and users, and supports all HTTP methods: GET returns data, while POST, PUT, PATCH and DELETE are simulated, so ...

API, HTTP-GET, JSON, REST

Learn web services

Learn Web Services offers free sample web services for learning and testing, such as a simple hello-world service available both as SOAP (with a WSDL) and as REST. Use it to try out your SOAP or REST client code, tools like ...

REST, SOAP, XML

Random User Generator

The Random User Generator creates realistic fake user profiles for testing and mock-ups: name, gender, address, e-mail, login, date of birth, phone numbers, nationality and a profile photo. Ask for many users at once, filter by ...

API, HTTP-GET, JSON, REST

ReqRes

ReqRes is a hosted test API that answers like a real back end, with users, login and registration responses, pagination and delayed replies. Front-end developers use it to test forms, loading states and error handling before ...

API, HTTP-GET, JSON, REST

Compare the testing and mock data APIs

ServiceAPI keyFormatsFree use
DummyJSON Not needed JSON Free, no key needed.
httpbin Not needed JSON Free and open source, no key needed; you can also run it yourself in Docker.
JSONPlaceholder Not needed JSON Free, no key needed.
Learn web services Not needed XML Free, no key needed.
Random User Generator Not needed JSON Free, no key needed.
ReqRes Not needed JSON Free, no key needed for the demo endpoints, with a per-IP rate limit; a free account with its own API key stores your data, and paid plans raise the limits.

Questions

Which free testing and mock data APIs work without an API key?

DummyJSON, httpbin, JSONPlaceholder, Learn web services, Random User Generator and ReqRes work without a key, according to their documentation. Most keyless services ask you to keep the number of requests reasonable, and some ask for a User-Agent that names your app.

Are these testing and mock data APIs really free?

The services here can be used without paying, at least on a free plan or free tier, often with limits such as a number of requests per day or non-commercial use only. The table above quotes what each service says about its free use; check the provider's own terms before you rely on it.

How up to date is this list?

The address of every service is checked about once a week, and services that stop working or stop being free are removed. This list last changed on November 20th, 2026.