SpainCompanyAPI: Spanish company data
v1.4.5Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_company Spanish company by tax ID
Record of ONE Spanish company when you already have its tax ID (CIF/NIF). Use it to find out whether it exists and is active, its legal name, legal form (with ISO 20275 code), LEI, CNAE activity code, province and incorporation date; on the Pro plan, also its registered office, revenue band, sole shareholder, parent company and, with include_directors, its current directors. On every plan it flags whether the Spanish Tax Agency has revoked (or reinstated) its tax ID according to the BOE gazette (tax_id_revocation): a revoked tax ID is not valid for tax purposes and banks cannot process payment…
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
include_directors | boolean | true to include current directors and officers (Pro and Business plans) |
search_companies Search Spanish companies by name
Searches Spanish companies by full or partial name and returns the candidates with their tax ID (CIF), province and status. Use it when you do NOT have the tax ID of a specific company; then call get_company with the chosen tax ID. To turn a long list of names into tax IDs, use find_cif_by_name instead. Buscar empresas españolas por nombre.
| Parameter | Type | Description |
|---|---|---|
query * | string | Full or partial company name |
limit | integer | Maximum number of results (default 10) |
verify_company KYB verification of a Spanish company
One-call check to onboard a customer or supplier (KYB): verifies that the company exists and is operating, that the legal name you were given matches (name), that the signer is a current director or sole shareholder (person) and, if requested, the EU VAT number in VIES (vat). Returns fail if the Spanish Tax Agency has revoked its tax ID (flag TAX_ID_REVOKED). Returns flags and a pass / review / fail recommendation, plus legal form, LEI, parent company and sole shareholder. Use it to make a decision; to just look up data, use get_company. Pro plan; uses 2 requests. Verificación KYB de una empr…
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
name | string | Legal name declared by the customer, to check that it matches |
person | string | Name of the person signing, to check whether they are a director or the sole shareholder |
vat | boolean | true to also check the EU VAT number in VIES (intra-EU trader) |
find_cif_by_name Company names to tax IDs
Turns a LIST of Spanish company names (up to 100) into their tax IDs (CIF), with a match, ambiguous or no_match result for each. Use it to complete customer or supplier sheets that only have the name. Only matches use a request. For a single name, use search_companies. Pro plan. De nombre de empresa a CIF.
| Parameter | Type | Description |
|---|---|---|
names * | array | Company names |
province | string | Province (e.g. VALENCIA) to break ties between companies with the same name; applies to all names |
verify_invoice_recipients Check invoice recipients' tax IDs
Checks a LIST of Spanish customers (up to 100) before invoicing them (VERI*FACTU, e-invoicing): for each tax ID, whether the format is valid, whether the company is registered, its legal name and registered office, its status and, if you pass the name you hold, whether it matches. Returns invoice_hint ok / revisar (review) / no_facturar (do not invoice) with the reasons (struck off, absorbed, insolvent, tax ID revoked by the Tax Agency, name mismatch, sample tax ID...). Use it to review the customer base of an invoicing program or ERP; to onboard a single customer in more detail, use verify_co…
| Parameter | Type | Description |
|---|---|---|
items * | array | Customers to check |
vat | boolean | true to also check the EU VAT number in VIES (only with 20 customers or fewer) |
get_borme_history BORME registry history
Every event a Spanish company has published in the BORME (Commercial Registry gazette), with date and PDF: incorporation, director appointments and removals, capital increases, changes of address or name, dissolution, insolvency... Use it for the company history and recent changes; for the current status, get_company is enough. Pro plan. Historial de actos del BORME.
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
get_risk_profile Risk profile
Risk level of a Spanish company and its reasons, worked out from its BORME publications (insolvency, dissolution, closed registry sheet, accounts not filed, director changes...). Use it before extending credit or signing with a supplier. Business plan. Perfil de riesgo de una empresa.
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
get_public_contracts Public contracts awarded
Public sector contracts awarded to a Spanish company (Spanish Public Procurement Platform): contracting body, subject, amount and date. Business plan. Contratos públicos adjudicados.
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
limit | integer | Contracts per page (default 20) |
page | integer | Page (default 1) |
get_subsidies Public grants and subsidies
Grants, loans, guarantees and tax benefits awarded to a Spanish company according to the national grants database (BDNS), since 2022, Kit Digital included: summary by year, by instrument and the largest calls, plus the list of awards. Use it to research public funding or to see how much public money a company receives. Business plan; uses 1 request. Subvenciones y ayudas públicas.
| Parameter | Type | Description |
|---|---|---|
cif * | string | Spanish company tax ID (CIF/NIF), e.g. A46103834 (spaces and hyphens are accepted) |
limit | integer | Awards per page (default 20) |
year | integer | Only awards from that year |
search_tenders Open public tenders in Spain
Public tenders in Spain that are still OPEN for bids (Spanish Public Procurement Platform and regional platforms): title, contracting body, province, amount, bid deadline, CPV and link to apply. Filter by words in the title (query, in Spanish), CPV, province, type (supplies, services, works) and amount. With cif, returns open tenders similar to the contracts that company has already won: use it for "which tenders could this company bid for?". Business plan; uses 1 request. Licitaciones públicas abiertas.
| Parameter | Type | Description |
|---|---|---|
cif | string | Tax ID of a company: tenders similar to what it has already won |
cpv | string | CPV code or its prefix, comma-separated (e.g. "72,48" for IT) |
limit | integer | Number of tenders (default 20) |
max_amount | number | Maximum amount excluding VAT (euros) |
min_amount | number | Minimum amount excluding VAT (euros) |
province | string | Province of the contracting body, e.g. Madrid, Barcelona, Bizkaia |
query | string | Words that must appear in the title, in Spanish, e.g. "limpieza colegios" |
type | string | Contract type |
check_sanctions Sanctions screening (EU, UN, OFAC)
Checks whether a Spanish company (by cif, together with its current directors) or a single name (name) appears on the EU, UN and OFAC (US) sanctions lists. Returns each match with its strength (strong or possible), list, programme, date, country and date of birth so it can be confirmed or ruled out: a similar name is not a confirmed match. Use it when onboarding customers or suppliers (KYB, anti-money laundering). Business plan; uses 1 request. Listas de sanciones.
| Parameter | Type | Description |
|---|---|---|
cif | string | Company tax ID (the legal name and the directors are checked) |
name | string | Name of a person or entity, instead of cif |
type | string | With name: person, entity or any |
get_usage Account usage
The user's plan, requests used and available, and credit balance. Uses no requests. Use it when a tool says the quota has run out. Consumo de la cuenta.