---
id: "openrouter_api_key"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/openrouter_api_key"
---

# OpenRouter API key (`openrouter_api_key`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

API key of OpenRouter. The OpenRouter API reference shows key labels that start with sk-or-v1-; the format is not described in prose. The vendor does not document the length or the characters after the prefix; the regexp accepts letters and digits.

- Parent datatype: `api_key`
- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^sk-or-v1-[A-Za-z0-9]+$
```

## Examples

- `sk-or-v1-` (invalid example) — Prefix without the secret

## Supported by tools

- `datadogsds`
- `gitguardian`
- `githubsecretscanning`

## Sources

- doc: <https://openrouter.ai/docs/api/api-reference/api-keys/get-current-api-key>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/openrouter_api_key.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/openrouter_api_key.yaml>
