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:trueif the VAT number is active and registereddata.company: Company name and address; null when the number is invalid or the registry publishes no company data (Germany and Spain via VIES)meta.request_id: Unique ID for debugging, also in theX-Request-Idheadermeta.request_duration_ms: How long the request took in millisecondsmeta.source: Which registry produced the result ("vies","hmrc", a national registry id, and so on)meta.source_status: How the result was obtained ("live","cached","unavailable","degraded", or"fallback", the last one on Pro and Business plans when a national register answered for a VIES member state that was down)meta.cached: Whether this result came from cachemeta.stale: Whether the served row is older than the 25-day TTL
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.