Skip to main content
The API is in early access and is not publicly available. Endpoint URLs, request examples and sample responses on this page are illustrative. Contact hello@vangrid.io to request access.
Every request to the Vangrid API must include your API key as a Bearer token in the 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 the Authorization header on every request:

Authentication errors

Example 401 response:

Best practices

Never hard-code your API key in source code or commit it to version control.
  • 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
If you suspect a key has been exposed, revoke it in the dashboard and issue a new one before updating your application config.
Last modified on August 8, 2026