Spain Company Directory Scraper - Registro Mercantil
Pricing
from $3.00 / 1,000 company records
Spain Company Directory Scraper - Registro Mercantil
Scrape company data from Spain's official OpenData Registradores directory. Get NIF, officers, CNAE codes, legal form, address, and status from the Registro Mercantil - no API exists for this data.
Pricing
from $3.00 / 1,000 company records
Rating
0.0
(0)
Developer
minute contest
Actor stats
0
Bookmarked
2
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
Spain Company Directory Scraper | Directorio de Empresas del Registro Mercantil
Extract company data from Spain's official Registro Mercantil directory - NIF, officers, CNAE codes, legal form, address, and status for millions of Spanish companies. No public API exists for this data.
Quick Start
Click Try it and paste this input:
{"searchQuery": "Telefonica","maxResults": 10}
Sample Output
{"companyName": "TELEFONICA, S.A.","nif": "A28015865","legalForm": "Sociedad Anonima","cnaeCode": "6110","cnaeDescription": "Telecomunicaciones por cable","naceCode": "61.10","status": "Activa","address": "DISTRITO TELEFONICA, RONDA DE LA COMUNICACION S/N, MADRID","province": "Madrid","registroMercantil": "Madrid","irus": "ES.RM.M.12345","euid": "ESES.RM.M.12345","website": "www.telefonica.com","officers": [{ "name": "JOSE MARIA ALVAREZ-PALLETE LOPEZ", "role": "Presidente Ejecutivo" },{ "name": "ANGEL VILA BOIX", "role": "Consejero Delegado" }],"registrySheet": "T 12345, F 1, H M-6164","sourceUrl": "https://opendata.registradores.org/directorio/sociedad/12345"}
Pricing
| Volume | Cost |
|---|---|
| Start cost | $0.005 |
| Per result | $0.005 |
| ~100 results | ~$0.51 |
| ~1,000 results | ~$5.01 |
| ~10,000 results | ~$50.01 |
No subscriptions, no minimum commitment - pay only for what you use.
Features
- Search by company name - find companies by full or partial name
- Bulk NIF/CIF lookup - submit a list of tax IDs for batch extraction
- CNAE code filtering - filter by economic activity classification
- Province filtering - narrow results by Spanish province
- Full company profiles - NIF, officers, CNAE codes, legal form, address, status, IRUS, EUID
- API auto-discovery - detects and uses internal API endpoints when available
- Stealth browsing - Puppeteer with StealthPlugin to avoid bot detection
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
searchQuery | string | No | - | Company name to search (partial match) |
nifNumbers | string[] | No | - | List of NIF/CIF numbers for batch lookup |
cnaeCode | string | No | - | Filter by CNAE activity code |
province | string | No | - | Filter by Spanish province |
maxResults | integer | No | 100 | Maximum company records to return (1-10,000) |
proxyConfiguration | object | No | - | Apify Proxy settings (residential recommended) |
At least one search parameter (searchQuery, nifNumbers, or cnaeCode) is required.
More Input Examples
Batch NIF lookup:
{"nifNumbers": ["A28015865", "A28017895", "B86065925"],"maxResults": 50}
Search by CNAE activity code:
{"searchQuery": "software","cnaeCode": "6201","province": "Madrid","maxResults": 50}
With proxy configuration:
{"searchQuery": "Inditex","maxResults": 5,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Output Fields
| Field | Description |
|---|---|
companyName | Official registered company name (denominacion social) |
nif | Tax identification number - NIF/CIF |
legalForm | Legal form - S.A., S.L., S.L.U., S.Coop., etc. |
cnaeCode | CNAE-2009 economic activity code |
cnaeDescription | Description of the CNAE activity |
naceCode | European NACE activity code |
status | Company status - Activa, Disuelta, Liquidada, Extinguida, En liquidacion, Cierre de hoja |
address | Registered address (domicilio social) |
province | Province of registration |
registroMercantil | Competent commercial registry |
irus | Unique registry ID (Identificador de Registro Unico de Sociedades) |
euid | European Unique Identifier for cross-border identification |
website | Company website if registered |
officers | Array of administrators/officers with name and role |
registrySheet | Registry sheet reference (tomo, folio, hoja) |
sourceUrl | URL of the source page |
Use Cases
- B2B lead generation - find companies by industry (CNAE) and province for targeted outreach
- Due diligence - verify company registration, status, officers, and legal form before deals
- Market research - analyze company density by region, industry, and legal structure
- KYC/AML compliance - verify company identity and officer information
- Investment research - screen companies by activity, status, and registry data
Data Source & Compliance
All data comes from OpenData Registradores (opendata.registradores.org) - the official open data portal of Spain's Colegio de Registradores. The data originates from the Registro Mercantil where all Spanish companies must register.
- Public: freely accessible, no login required
- Official: maintained by Spain's official registry body
- Comprehensive: covers all registered Spanish companies (S.A., S.L., cooperatives, etc.)
- Updated: reflects the current state of the Registro Mercantil
- Rate limits respected (2-3 second delays between requests)
- Company registration data is public information under Spanish commercial law (Reglamento del Registro Mercantil)
- Users are responsible for compliance with GDPR and LOPD-GDD when processing extracted data
European Business Data Suite
This Actor is part of a growing collection of European business data actors. No subscriptions, no minimum commitment - pay only for what you use.
| Country | Registry | Actor | What it does |
|---|---|---|---|
| Spain | Registro Mercantil | This Actor | NIF, officers, CNAE, legal form, address, status |
| Poland | eKRS | Financial Statements | Balance sheets, income statements |
| Poland | KRS | Board Members | Full non-anonymized director names |
| Poland | KRZ | Debtor Registry | Bankruptcy, restructuring, enforcement |
| Poland | KNF | Financial Supervision | 75,000+ regulated financial entities |
| Poland | MSiG | Court Gazette | Court announcements since 2001 |
| Poland | EKW | Land Registry | Property ownership, mortgages |
| Poland | CRBR | Beneficial Owners | UBO verification by NIP/KRS |
| Poland | UOKiK | Abusive Clauses | 7,500+ banned contract clauses |
| Poland | BDO | Waste Registry | 674,000+ waste management entities |
Full suite: apify.com/minute_contest
Informacion en espanol
Que es este actor?
Este actor permite extraer datos de empresas del directorio oficial de OpenData Registradores (opendata.registradores.org/directorio) - el portal de datos abiertos del Colegio de Registradores de Espana. Los datos provienen del Registro Mercantil, donde todas las sociedades espanolas deben inscribirse. El directorio es publico y gratuito, pero no dispone de API publica - este actor automatiza la interfaz web para devolver datos estructurados en formato JSON.
Para quien?
- Equipos comerciales B2B que buscan empresas por sector (codigo CNAE) y provincia para generar listas de prospeccion
- Departamentos de compliance que necesitan verificar la inscripcion, estado y administradores de una sociedad
- Analistas de mercado que investigan la densidad empresarial por region, actividad y forma juridica
- Abogados y asesores que realizan due diligence sobre sociedades
- Inversores que filtran empresas por actividad, estado y datos registrales
Que datos se extraen?
Cada registro incluye: denominacion social, NIF/CIF, forma juridica (S.A., S.L., S.L.U., etc.), codigo CNAE, descripcion de actividad, codigo NACE, estado (Activa, Disuelta, Liquidada, etc.), domicilio social, provincia, Registro Mercantil competente, IRUS, EUID, pagina web, administradores y cargos, y referencia de la hoja registral.
Como empezar?
Ejecuta el actor en la plataforma Apify introduciendo el nombre de la empresa, uno o varios NIF/CIF, o un codigo CNAE. Para integrarlo en tu flujo de trabajo, utiliza la API de Apify para automatizar las consultas. Sin suscripcion - pagas solo por uso.
Limitations
- Residential proxy REQUIRED - the site uses a strict WAF (F5/Volterra) that blocks datacenter IPs. You MUST use Apify residential proxies (paid plan) or provide your own residential proxy URL.
- Rate limited - the actor adds 2-3 second delays between requests to avoid overloading the server
- SPA rendering - data extraction depends on the current DOM structure, which may change if the site is updated
- No historical data - the directory shows current registry state only
- Search precision - name searches may return partial matches; use NIF for exact lookup
- Officers completeness - officer data may be limited to current appointments visible on the detail page