# ReqRes

Category: [Testing and mock data](https://free-web-services.com/web-services/web-development/testing/)  
Page: https://free-web-services.com/web-services/web-development/testing/reqres.html  
Documentation: https://reqres.in/

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 key: Not needed
- 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

Example request:

```sh
curl 'https://reqres.in/api/users/2'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

