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
regdata
Maintained by CommunityActor stats
0
Bookmarked
15
Total users
9
Monthly active users
0.78 hours
Issues response
9 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 SA","nif": "A28015865","legalForm": "Sociedades anonimas","cnaeCode": "6190","cnaeDescription": "Otras actividades de telecomunicaciones","naceCode": "6190","naceDescription": "Other telecommunications activities","status": "Vigente","address": "GRAN VIA 28, MADRID, MADRID","province": null,"registroMercantil": "MADRID","irus": "1000239977797","euid": "ES28065.000012387","website": "telefonica.com","officers": [{ "name": "GAYO RODRIGUEZ EMILIO", "role": "Consejero Delegado" },{ "name": "PALLETE LOPEZ JOSE MARIA ALVAREZ", "role": "Presidente" }],"registrySheet": "6164","sourceUrl": "https://opendata.registradores.org/directorio/-/sociedad/1000239977797/telefonica-sa"}
Pricing
Pay per event - no subscriptions, no minimum commitment.
| Event | Price |
|---|---|
| Actor start | $0.025 |
| Company record | $0.005 |
| Volume | Cost |
|---|---|
| 10 results | ~$0.08 |
| 50 results | ~$0.28 |
| 100 results | ~$0.53 |
| 1,000 results | ~$5.03 |
Volume discounts available at Bronze/Silver/Gold tiers (up to 40% off).
Plus minimal Apify platform compute costs (~$0.005-0.03 per run depending on result count). CAPTCHA solving is handled automatically by the actor - no additional setup needed.
Default run config: 2 GB RAM. Each result requires a separate detail page visit (~8-10s), so the timeout scales automatically with
maxResults.
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
- Direct IRUS lookup - skip search entirely by providing IRUS numbers from company URLs
- CNAE code filtering - filter by economic activity classification
- Province filtering - narrow results by Spanish province
- Full company profiles - NIF, officers, CNAE/NACE codes, legal form, address, status, IRUS, EUID
- Direct API calls - bypasses Liferay SennaJS SPA by calling the DataTable endpoint directly
- Automatic CAPTCHA solving - rotation CAPTCHA solved automatically, no user setup needed
- Stealth browsing - Puppeteer with StealthPlugin to bypass F5/Volterra WAF
Related Actors
- BORME Corporate Acts Scraper - extract daily corporate acts from Spain's official BORME gazette
Part of the European Corporate Registry Data suite by regdata.
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 |
irusNumbers | string[] | No | - | List of IRUS numbers for direct detail page 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) |
At least one search parameter (searchQuery, nifNumbers, irusNumbers, or cnaeCode) is required.
More Input Examples
Batch NIF lookup:
{"nifNumbers": ["A28015865", "A28017895", "B86065925"],"maxResults": 50}
Direct IRUS lookup (fastest - skips search, goes straight to detail pages):
{"irusNumbers": ["1000239977797", "1000091328023"]}
Search by CNAE activity code:
{"searchQuery": "software","cnaeCode": "6201","province": "Madrid","maxResults": 50}
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 |
naceDescription | Description of the NACE activity (English) |
status | Company status - Vigente, 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/regdata
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
- CAPTCHA - the site requires solving a rotation CAPTCHA before any search. This is handled automatically by the actor.
- No proxy needed - the actor connects directly from Apify runner IPs, which are not in any proxy blocklist. No paid Apify subscription required.
- Memory - default 2 GB is sufficient for most runs. Increase to 4 GB only if you see OOM crashes on very large result sets.
- Rate limited - the actor adds 2-3 second delays between requests to avoid overloading the server
- No historical data - the directory shows current registry state only
- Search precision - name searches may return partial matches; use NIF or IRUS for exact lookup
- Officers completeness - officer data may be limited to current appointments visible on the detail page
- Province field - province is extracted from the search API response, not the detail page (may be null for IRUS lookups)
Directorio de empresas espanolas - Registro Mercantil OpenData
Extraccion automatizada de datos empresariales del directorio OpenData de Registradores de Espana. NIF, administradores, codigos CNAE, forma juridica, domicilio social y estado. No existe API publica para estos datos. Ideal para verificacion de empresas, prospeccion B2B e investigacion de mercado en Espana.