getregdata
RegistrySpain

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.

Run Registro Mercantil on Apify Install the skills
What you get
  • →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
python · regdata/spain-company-directory-scraper
from apify_client import ApifyClient

client = ApifyClient("apify_api_xxxxx")
run = client.actor("regdata/spain-company-directory-scraper").call(
    run_input={"nif": "A-48265169"}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
Fields

What each Registro Mercantil record contains

FieldWhat it holds
lookupStatusfound, or not_found_in_registry when the registry confirmed no company matches
queryThe search term, NIF, or IRUS that produced this row
companyNameOfficial registered name (denominacion social)
nifTax identification number (NIF/CIF)
legalFormS.A., S.L., S.L.U., S.Coop., etc.
cnaeCode / cnaeDescription / naceCode / naceDescriptionCNAE-2009 and European NACE activity codes
statusVigente, Disuelta, Liquidada, Extinguida, En liquidacion, Cierre de hoja
address / registroMercantilRegistered address and competent commercial registry
irus / euidUnique registry ID and European Unique Identifier
websiteCompany website if registered
officersAdministrators/officers with name and role
registrySheet / sourceUrlRegistry 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"
}
Limitations

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.
Serves these use cases
KYC onboardingB2B lead generation
FAQ
Does Registro Mercantil have an API?

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.

How do I get Registro Mercantil data programmatically?

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.

What data does Registro Mercantil return?

Company register search for Spain - identity and directory data referencing the Registro Mercantil.

Get a free sample of Registro Mercantil data

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.

We reply within one business day.

Prefer e-mail? [email protected] · We use your details only to answer you. Privacy

Related guides
6AMLD Compliance: Automate Beneficial Owner Checks by July 2027 3 min → Automated KYC Onboarding: Screen Polish Companies in 3 API Calls 5 min → Automating Polish UBO Checks: How to Query CRBR Without an Official API 5 min → Kompany / Moody's KYB API Alternative for CEE Primary-Source Data 3 min →
Other Spain registries
es
BORME
Spain

Corporate acts and appointments from the official BORME gazette.

NIF → ✓ Verified
es
Registro Público Concursal
Spain

Insolvency and disqualification entries from the public insolvency register.

NIF → ✓ Verified