Test your front-end against a real API

ReqRes – Hosted REST API for Developers

The #1 Fake Data API & Fake JSON API for Developers

Instantly get realistic fake data and custom JSON endpoints for testing, prototyping, and demos. Free forever, or go Pro for advanced features.

πŸš€ LAUNCH DAY: 25% OFF Pro – Unlock unlimited fake data and custom APIs!

Free

  • βœ… 100 free fake data API requests per day
  • βœ… Standard fake JSON API endpoints (users, posts, etc.)
  • βœ… CORS enabled for all modern frameworks
  • βœ… Realistic, production-style JSON responses
  • βœ… Always-on, reliable cloud service

Pro ⭐

  • βœ… Unlimited fake data API requests
  • βœ… Create your own fake JSON endpoints
  • βœ… Priority support for developers
  • βœ… Pro API key for advanced use cases
  • βœ… Perfect for frontend, mobile, and QA teams
  • βœ… Launch day bonus: 25% off!
πŸŽ‰ Join 500+ developers using ReqRes for fake data APIs
"ReqRes is my go-to fake data API for every new project." - Frontend Lead, SaaS Startup

FAQ: Why use a Fake Data API?

  • What is a fake data API?
    A fake data API provides realistic sample data for testing, prototyping, and demos. ReqRes lets you get fake users, posts, and more instantly via a simple REST API.
  • How do I use a fake JSON API for frontend development?
    You can use ReqRes as a fake JSON API by making HTTP requests to our endpoints. You get instant, realistic JSON responses for your app or demo.
  • Can I create custom endpoints with ReqRes?
    Yes! ReqRes Pro lets you create your own fake API endpoints with custom responses, methods, and pathsβ€”perfect for advanced testing and demos.

πŸ’Ž Pro Features Preview

🎯 Custom Endpoints

Create your own API endpoints with dynamic data injection

⚑ Unlimited Requests

No rate limits, no restrictions, just pure development speed

πŸ” Priority Support

Get help when you need it with dedicated support

πŸš€ Upgrade to Pro - $9/month

⚑ See it in action - 30 seconds

1 Make a request

fetch('https://reqres.in/api/users', {
  headers: {
    'x-api-key': 'reqres-free-v1'
  }
})
  .then(res => res.json())
  .then(data => console.log(data))
                        
Copy

2 Get instant response

{
  "data": [
    {
      "id": 1,
      "email": "[emailΒ protected]",
      "first_name": "George",
      "last_name": "Bluth"
    }
  ]
}
                        
Copy
πŸš€ Try it now - Get Free API Key

No credit card required β€’ Setup in 30 seconds

🎬 See Custom Endpoints in Action

Watch how easy it is to create your own API endpoints with dynamic data injection

⚑
2 minutes
🎯
Step-by-step
πŸ’Ž
Pro feature
πŸš€ Upgrade to Pro - Unlock Custom Endpoints

25% off with code FRIENDS25

Give it a try

πŸ”₯ Love what you see?

Unlock unlimited requests, custom endpoints, and priority support

πŸš€ Upgrade to Pro - $9/month

No setup fees β€’ Cancel anytime



πŸš€ Pro Features That Power Your Development


🎯 Custom Endpoints

Create unlimited custom API endpoints with dynamic data injection. Perfect for testing specific scenarios.

  • Up to 100 custom endpoints
  • Dynamic placeholder support
  • Custom HTTP methods
  • Real-time data injection

⚑ Unlimited Requests

No more rate limits. Test as much as you need, when you need it.

  • Unlimited API calls
  • Faster response times
  • Priority server access
  • 99.9% uptime guarantee

πŸ” Advanced Security

Enterprise-grade security with dedicated API keys and advanced authentication.

  • Dedicated API keys
  • Clerk authentication
  • Request tracking
  • Usage analytics

Billions of API requests served monthly

ReqRes is relied on by developers worldwide for fast, reliable API testingβ€”see our real Cloudflare stats above!

84.7M
Unique Visitors (30d)
35.9B
Requests (30d)
11TB
Data Served (30d)
πŸš€ Join the Pro Community

