Docs menu: Authentication

Authentication

Every request needs an API key. All requests use HTTPS to https://api.vardic.dev.

Send the key in the x-api-key header, or as Authorization: Bearer <key>.

curl https://api.vardic.dev/v1/account \
  -H "x-api-key: $VARDIC_API_KEY"

Live and sandbox keys

vd_live_ keys return live data and count towards your allowances. vd_test_ keys return sandbox fixtures, are free and are never counted. Both belong to the same account and work on every product.

Keeping keys safe

  • Keep live keys on your server. Never ship them in a mobile app or browser code.
  • Store them in environment variables or a secret manager, not in source control.
  • If a key leaks, email info@vardic.dev and we will rotate it the same working day.

Your account

GET /v1/account returns your plans, this month's usage per product and your webhook secret. You can also sign in with your key on this site.

Ready for live data?

Sign up with your email for a live key and a sandbox key, with a free allowance on every product. For volume, an SLA or invoice billing, talk to us.