Every request to the Vangrid API must include your API key as a Bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.vangrid.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header. Requests without a valid key return 401 Unauthorized and are not processed.
Obtaining your API key
Contact hello@vangrid.io to request API access. Once your account is provisioned, your API key is available in the Vangrid dashboard under Settings → API Keys.Passing your API key
Include your key in theAuthorization header on every request:
Authentication errors
| HTTP status | Error code | Cause |
|---|---|---|
401 | unauthorized | Key is missing, malformed, or revoked |
403 | region_not_authorized | Key is valid but not authorized for the requested region |
401 response:
Best practices
- Store your key in an environment variable:
VANGRID_API_KEY - Use separate keys for development and production environments
- Rotate keys periodically via the dashboard
- Revoke compromised keys immediately from Settings → API Keys