Whose API Key Is This? Find the Account and Access Behind a Key
"Is This Key Still Used?"
Old projects are full of mystery keys. Before you delete one, or after you find one in a repository, you want to know three things: does it work, whose is it, and what can it do?
Key Details in Every Successful Test
When a key is valid, Api Key Chain shows extra details from the provider's response, where the provider returns them. A few examples:
| Provider | Details shown |
|---|---|
| Stripe | Live or test mode, secret or restricted key |
| GitHub | The account the token belongs to |
| OpenRouter | Key label and credit limit |
| Sentry | Scopes and user |
| Mapbox | Public, secret or temporary token |
| Slack | Workspace, user and whether it is a bot token |
| Square | Business name and country |
Many other providers show the account, user or bot name. AI providers that list models also show how many models the key can use.
How to Use It
- Paste the key on the home page. The provider is detected automatically for most key formats
- Click Test
- If the key is valid, the details appear in the result box
The test is the same single read-only request as always. Details come from the provider's own response; nothing extra is requested.
What to Do With the Answer
- It belongs to a former teammate or an old account: revoke it with the provider
- It's a live payment key in a test project: replace it with a test key
- It has broad scopes it doesn't need: create a narrower key and rotate
If a key turned up somewhere public, revoke it first and investigate second. See API Key Security Best Practices.
Related Posts
How to Share API Keys With Your Team Securely
Stop pasting API keys into chat. Share them through an encrypted folder where every person has their own login and PIN, and access can be removed in one click.
Get an Email When Your API Key Stops Working
API keys get revoked, expire or run out of credit without warning. Here is how to watch a key and get an email when it fails, and again when it works.
Never Miss an API Key Expiry Date Again
Many API keys and tokens expire on a fixed date. Record the date once and get reminder emails 30, 7 and 1 day before, and on the day it expires.