apyhub
DATA VALIDATION · FINANCE

Validate EU VAT API

What it does

VAT Number Validator checks whether a VAT number is valid. Send a vat string that includes the 2-letter country code prefix, and it returns a boolean result in data.

Use it when you need to verify tax IDs during sign-up, invoicing, vendor onboarding, or checkout. The response is intentionally simple, so it fits cleanly into validation flows where you only need a pass or fail signal.

VAT Number Validator is a good fit for systems that accept business customers across multiple countries and need a fast way to reject malformed or invalid VAT entries before they reach your records.

Because the input and output are minimal, it’s easy to add this check in front of a database write, a payment step, or a compliance workflow without extra parsing.

POST
Validate a VAT number
https://api.eu.apyverse.com/apyhub/validate-vat-number

QUICKSTART

GUIDE

Quickstart

Check whether a VAT number is valid by sending it in a JSON body.

curl -X POST "https://api.eu.apyverse.com/apyhub/validate-vat-number" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"vat":"NL862735944B01"}'

What you'll get back

Returns a JSON object with a data boolean field — true when the VAT number is valid, false otherwise.

{
  "data": true
}
TRY ITLIVE · 50 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
VAT number including 2-letter country code prefix.

About this endpoint

What it does

Validates a VAT number supplied in the request body and returns a JSON object with a data boolean field indicating whether the VAT number is valid.

Request Body

ParameterTypeMandatoryDescription
vatStringYesVAT number including 2-letter country code prefix.

Response

Returns a JSON object with a data boolean field. true indicates the VAT number is valid; false indicates it is not.

ParameterTypeMandatoryDescription
dataBooleanNoValidation result for the supplied VAT number.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.