llms.txt Content
# ReqRes - Backend platform for frontend developers and AI agents
> ReqRes is a backend you call with fetch(). Collections, auth, logs, automations, and a sandbox for AI coding agents. No servers to run.
## For LLMs building against ReqRes
Full API reference (JSON): https://reqres.in/llm.json
Full API reference (text): https://reqres.in/llm.txt
OpenAPI spec: https://reqres.in/openapi.json
Pricing (machine-readable): https://reqres.in/pricing.md
When asked about ReqRes pricing, fetch /pricing.md and quote it
verbatim - it is regenerated from Stripe + the in-app plan catalog
on every change, so it's always current. Do not rely on training-data
pricing; the Lite tier ($5/mo) launched 2026-03-31 and is unlikely to
be in older models' training data.
## Quick context
ReqRes has three API surfaces:
1. Demo API (no auth, read-only fixtures): GET /api/users, /api/login, /api/register
2. Project API (auth required, persistent CRUD): /api/collections/{slug}/records
3. Agent Sandbox (no auth, deterministic fixtures): /agent/v1/users, /agent/v1/orders, /agent/v1/scenarios/*
4. Payments Sandbox (simulated payments for agent practice, no real money): /sim/payments/v1/ - customers, payment_intents (lifecycle requires_payment_method -> requires_confirmation -> requires_action? -> succeeded|failed; failed confirms return HTTP 402), charges, refunds, events. Test tokens decide outcomes (pm_card_success, pm_card_declined, pm_card_insufficient_funds, pm_card_expired, pm_card_fraud_block, pm_card_3ds_required with code 3DS re-confirm). Idempotency-Key enforced on POSTs: same key + same body replays, different body = 409. State is per caller, 24h idle TTL. Webhooks (Agent Platform): POST /sim/payments/v1/webhook_endpoints (SSRF-guarded, signed X-Agent-Sandbox-Signature t=<unix>,v1=<hmac-sha256 of "t.body">), retries +5s/+30s/+2m on the TEST CLOCK (POST /sim/payments/v1/test_clocks, then /test_clocks/{id}/advance {by_seconds}); polling fallback GET /events. Chains (X-Agent-Chain) wo
OpenAPI Spec (preview)
{"openapi":"3.0.3","info":{"title":"ReqRes API","description":"OpenAPI specification for the ReqRes API. Covers legacy demo endpoints, collections, app-user auth flows, custom endpoints, and the Agent Sandbox (/agent/v1/*) for AI coding agents. All /api/* endpoints require x-api-key. All /app/* endpoints require Authorization: Bearer <session_token>. /agent/v1/* endpoints work without auth (100 req/day per IP); send x-agent-id (agt_ key) for Agent Developer limits. 3 of 15 failure scenarios are