Anthropic (Claude) API Key Checker

Check if your Anthropic Claude API key (sk-ant-…) is valid, see available models and fix 401 / credit-balance errors. Free, instant, key not stored.

SingleBulk
ManualAuto
AnthropicAnthropic
💡 Tip:Paste key with Ctrl+V• 👁️ to show/hide

How It Works

Anthropic keys give access to the Claude models through the Claude API. Api Key Chain checks a Anthropic key with a single read-only request and shows the HTTP status, latency and the provider's response.

Want to save keys in an encrypted vault and re-check them automatically? See plans and pricing →

Have several keys? Check your whole .env file at once →

What an Anthropic API Key Looks Like

Claude API keys start with sk-ant-. Current keys look like sk-ant-api03-… followed by a long random string. The Claude Console shows the full key only once, when you create it; if you lose it, create a new key.

Admin API keys start with sk-ant-admin…. They manage your organization (members, workspaces and API keys) through the Admin API. To call Claude models, use a regular API key.

Common Anthropic API Errors and Fixes

ErrorWhat it means and how to fix it
401 authentication_errorThe key is malformed, revoked or expired. Copy it again without spaces or line breaks, check its expiry date, or create a new key.
401 “CORS requests are not allowed for this Organization”Not a key problem: your organization’s settings block calls from a browser. Call the API from your own back end instead.
400 “credit balance is too low”The key is valid but the organization has no prepaid credit left. Add credits on the billing page of the Claude Console.
400 spend limit reachedUsage hit a spend limit set for the organization or workspace. Raise the limit in the Console.
402 billing_errorThere is a problem with your payment details. Update them in the Claude Console.
403 permission_errorThe key is not allowed to use that resource. Check your organization access and workspace settings.
429 rate_limit_errorYou hit a rate limit or your usage tier’s monthly spend cap. Wait for the retry-after time; a spend-cap 429 keeps failing until access resumes.
529 overloaded_errorThe API is temporarily overloaded. Retry later with backoff.

How to Get or Rotate an Anthropic API Key

  1. Sign in to the Claude Console and open the API keys page (platform.claude.com/settings/keys).
  2. Click Create key, name it, choose an expiration and link it to yourself or a service account. Optionally scope it to a workspace.
  3. Copy the key straight away and store it in a secrets manager: it is shown only once.
  4. To rotate: create the new key, deploy it, test it here, then revoke the old key in the Console.

Key Format

  • ▸sk-ant-… (Claude API keys)

Keys in this format are auto-detected as Anthropic.

Test Endpoint

One real request is sent to:

GET https://api.anthropic.com/v1/models

What the Result Means

StatusMeaning
200Valid — the provider accepted the key.
401Invalid — the key is wrong, revoked or expired.
403Rejected — the key exists but lacks permission for the test endpoint (or is disabled).
429Valid but rate-limited — the provider recognised the key and throttled the request.
400Usually an invalid or malformed key; the provider’s error message is shown.
5xxProvider error — validity could not be determined, try again later.

🔒 Security

Your key is sent straight from your browser to api.anthropic.com. Api Key Chain never stores keys, and the code is open source. Audit the code on GitHub.

FAQ

My key passes here but Claude says “credit balance is too low”. Why?

This check lists the models your key can access. It does not send a message, so it confirms the key is accepted but not that your account has credit. Add credits on the Claude Console billing page.

Is an sk-ant-admin key the same as an API key?

No. Admin API keys (sk-ant-admin…) manage your organization through the Admin API. Use a regular sk-ant- API key to call Claude models.

How do I check if my Anthropic API key is valid?

Paste the key into the Anthropic tester at the top of this page and click Test. The tool makes one request to GET https://api.anthropic.com/v1/models and reports whether the key works, the HTTP status and the latency.

Is it safe to test my Anthropic key here?

Your key is sent straight from your browser to api.anthropic.com. Api Key Chain never stores keys, and the code is open source.

Where do I get a Anthropic API key?

Create or copy one from the Anthropic dashboard: https://platform.claude.com/settings/keys

What does a 401 or 403 error mean for a Anthropic key?

401 means the key is wrong, revoked or expired. 403 means the key was recognised but lacks permission for the test endpoint, or the account is restricted.

Does testing a key cost anything?

No. The test calls a read-only endpoint that does not create, change or bill anything.

More LLM API Key Checkers

Related Guides