{"uid":"cap_hVz-sjeKT1bJB9uLMippZ","slug":"validate-vat-number-06ef54d8","name":"Validate VAT Number","description":"Validate an EU or UK VAT number format and checksum and return the country and normalised form. Pure CPU, instant.","url":"https://api.gadgethumans.com/vat-validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["vat"],"properties":{"vat":{"type":"string","description":"VAT number to validate"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z-KbhAE0V7-HEiQwu9Lzo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates EU or UK VAT number format and checksum, returning the country and normalised form","exampleAgentPrompt":"Can you check whether the VAT number GB123456789 is valid and tell me what country it belongs to and its normalised form?","exampleUseCases":[{"title":"Invoice validation before payment","prompt":"Before I send this invoice, can you verify that the VAT number DE345789012 my supplier gave me is actually a valid German VAT number?"},{"title":"E-commerce checkout VAT check","prompt":"A customer just entered FR61954506077 as their VAT number at checkout — is it a valid French VAT number, and what's the normalised version I should store?"},{"title":"Bulk supplier onboarding verification","prompt":"I'm onboarding a new UK supplier and they provided VAT number GB980780684 — can you validate that it's a legitimate UK VAT number and give me the normalised format?"}],"resultDescription":"A JSON object with an 'ok' boolean indicating validity, plus the detected country code and normalised (standardised) form of the VAT number when valid. Invalid numbers return ok: false.","failureModes":["Malformed or completely non-VAT string returns ok: false","Unsupported country prefix returns failure or false","Empty or missing 'vat' query parameter causes a 400-level error","Non-EU/UK VAT formats (e.g. US EIN) are not supported"],"whenToPreferThis":"Use this endpoint when you need a fast, pure-CPU, offline-style VAT number syntax and checksum validation without hitting the official EU VIES lookup service — ideal for pre-validation before submitting to VIES, checking user input at checkout, or batch-normalising VAT numbers without rate-limit concerns. Prefer over VIES when you only need format/checksum validity and don't need real-time active registration status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:39:36.137Z","isFirstParty":false,"canonicalSlug":"validate-vat-number-06ef54d8"}