Get your app featured in OpenRouter rankings and analytics
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.
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 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; OpenRouter drops unrecognized ones without an error. Categories are merged with any existing ones (up to total).
The X-OpenRouter-App-Visibility header controls whether a new app is listed publicly. Send hidden to create the app hidden: it is excluded from the public rankings, the app marketplace, and public app pages, while attribution keeps working and the app’s usage still shows in your own analytics. Any other value, or no header at all, creates a public app.hidden applies only when the request creates a brand-new app: an HTTP-Referer that resolves to an app that already exists — including through origin grouping, or through an app created by a prior OAuth authorization — keeps that app’s current visibility. The header is ignored on every later request, so it cannot list a hidden app publicly, and a caller of somebody else’s app cannot hide it. To change an app that already exists, contact support.
Only recognized categories from the list above are accepted.
OpenRouter drops unrecognized values without an error. 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.
If you use attribution as internal telemetry for services you don’t want listed
publicly, send X-OpenRouter-App-Visibility: hidden alongside HTTP-Referer:
Set it once in the client every internal service shares and each new URL you
add lands hidden the first time it sends traffic — no request afterwards, from
you or anyone else, changes that app’s visibility in either direction.