Prompt
VAT lookup by country and postcode api
Latest observation
Nov 3, 2026
OpenAI APIWeb search: off
If you want to look up VAT by country and postcode, there isn’t a single universal “VAT by postcode” public API because VAT rules depend on:
- the country
- whether the seller is B2B or B2C
- the product/service type
- sometimes the postcode/region only for certain countries with regional taxes
Common API options
1) VAT validation APIs
These validate a VAT number, not a postcode:
- EU VIES API (official)
- Checks whether a VAT number is valid in the EU
- Good for B2B VAT verification
- Third-party wrappers around VIES:
- Vatstack
- TaxJar
- AvaTax
- Xero / Stripe tax integrations may also help depending on workflow
2) Tax calculation APIs
These can calculate tax based on country + postcode and sometimes address:
- TaxJar API
- Avalara AvaTax
- Vertex
- Quaderno
- Stripe Tax
These are usually the right choice if you need:
- VAT rate lookup
- tax calculation
- address/postcode-based rates
Example use case
If you want:
country = GBpostcode = SW1A 1AA
A tax API can return the applicable VAT/tax rate based on the destination and rules.
If you want to build your own lookup
You’d typically combine:
- country ISO code
- postcode database / address validation API
- tax rules dataset per country
Example request pattern
Many tax APIs use something like:
POST /taxes
{
"country": "GB",
"postal_code": "SW1A 1AA",
"amount": 100.00
}
Recommendation
If your goal is VAT/tax rate lookup by country and postcode, start with:
- Stripe Tax if you already use Stripe
- TaxJar if you want a dedicated tax API
- Avalara for enterprise/compliance-heavy needs
If you want, I can give you:
- a list of APIs with pricing/features, or
- a sample code example in Python/Node.js for postcode-based VAT lookup.