{
"source": "eu-vies-rest-and-gleif-lei-v1",
"vatCheck": {
"vat": "DE129274202",
"countryCode": "DE",
"vatNumber": "129274202",
"isValid": true,
"viesStatus": "ok",
"viesError": null,
"companyName": null,
"address": null,
"requestDate": "2026-11-21T06:50:58.176Z"
},
"leiCount": 0,
"leiRecords": []
}
curl --location --request GET 'https://zylalabs.com/api/15159/eu+vat+validation+vies+api/40440/verify+eu+vat+and+lookup+gleif+lei?vat=DE129274202' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the EU VAT Validation VIES API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Verify European VAT numbers live via EU VIES REST and lookup global Legal Entity Identifiers (LEI) via GLEIF v1.
Yes, VAT checks query the European Commission VIES REST API and LEI records query the official GLEIF v1 API.
The `vatCheck` object includes the submitted VAT identifier, `countryCode`, normalized `vatNumber`, Boolean `isValid`, `viesStatus`, any `viesError`, optional company details, and the `requestDate` timestamp.
The full identifier appears in `vat`, while the country prefix and numeric portion are separated into `countryCode` and `vatNumber`. For example, `DE129274202` is returned as country code `DE` and number `129274202`.
`isValid` indicates whether the submitted EU VAT number was accepted as valid by the VIES verification request. A value of `true` confirms a successful validation result; inspect `viesStatus` and `viesError` for additional context.
The endpoint supports LEI lookups by an exact LEI or searches based on a legal entity name. Matching results are returned in the `leiRecords` array, with the total number reported by `leiCount`.
LEI results are grouped under the top-level `leiRecords` array. `leiCount` reports how many records were returned. If no entities match the supplied criteria, the API returns `leiCount: 0` and an empty `leiRecords` array.
An empty `leiRecords` array means that no matching GLEIF record was returned for the supplied LEI or legal-name search. Applications should handle `leiCount: 0` as a valid no-match outcome rather than assuming the response is malformed.
Yes. The endpoint can provide a `vatCheck` object and LEI search output together. This allows applications to validate a European VAT number while also checking for a corresponding legal entity record.
The endpoint returns a structured JSON object. It includes a `source` identifier, a nested `vatCheck` object for VAT validation, and `leiCount` plus `leiRecords` for LEI results. Nullable fields such as `companyName`, `address`, or `viesError` may contain `null` when unavailable.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund