# Authentication for reqi.dev

The reqi.dev countries JSON API is **public and read-only**. You do not need an API key, OAuth token, or account to call `https://api.reqi.dev/v1/*`.

## oauth-protected-resource

This API does **not** expose OAuth protected-resource metadata. There is no `/.well-known/oauth-protected-resource` because all `/v1/*` routes are anonymous read-only JSON. Agents should call endpoints directly without obtaining tokens.

## oauth-authorization-server

No authorization server is required for public country data. `/.well-known/oauth-authorization-server` is intentionally absent on reqi.dev and api.reqi.dev.

## agent_auth

**No agent credentials are required.** Send a descriptive `User-Agent` (and optional `X-Client-Id`) on each request. Do not send Bearer tokens unless you are calling a separate authenticated product (for example `dash.reqi.dev`).

## identity_endpoint

Not applicable — there is no end-user identity endpoint for the public API. For operator dashboard sign-in, use `dash.reqi.dev` (out of scope for API integration).

## Recommended headers

- **User-Agent**: include your app or agent name (helps abuse tracing and support).
- **X-Client-Id** (optional): stable client id for support correlation.

## Rate limits

Responses include `RateLimit-*` headers. On HTTP 429, wait for `Retry-After` before retrying.

## Machine-readable contracts

- Agent index: [llms.txt](https://api.reqi.dev/llms.txt)
- OpenAPI 3.1: [openapi.json](https://api.reqi.dev/openapi.json)
- npm CLI/SDK package: [countries_api](https://www.npmjs.com/package/countries_api)
- Versioning policy: [deprecation](https://reqi.dev/deprecation)

## MCP

- **Product API MCP** (call the live API): https://api.reqi.dev/mcp — card at https://api.reqi.dev/.well-known/mcp/server-card.json
- **Docs MCP** (search human docs): https://docs.reqi.dev/mcp

## Dashboard auth

Operator dashboard (`dash.reqi.dev`) uses separate sign-in; it is not required for public API access.
