apyhub
DATA VALIDATION · FINANCE

TEST VAT Number Validator

What it does

VAT Number Validator checks whether a VAT number is valid. Send a single vat value in the request body, including the 2-letter country code prefix, and you get back a boolean data field indicating the result.

Use it when you need to verify tax identifiers before invoicing, onboarding a customer, or accepting a business registration number in a checkout or account flow. It fits cleanly into form validation, billing systems, and back-office compliance checks where you only need a yes-or-no answer.

The API keeps the response simple: data is true for a valid VAT number and false otherwise. That makes it easy to branch logic without parsing extra metadata or country-specific lookup fields.

If your product collects business details across multiple EU markets, VAT Number Validator gives you a consistent validation step for every submission.

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

QUICKSTART

GUIDE

Quickstart

Validate a VAT number by sending it in a JSON body.

curl -X POST "https://api.eu.apyverse.com/karan/validate-vat-number-test" \
  -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 · 10 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 submitted in the request body and returns a JSON response indicating whether it is valid.

Request Body

ParameterTypeMandatoryDescription
vatStringYesVAT number including a 2-letter country code prefix.

Response

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

ParameterTypeMandatoryDescription
dataBooleanYesValidation result for the submitted 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.