🇪🇸Spain
Service for querying Spanish companies using their NIF (Tax Identification Number).
Endpoint
https://api.verifik.co/v2/es/company
The Spanish Business Information Service allows you to obtain precise details about a company registered in Spain using its NIF (Tax Identification Number). By providing the NIF, the service returns information such as the company's address, business name, CNAE code (National Classification of Economic Activities), constitution date, document number and type, legal form, phone number, SIC code (Standard Industrial Classification), and social purpose.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Parameters
documentType
String
True
Document type. Allowed value: NIF.
NIT
documentType
String
True
Tax Identification Number (NIF) to be consulted.
201340512231248910
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/es/company>',
params: {documentType: 'NIF', documentNumber: 'B45549201'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Response
{
"data": {
"address": "CTRA. MOCEJON, S/N 45280, OLIAS DEL REY, TOLEDO",
"businessName": "PANADERIA MILAGROS DIAZ SL",
"cnae": "1072 Fabricación de galletas y productos de panadería y pastelería de larga duración",
"constitutionDate": "20 años, 7 meses y 14 dias",
"documentNumber": "B45549201",
"documentType": "CIF",
"legalForm": "SOCIEDAD LIMITADA",
"phone": "925490311",
"sic": "2052 GALLETAS Y AFINES",
"socialObject": "LA FABRICACION Y COMERCIALIZACION DE PRODUCTOS DE PANADERIA Y OTROS DERIVADOS TALES COMO BOLLERIA Y PASTELERIA. LA"
},
"signature": {
"dateTime": "August 5, 2024 4:54 PM",
"message": "Certified by Verifik.co"
},
"id": "ZJ0Q8"
}
Last updated