Look up and search Spanish companies
lookup_spain_companiesLook up Spanish companies by name, CIF, or infoempresa link, or search by sector, status, and legal form to retrieve registry details, financials, and officers.
Instructions
Look up Spanish companies by name, CIF, or infoempresa link, or search by name, sector, status, and legal form. Returns one row per company: CIF, status, legal form, registered address, website, phone, employees, CNAE and SIC activity, mercantile registry, last BORME date, revenue, net worth, net result, and officers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_spain_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedupe | No | true (default): a company already returned in this run is skipped, free. | |
| sector | No | 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. | |
| status | No | Search filter: any (default), activa, extinguida, or inactiva. | |
| companies | No | 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. | |
| legal_form | No | Search filter: SA, SL, or SLL (or the full name). Empty means any. | |
| name_match | No | 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. | |
| search_terms | No | Words to find in company names, for example construcciones. Each term lists up to about 100 companies (company-row). Combine with the filters below. | |
| term_in_name | No | true (default): search results whose name lacks a word of the search term are skipped, free. | |
| max_charge_usd | No | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. | |
| company_details | No | true: each search result is read from its company page and charged as a company-detail-row. false (default): search list fields only. | |
| include_officers | No | true (default): detail rows carry the officers the company page lists (up to 25). | |
| max_results_per_search | No | Up to 1,000 for a filter-only search; a search term returns at most about 100. Default 100. | |
| max_officers_per_company | No | 1 to 25. Default 25. |