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
This endpoint returns basic information of a company such as company name and address.
country_code required | string Default: "<string>" Example: IT company country code |
vat required | string Default: "<string>" Example: 11xxxxx1009 VAT number of the company |
object (Company) | |
success | boolean |
message | string |
error | integer |
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);
{- "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
}