DocsGetting StartedAuthentication & API Keys

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:

  1. Bearer Authorization Header (Recommended):
1
Authorization: Bearer sk_live_your_key
  1. Custom API Key Header:
1
x-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.

© 2026 AddressValid Inc. All rights reserved. Global Address Intelligence & Location Infrastructure.