Quickstart
Get your API key
Sign up at vatly.dev to get your API key. Keys use the format
vtly_live_xxx.Want to test your integration first? Use a vtly_test_ key for test mode - no upstream calls, no quota usage, predictable results.Store your key securely - it will only be shown once. Vatly stores a SHA-256 hash, never the raw key.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 (when available and valid)meta.request_id: Unique ID for debugging, also in theX-Request-Idheadermeta.request_duration_ms: How long the request took in millisecondsmeta.cached: Whether this result came from cache
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.