Authentication & API Keys
Learn how to authenticate requests using API keys, Bearer tokens, and custom headers.
Updated: July 20261 min read
Authentication Methods
AddressValid APIs require authentication on every endpoint via one of two supported header formats:
- Bearer Authorization Header (Recommended):
1Authorization: Bearer sk_live_your_key
- Custom API Key Header:
1x-api-key: sk_live_your_key
API Key Scopes & Format
- Live Key: Starts with
sk_live_. Performs real-time spatial calculations and database queries. - Sandbox Key: Starts with
sk_test_. Automatically triggers sandbox response mode without consuming API credits.
Security Note: Never expose secret keys (
sk_...) in public client-side applications (mobile binaries or browser JS). Use restricted public keys (pk_live_...) or proxy client requests through your backend server.
Was this documentation page helpful?
Your feedback helps us continuously improve our developer docs.