What it does
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 their own API exists. It answers GET, POST, PUT, PATCH and DELETE requests with 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.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- 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.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- reqres.in
More information: https://reqres.in/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://reqres.in/api/users/2'
JavaScript
const response = await fetch("https://reqres.in/api/users/2");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://reqres.in/api/users/2",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.