Skip to main content

Quickstart

1

Get your API key

Sign up at avatcado.com to get your API key. Keys use the format avat_live_xxx.Want to test your integration first? Use a avat_test_ key for test mode - no upstream calls, no quota usage, predictable results.Store your key securely - it will only be shown once. Avatcado stores a SHA-256 hash, never the raw key.
2

Make your first request

Install the SDK for your language:
3

Handle the response

Every response has the same shape: data or error, plus meta.
  • data.valid: true if the VAT number is active and registered
  • data.company: Company name and address (when available and valid)
  • meta.request_id: Unique ID for debugging, also in the X-Request-Id header
  • meta.request_duration_ms: How long the request took in milliseconds
  • meta.cached: Whether this result came from cache
4

Handle errors

Every error response has the same shape. Check response.error to handle failures:
Input normalization: You can pass messy input like "nl 123.456.789 b01" and the API will normalize it to NL123456789B01 automatically. No need to clean up VAT numbers before sending them.