Paste your Mapbox API key to check instantly if it's valid, with the HTTP status and latency. Free, no signup, key never stored.
Mapbox access tokens authenticate maps, search and navigation APIs. The test shows whether the token is public, secret or temporary. Api Key Chain checks a Mapbox 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 →
pk.… (public tokens)sk.… (secret tokens)tk.… (temporary tokens)Keys in this format are auto-detected as Mapbox.
One real request is sent to:
GET https://api.mapbox.com/tokens/v2?access_token=| Status | Meaning |
|---|---|
| 200 | Valid — the provider accepted the key. |
| 401 | Invalid — the key is wrong, revoked or expired. |
| 403 | Rejected — the key exists but lacks permission for the test endpoint (or is disabled). |
| 429 | Valid but rate-limited — the provider recognised the key and throttled the request. |
| 400 | Usually an invalid or malformed key; the provider’s error message is shown. |
| 5xx | Provider error — validity could not be determined, try again later. |
Mapbox blocks requests from browsers (CORS), so the test is relayed through our stateless serverless function. It forwards one request to api.mapbox.com and does not log or store your key. Audit the code on GitHub.
Paste the key into the Mapbox tester at the top of this page and click Test. The tool makes one request to GET https://api.mapbox.com/tokens/v2?access_token= and reports whether the key works, the HTTP status and the latency.
Mapbox blocks requests from browsers (CORS), so the test is relayed through our stateless serverless function. It forwards one request to api.mapbox.com and does not log or store your key.
Create or copy one from the Mapbox dashboard: https://console.mapbox.com/account/access-tokens/
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.
No. The test calls a read-only endpoint that does not create, change or bill anything.