ReqRes
一个托管 REST API,可响应你的 AJAX 请求
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
- 文档 / URL
- https://reqres.in/
简介
ReqRes 提供模拟用户数据(列表、详情、创建、更新)——历史上免密钥。
⚠️ 状态(2026-08 实测):API 现在返回 HTTP 401
{"error":"missing_api_key",...},提示在 app.reqres.in 创建免费密钥并通过x-api-key发送——服务现在需要免费 API 密钥。请先获取密钥。
快速开始
在 app.reqres.in 获取免费密钥,然后:
curl "https://reqres.in/api/users/2" -H "x-api-key: YOUR_KEY"
{
"data": { "id": 2, "email": "janet.weaver@reqres.in", "first_name": "Janet", "last_name": "Weaver", "avatar": "https://reqres.in/img/faces/2-image.jpg" }
}
认证方式
- 在 app.reqres.in 注册 → 免费 API 密钥。
- 通过
x-api-key请求头携带(缺失 → 401,已实测)。
速率限制与注意事项
- 免费层带限额(看文档);模拟数据不变。
- 端点:
/api/users、/api/users/{id}、/api/users(POST)、/api/login。
常见问题
ReqRes 还免密钥吗?
不——现在需要免费密钥(x-api-key 请求头,无则 401 已实测)。
如何获取密钥? app.reqres.in → 创建免费密钥。
什么变了? 模拟数据一样;加了认证。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |