Spain Company Register Search API - Registro Mercantil
Company register search for Spain - identity and directory data referencing the Registro Mercantil. You get clean, structured records with the source registry attached - keyed off the NIF identifier.
- →Structured JSON, not HTML or PDFs
- →Source registry attached to every record
- →Read live at query time - current filings
- →Queried by NIF or company name
What each Registro Mercantil record contains
| Field | What it holds |
|---|---|
| lookupStatus | found, or not_found_in_registry when the registry confirmed no company matches |
| query | The search term, NIF, or IRUS that produced this row |
| companyName | Official registered name (denominacion social) |
| nif | Tax identification number (NIF/CIF) |
| legalForm | S.A., S.L., S.L.U., S.Coop., etc. |
| cnaeCode / cnaeDescription / naceCode / naceDescription | CNAE-2009 and European NACE activity codes |
| status | Vigente, Disuelta, Liquidada, Extinguida, En liquidacion, Cierre de hoja |
| address / registroMercantil | Registered address and competent commercial registry |
| irus / euid | Unique registry ID and European Unique Identifier |
| website | Company website if registered |
| officers | Administrators/officers with name and role |
| registrySheet / sourceUrl | Registry sheet reference and source page |
Sample record (JSON, people masked)
{
"lookupStatus": "found",
"query": "Telefonica",
"companyName": "TELEFONICA SA",
"nif": "A28015865",
"legalForm": "Sociedades anonimas",
"cnaeCode": "6190",
"cnaeDescription": "Otras actividades de telecomunicaciones",
"naceCode": "6190",
"status": "Vigente",
"address": "GRAN VIA 28, MADRID, MADRID",
"registroMercantil": "MADRID",
"irus": "1000239977797",
"euid": "ES28065.000012387",
"website": "telefonica.com",
"officers": [
{
"name": "…",
"role": "Consejero Delegado"
}
],
"registrySheet": "6164",
"sourceUrl": "https://opendata.registradores.org/directorio/-/sociedad/1000239977797/telefonica-sa"
} What it does not do
- Name searches may return partial matches; use NIF or IRUS for an exact lookup.
- An IRUS that cannot be opened is reported as a failed lookup (and not charged), because a stale identifier and a site problem are indistinguishable from the outside.
- The directory shows the current registry state only (no historical data).
- Officer data may be limited to current appointments visible on the detail page.
Registro Mercantil (Spain) does not offer a clean public API for programmatic queries. getregdata reads the official source directly and returns structured JSON, keyed off the NIF identifier - so you get API-like access without an official endpoint.
Install the getregdata agent skills or MCP server, or run the regdata/spain-company-directory-scraper actor on Apify. Query by NIF or company name and receive structured, source-attributed records. It is free to install; you pay per result on Apify.
Company register search for Spain - identity and directory data referencing the Registro Mercantil.
Not ready to run it yourself? Tell us which companies or filters you need. We run it once and send you the file, and a quote if you want it regularly. No newsletter, no sales calls.
Your request is in our inbox. We reply within one business day, from [email protected].
The form could not send just now - nothing is lost. Send it as an e-mail instead (your text is already filled in), or write to [email protected].
Prefer e-mail? [email protected] · We use your details only to answer you. Privacy