O

OpenRouter HTTP API

REST discovered

Details
URL
https://openrouter.ai/api/v1
Docs
https://openrouter.ai/docs/api/reference/overview
Authentication
OpenRouter API key bearer discovered Get token ↗
Authorization: Bearer <credential>

Create a key from the API keys page (or manage existing keys from key settings). Give it a name and optionally set a credit limit. Use the resulting key as a Bearer token in Authorization.

OAuth 2.0 oauth2 discovered
Authorization: Bearer <credential>
OAuth 2.0 — self-onboarding

Point your MCP client at the server URL and approve access in the browser. The server supports OAuth Dynamic Client Registration (RFC 7591), so the client registers itself automatically — no developer-portal app, client_id, or client_secret to create.

OpenRouter Management API key bearer discovered Get token ↗
Authorization: Bearer <credential>

Create a management key from the Management API Keys page: click Create New Key and complete the flow. This key is only for administrative key-management endpoints under /api/v1/keys, not for inference/completions.