Testing and mock data

ReqRes

by reqres.in

Testing and mock data Added on November 1st, 2026
Visit reqres.in →

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.
  • API
  • HTTP-GET
  • JSON
  • REST

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

Listed on Free Web Services

reqres.in
ReqRes

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.

Did it work for you?

Tell us what you found when you tried ReqRes.