API Key Domain Lock Tester

Validate and test your domain-locked API keys securely. Verify that your keys are only usable on allowed origins.

Test Console

Enter an API key created on portal.overturemapsapi.com to verify origin enforcement.

Headers Attached by Browser
X-Api-Key ovt_...
Origin https://domain-locking-test.overturemapsapi.com

Response Console

Execute a request on the left to see live HTTP status and body responses.

Awaiting request execution...

How Domain Locking Works

Domain locking restricts your Overture API key to prevent it from being stolen and used on unauthorized websites. When a request is made, your browser attaches an Origin header pointing to your domain. Our API gateway validates this origin against your key's list of allowed domains.

1

Client Request

The client app makes a fetch request. The browser automatically appends the Origin header.

2

API Gateway Check

Overture Maps API matches the key againstallowed domains. Wildcards (e.g. *.mycompany.com) are supported.

3

Enforcement

If the domain matches, returns 200 OK. If it does not match, returns a strict 403 Forbidden.

How to Configure in portal.overturemapsapi.com

  1. Create or edit your API Key in the portal interface.
  2. Set the **Allowed Domains (Optional)** list (e.g. domain-locking-test.overturemapsapi.com).
  3. Leave it empty to allow all domains (useful for backend scripts / prototyping).