The API was replaced by the new /EU-start endpoint available in Company
To check the VAT number of any European company and obtain key information, discover the new services of Company
Deprecated starting from 2025-12-31
All the knowledge you need
Here you can find some advice to consider to approach this API. If you prefer, we provide code samples, OAS3 documentation, the ability to try the API live via the Swagger UI or import the entire collection into Postman. We also offer a Sandbox environment where you can experiment with all kinds of requests completely free of charge.
Get the token in the appropriate section before you start.
Get company information on European companies by VAT number
/companies.
- Oas file url https://console.openapi.com/oas/en/europeanvat.openapi.json
- Fork or import with Postman
- Production domain europeanvat.altravia.com
- Sandbox domain test.europeanvat.altravia.com
- Production Scopes 1
-
Sandbox Scopes 1
- GET test.europeanvat.altravia.com/companies
European Vat (1.0.0)
This service provides REST calls to extract information on european companies from simple parameters such as country code and VAT number
Starting from data of a company such as VAT number basic information on the company itself is extracted
Basic data
This endpoint returns basic information of a company such as company name and address.
Authorizations:
path Parameters
country_code required | string Example: IT company country code |
vat required | string Example: 11xxxxx1009 VAT number of the company |
Responses
Response Schema: application/json
object (Company) | |
success | boolean |
message | string |
error | integer |
Request samples
- C + Libcurl
- Csharp + Restsharp
- Go + Native
- Java + Okhttp
- Java + Unirest
- Javascript + Jquery
- Javascript + Xhr
- Node + Native
- Node + Request
- Node + Unirest
- Objc + Nsurlsession
- Ocaml + Cohttp
- Php + Curl
- Php + Http1
- Php + Http2
- Python + Python3
- Python + Requests
- Ruby + Native
- Shell + Curl
- Shell + Httpie
- Shell + Wget
- Swift + Nsurlsession
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://europeanvat.altravia.com/companies/%7Bcountry_code%7D/%7Bvat%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
Response samples
- 200
- 400
- 402
- 406
- 417
- "data": {
- "valid": true,
- "format_valid": true,
- "country_code": "IT",
- "vat_number": "12485671007",
- "company_name": "OPENAPI S.R.L.",
- "company_address": "VIALE F TOMMASO MARINETTI 221 00143 ROMA RM"
- "success": true,
- "message": "",
- "error": null