It’s all in the details


  • Hosted on Cloudflare

    Which means 99.9% Uptime SLA.
    All you need is the base URL, and you're away:

    https://reqres.in/api/

    The API is CORS enabled, so you can make requests right from the browser, no matter what domain, or even from somewhere like CodeSandbox or StackBlitz.

  • Language agnostic

    A generic API that conforms to REST principles and accepts a content type of

    application/json

    Any endpoint that contains "<resource>" can be substituted with anything you supply, ie. "products", "accounts", etc..the API will just respond with various Pantone colours.

Getting started


πŸ†“ Need an API Key?

Get your free API key to start testing with ReqRes

Get Free API Key

Modern JavaScript (Fetch)

If you, for example, want to create a fake user:

fetch("https://reqres.in/api/users", {
    method: "POST",
    headers: {
        "Content-Type": "application/json",
        "Authorization": "Bearer YOUR_API_KEY"
    },
    body: JSON.stringify({
        name: "paul rudd",
        movies: ["I Love You Man", "Role Models"]
    })
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
				

For which the response to this request will be...

{
    "name":"paul rudd",
    "movies":[
        "I Love You Man",
        "Role Models"
    ],
    "id":"243",
    "createdAt":"2025-01-15T12:09:05.255Z"
}
				

You can see that the API has sent us back whatever user details we sent it, plus an id & createdAt key for our use.

Async/Await JavaScript

If you've already got your own application entities, ie. "products", you can send them in the endpoint URL, like so:

async function getProduct() {
    try {
        const response = await fetch("https://reqres.in/api/products/3", {
            headers: {
                "Authorization": "Bearer YOUR_API_KEY"
            }
        });
        const data = await response.json();
        console.log(data);
    } catch (error) {
        console.error("Error:", error);
    }
}

getProduct();
				

It would be impossible for Reqres to know your application data, so the API will respond from a sample set of Pantone colour data

{
    "data":{
        "id":3,
        "name":"true red",
        "year":2002,
        "pantone_value":"19-1664"
    }
}
				

It's entirely possible to get sample data into your interface in seconds!

Ready to supercharge your development?

Join thousands of developers who've already upgraded to Pro

$9
per month
Unlimited
requests
Cancel
anytime
πŸš€ Upgrade to Pro Now

Still don't really get it...


  • Reqres is a real API

    Reqres simulates real application scenarios. If you want to test a user authentication system, Reqres will respond to a successful login/register request with a token for you to identify a sample user, or with a 403 forbidden response to an unsuccessful login/registration attempt.

    A common front-end scenario that's easily forgotten is loading states, which can be easily simulated through Reqres by appending
    ?delay=<a number of seconds> to any endpoint URL, which will delay the API response time. Perfect for testing loading spinners and skeleton screens!

  • Technical demos and tutorials

    If you're trying to demonstrate a front-end (JavaScript-based) concept, you don't really want the hassle of setting up an API, or even a server (especially during a live workshop or demo).

    You can just write your HTML, CSS & JavaScript as usual and send Reqres AJAX requests, which will respond with the expected response codes and output.

  • Rapid prototyping of interfaces

    When prototyping a new interface, you just want an API there, with minimal setup effort involved. While you could set up your own backend with tools like Next.js API routes or Vercel Functions, that requires deployment and configuration.

    Reqres is just a URL. Sending it an HTTP request is step 1...there is no step 2. Perfect for rapid prototyping, demos, and testing.

Peace of mind


It might seem pretty weird to be sending your data to a 3rd party API, but I can assure you, Reqres does not store any of your data at all. Once you send it to us, we just send it straight back...and then it's gone!

Advertising


Reach Millions of Developers. Instantly.

πŸš€ Your brand, job, or product could be in front of 80+ million developers and 35+ billion API requests every month. ReqRes is where the world's builders, makers, and creators come to test, learn, and launch.

Want to get your message in front of the most engaged, technical audience on the planet? Whether you're hiring, launching, or growing, there's no better place to make an impact.

πŸ“„ Download Advertising Deck (PDF)

Let's build something legendary together.