Spain Company Directory

v1.0.0$0.002/companyEnrichment

Last updated November 27, 2026

Spanish company data from infoempresa: look up companies by name, CIF, or link, or search by name, sector, status, and legal form. CIF, address, CNAE, revenue, net worth, and officers. No API key.

Install

bash
npx @mambalabsdev/mcp-spain-company-directory

Every tool here also runs hosted, with no install at all, through Apify's MCP endpoint.

Features

  • Look up companies by name, CIF, or infoempresa link, with CIF, address, CNAE, and officers.
  • Search by name, sector, status, and legal form, up to 1,000 companies a search.
  • Latest revenue, net worth, and net result where the registry has accounts.
  • Companies not found, repeats, and loose matches are free.
  • Pay per event: Company row at $0.002.

Input

companiesarrayoptional

Company names, CIFs (for example A28015865), or infoempresa company links. Each is read from its company page (company-detail-row). A name must match the registered name, legal form aside, unless name_match is closest.

search_termsarrayoptional

Words to find in company names, for example construcciones. Each term lists up to about 100 companies (company-row). Combine with the filters below.

statusstringoptional

Search filter: any (default), activa, extinguida, or inactiva.

sectorarrayoptional

Search filter: one or more of infoempresa's 21 sectors by name or number, for example Construcción or Hostelería. With no search term, the filters alone list up to 1,000 companies.

legal_formstringoptional

Search filter: SA, SL, or SLL (or the full name). Empty means any.

max_results_per_searchstringoptional

Up to 1,000 for a filter-only search; a search term returns at most about 100. Default 100.

company_detailsstringoptional

true: each search result is read from its company page and charged as a company-detail-row. false (default): search list fields only.

include_officersstringoptional

true (default): detail rows carry the officers the company page lists (up to 25).

max_officers_per_companystringoptional

1 to 25. Default 25.

name_matchstringoptional

exact (default): a company name must match the registered name, legal form aside; otherwise a free no_results row lists the closest names. closest: take the first search result.

term_in_namestringoptional

true (default): search results whose name lacks a word of the search term are skipped, free.

dedupestringoptional

true (default): a company already returned in this run is skipped, free.

max_charge_usdstringoptional

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Output schema

json
{
  "row_type": "string",
  "input_value": "string",
  "input_type": "string",
  "search_term": "string",
  "rank": "integer",
  "infoempresa_id": "string",
  "slug": "string",
  "company_name": "string",
  "cif": "string",
  "status": "string",
  "legal_form": "string",
  "incorporated": "string",
  "share_capital_eur": "number",
  "registered_address": "string",
  "city": "string",
  "region": "string",
  "website": "string",
  "phone": "string",
  "employees": "integer",
  "employees_band": "string",
  "revenue_band": "string",
  "cnae_code": "string",
  "cnae_description": "string",
  "sic_code": "string",
  "sic_description": "string",
  "sector": "string",
  "mercantile_registry": "string",
  "last_borme_date": "string",
  "financials_year": "integer",
  "revenue_eur": "number",
  "net_worth_eur": "number",
  "net_result_eur": "number",
  "last_accounts_filed_year": "integer",
  "officers_total": "integer",
  "officers": "array",
  "detail_read": "boolean",
  "company_url": "string",
  "row_status": "string",
  "error_reason": "string",
  "billable_events_json": "string",
  "scraped_at": "string"
}

Pricing

$0.002per company
EventFree plan price
Company row$0.002
Company detail row$0.005
Actor Start$0.005

Pay per event on the Apify platform. Paid Apify plans pay less per event. No subscription, no seat license.

On the Apify free plan the actor stops at $1.50 of charges a month, about 750 companys. Any paid Apify plan removes the cap.

Limits

  • infoempresa's search returns at most about 100 companies for a search term and about 1,000 for filters alone. Use narrower terms or more filters to reach more companies.
  • Search list rows carry what the list shows: no CIF, address, or phone. Turn on company_details to read each company page.
  • Financial figures are from the latest accounts infoempresa has processed, which can be years old; financials_year says which year. Many small companies show no figures.
  • Employee and revenue bands are in infoempresa's Spanish wording, as published.
  • Officers: the company page lists up to 25 officers; officers_total gives the full count on record.
  • Officer names are personal data published in the Registro Mercantil. Use them under the GDPR and your own lawful basis.
  • infoempresa's terms of use (read 2026-11-17) say its content may not be copied or reused beyond what a visit needs without its consent, and its robots.txt disallows automated access. Your use of the data is your responsibility.