by Test
Validate EU VAT numbers and retrieve company registration details. Essential for B2B compliance in the European Union. Powered by Abstract API.
/validate/?vat_number={vat_number}| Name | Type | Required | Description | Example |
|---|---|---|---|---|
vat_number | string | required | EU VAT number | SE556656688001 |
{
"country": {
"code": "SE",
"name": "Sweden"
},
"vat_number": "SE556656688001",
"company_name": "Spotify AB",
"is_vat_valid": true,
"company_address": "Regeringsgatan 19, Stockholm"
}Bad Request
Missing or invalid parameters
Unauthorized
Invalid or missing API credentials
Too Many Requests
Rate limit exceeded
Internal Server Error
Upstream API error — payment hash released for retry
All calls use the x402 payment protocol: send a request, receive a 402 with payment instructions, send USDC on Base L2, then re-call with the transaction hash.
GET https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/vat-validator — receive a 402 with payment instructions
Send USDC on Base L2 to the address in X-Payment-Address
Wait for 1+ block confirmation (≈ 2 seconds on Base)
Re-send your original request with the tx hash in X-Payment-Hash
Obolo verifies on-chain and proxies the request to the upstream API
AP2 Support
This endpoint also accepts AP2 Cart Mandates. Include a signed Cart Mandate in the X-AP2-Mandate header with an x402 tx hash embedded in payment.txHash.
curl "https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/vat-validator" \
-H "X-Payment-Hash: 0x<your_tx_hash>" \
-H "X-Payment-Chain: 8453"curl "https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/vat-validator" \
-H "X-Payment-Hash: 0x<your_tx_hash>" \
-H "X-Payment-Chain: 42161"https://gateflow-proxy.7crypto-jo.workers.dev/v1/a072c723/vat-validatorUSDC
Base L2 (Chain 8453)
Protocols