App attribution allows developers to associate their API usage with their application, enabling visibility in OpenRouter’s public rankings and detailed analytics. By including simple headers in your requests, your app can appear in our leaderboards and gain insights into your model usage patterns.
When you properly attribute your app usage, you gain access to:
OpenRouter tracks app attribution through the following HTTP headers:
The HTTP-Referer header identifies your app’s URL and is used as the primary identifier for rankings. This header is required for app attribution — without it, no app page will be created and your usage will not appear in rankings. Your app’s URL becomes its unique identifier in the system.
The X-OpenRouter-Title header sets or modifies your app’s display name
in rankings and analytics. X-Title is still supported for backwards compatibility. This header alone does not create an app page — it must be paired with HTTP-Referer.
The X-OpenRouter-Categories header assigns your app to one or more marketplace categories. Pass a comma-separated list of up to 2 categories per request. Categories must be lowercase, hyphen-separated, and each category is limited to 30 characters. Only recognized categories from the list below are accepted; unrecognized ones are silently ignored. Categories are merged with any existing ones (up to 10 total).
Categories are organized into groups for the marketplace:
Coding — Tools for software development:
cli-agent — Terminal-based coding assistantside-extension — Editor/IDE integrationscloud-agent — Cloud-hosted coding agentsprogramming-app — Programming appsnative-app-builder — Mobile and desktop app buildersCreative — Creative apps:
creative-writing — Creative writing toolsvideo-gen — Video generation appsimage-gen — Image generation appsProductivity — Writing and productivity tools:
writing-assistant — AI-powered writing toolsgeneral-chat — General chat appspersonal-agent — Personal AI agentsEntertainment — Entertainment apps:
roleplay — Roleplay apps and other character-based chat appsgame — Gaming and interactive entertainment appsOnly recognized categories from the list above are accepted. Unrecognized values are silently dropped. If you have a use case that doesn’t fit the existing categories, reach out to us and we may add new categories in the future.
HTTP-Referer is required to create an app page and appear in rankings. Setting only X-OpenRouter-Title without a URL will not create an app entry. Apps using localhost URLs must also include X-OpenRouter-Title to be tracked.
Your attributed app will appear in OpenRouter’s main rankings page at openrouter.ai/rankings. The rankings show:
On individual model pages (e.g., GPT-4o), your app will be featured in the “Apps” tab showing:
Once your app is tracked, you can access detailed analytics at openrouter.ai/apps?url=<your-app-url> including:
HTTP-Referer — this is the minimum requirement for app attributionhttps://myapp.com)X-OpenRouter-Title as wellopenrouter.ai/apps?url=<your-referer-url>