eInforma Spain Company Scraper avatar

eInforma Spain Company Scraper

Pricing

Pay per event

Go to Apify Store
eInforma Spain Company Scraper

eInforma Spain Company Scraper

Extract public company profiles from eInforma.com — Spain's largest business directory. Get name, address, CNAE code, legal form, balance year, geo coordinates and more for any Spanish company by NIF/CIF or name search.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Share

Extract public company profile data from eInforma.com — Spain's largest business information directory covering over 3 million Spanish companies and self-employed individuals. Get company names, registered addresses, CNAE industry codes, legal forms, business activity descriptions, balance sheet years, shareholder counts, and geographic coordinates — all in one structured dataset.

What does it do?

eInforma Spain Company Scraper fetches publicly available company profiles from eInforma.com using two modes:

  • NIF/CIF mode — provide a list of Spanish company tax identifiers and get instant profile data for each
  • Search mode — provide company name keywords and let the actor find and scrape matching profiles

The actor handles latin-1 encoding, session cookies, and retry logic automatically. It works without authentication and extracts all publicly accessible fields from each company card.

Who is it for?

🏦 Credit analysts and risk teams who need to verify Spanish company identities, legal forms, and registered addresses before extending credit or signing contracts.

📊 Market researchers and business intelligence analysts who need structured data on Spanish companies for sector analysis, competitive landscape mapping, or prospect databases.

🔍 Due diligence professionals running background checks on Spanish companies — the actor extracts CNAE industry codes, legal forms, and balance sheet availability in seconds.

🤝 Sales and procurement teams building lead lists or supplier databases of Spanish companies filtered by province, industry, or legal form.

🧑‍💻 Developers and data engineers integrating Spanish company data into CRM systems, ERP platforms, or data pipelines that need structured JSON output.

Why use it?

eInforma is the reference data source used by Spanish banks, insurance companies, and government bodies. It aggregates data from the Mercantile Registry (Registro Mercantil), INE (Instituto Nacional de Estadística), and other official sources. The actor gives you programmatic access to this data without manual lookups.

  • ✅ No login required — works with publicly available data
  • ✅ Supports bulk NIF/CIF processing — hundreds of companies per run
  • ✅ Clean structured JSON output with parsed fields
  • ✅ Geographic coordinates included for mapping and GIS integration
  • ✅ Handles company names in Spanish with correct UTF-8 encoding

What data does it extract?

FieldDescriptionExample
nifSpanish company tax ID (NIF/CIF)A28015865
companyNameOfficial registered nameTELEFONICA, SA
tradeNameCommercial trade name(s)COMPAÑIA TELEFONICA NACIONAL DE ESPAÑA, S.A.
addressRegistered office street addressCALLE GRAN VIA, 28 - 5
postalCodeSpanish 5-digit postal code28013
cityCity of registrationMADRID
provinceSpanish provinceMadrid
phonePhone number (when publicly listed)912345678
legalFormLegal entity typeSociedad anónima
activityInforma activity descriptionSociedades de cartera (holdings)
cnae2009CodeCNAE 2009 industry code6420
cnae2009DescriptionCNAE 2009 descriptionActividades de las sociedades holding
cnae2025CodeUpdated CNAE 2025 code6421
cnae2025DescriptionUpdated CNAE 2025 descriptionActividades de sociedades holding
businessPurposeCorporate object from registrySe dedica a la instalacion y explotacion...
lastDataDateDate of most recent data update12 de Mayo de 2026
lastBalanceYearMost recent balance sheet year2025
shareholdersCountNumber of registered shareholders119
subsidiariesCountNumber of subsidiary companies48
latitudeGPS latitude of registered office40.4202
longitudeGPS longitude of registered office-3.70204
urlProfile page URL on eInformahttps://www.einforma.com/...

How much does it cost to scrape Spanish company data?

💰 This actor uses Pay Per Event (PPE) pricing — you only pay for what you actually extract.

PlanCost per company profile
FREE$0.0058
BRONZE$0.0050
SILVER$0.0039
GOLD$0.0030
PLATINUM$0.0020
DIAMOND$0.0014

Plus a small one-time run start fee of $0.005 per run.

Example costs:

  • 100 company profiles → ~$0.50 on BRONZE
  • 1,000 company profiles → ~$5.00 on BRONZE (or ~$2.00 on GOLD)
  • 10,000 company profiles → ~$50 on BRONZE

On the Apify free plan you get $5 of platform credit monthly — enough for ~1,000 company profiles per month at no charge.

How to scrape Spanish companies — step by step

  1. Sign in to Apify — create a free account at apify.com
  2. Open the actor — navigate to eInforma Spain Company Scraper
  3. Choose your input mode:
    • For known NIFs: paste company tax IDs in the Company NIFs/CIFs field (one per line)
    • For name search: type company name keywords in the Company name searches field
  4. Set limits — use Max results per query and Max total results to control costs
  5. Run the actor — click Start and wait for results (fast: ~1-2 seconds per company)
  6. Export data — download as JSON, CSV, or Excel from the dataset view

Input parameters

ParameterTypeDefaultDescription
nifsstring[][]List of Spanish NIF/CIF identifiers to scrape
searchQueriesstring[][]Company name search terms
maxResultsPerQueryinteger10Max profiles per search query
maxResultsinteger50Total profile limit across all inputs
maxRequestRetriesinteger3HTTP retry attempts on failed requests

Input example — NIF mode:

{
"nifs": ["A28015865", "A78374725", "B80182407"],
"maxResults": 100
}

Input example — search mode:

{
"searchQueries": ["Mercadona", "Inditex", "Zara"],
"maxResultsPerQuery": 5,
"maxResults": 50
}

Output example

{
"url": "https://www.einforma.com/servlet/app/portal/ENTP/prod/ETIQUETA_EMPRESA/nif/A28015865",
"nif": "A28015865",
"companyName": "TELEFONICA, SA",
"tradeName": "COMPAÑIA TELEFONICA NACIONAL DE ESPAÑA, S.A.",
"address": "CALLE GRAN VIA, 28 - 5",
"postalCode": "28013",
"city": "MADRID",
"province": "Madrid",
"phone": "",
"legalForm": "Sociedad anónima",
"activity": "Sociedades de cartera (holdings)",
"cnae2009Code": "6420",
"cnae2009Description": "Actividades de las sociedades holding",
"cnae2025Code": "6421",
"cnae2025Description": "Actividades de sociedades holding",
"businessPurpose": "Se dedica a la instalacion y explotacion de servicios telefonicos",
"lastDataDate": "12 de Mayo de 2026",
"lastBalanceYear": "2025",
"shareholdersCount": 119,
"subsidiariesCount": 48,
"latitude": 40.4202,
"longitude": -3.70204
}

Tips and best practices

💡 NIF mode is faster and more reliable — if you have a list of NIFs, use NIF mode. It fetches one page per company with no search overhead and no deduplication needed.

💡 Search mode returns the top 20 results per query — eInforma displays up to 20 companies per search page. Set maxResultsPerQuery to match how many you actually need.

💡 Combine both modes — you can provide both nifs and searchQueries in the same run. The actor processes NIFs first, then searches.

💡 Use maxResults to cap total spending — each result costs ~$0.005. Setting maxResults: 100 caps spending at ~$0.50 per run.

💡 Province filtering — the site's search filters by province via AJAX; use separate queries per province if you need region-specific data (e.g., "Mercadona Valencia").

💡 CNAE code lookups — the cnae2009Code and cnae2025Code fields follow Spain's official industry classification system. Use them to filter and group results by sector.

Integrations

🔗 Google Sheets — export results directly to a spreadsheet via Apify's Google Sheets integration. Map NIF, company name, address, and CNAE code columns for instant lookup tables.

🔗 Make (Integromat) — trigger the actor when a new company is added to your CRM (HubSpot, Pipedrive). Auto-enrich contact records with address, legal form, and CNAE sector data.

🔗 Zapier — run company lookups as part of onboarding workflows. When a new B2B customer signs up, automatically pull their eInforma profile and attach it to a Salesforce opportunity.

🔗 Airtable — build a Spanish company intelligence base. Schedule weekly runs on your NIF watchlist and update base records with the latest balance year and shareholder counts.

🔗 Webhooks — use Apify's dataset webhooks to push results to your internal API or data warehouse (BigQuery, Snowflake, PostgreSQL) in real time.

API usage

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('automation-lab/einforma-spain-company-scraper').call({
nifs: ['A28015865', 'A78374725'],
maxResults: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_API_TOKEN')
run = client.actor('automation-lab/einforma-spain-company-scraper').call(run_input={
'nifs': ['A28015865', 'A78374725'],
'maxResults': 100,
})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
print(item['companyName'], item['cnae2009Code'])

cURL

curl -X POST \
"https://api.apify.com/v2/acts/automation-lab~einforma-spain-company-scraper/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"nifs": ["A28015865"],
"maxResults": 10
}'

Using with Claude (MCP)

Add this actor to Claude Code or Claude Desktop for AI-powered Spanish company lookups:

Claude Code:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/einforma-spain-company-scraper"

Claude Desktop / Cursor / VS Code — add to your MCP settings:

{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com?tools=automation-lab/einforma-spain-company-scraper",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

Example prompts once connected:

  • "Look up the eInforma profile for NIF A28015865 and tell me the CNAE code and legal form."
  • "Search eInforma for companies named Inditex and give me their registered addresses."
  • "Get the last balance year and shareholder count for these 5 NIFs: ..."

Legality and data usage

eInforma.com publishes company profiles sourced from Spain's official Mercantile Registry (Registro Mercantil) and other public registries. This data is legally in the public domain under Spanish law. The actor only accesses publicly available pages that do not require authentication.

This actor is intended for legitimate business intelligence, due diligence, market research, and data enrichment use cases. Users are responsible for complying with applicable data protection laws (GDPR, LOPDGDD) when processing scraped data, particularly if they combine it with personal data.

FAQ

What is a NIF/CIF? NIF (Número de Identificación Fiscal) and CIF (Código de Identificación Fiscal) are Spain's company tax identifiers. They follow the pattern: one letter + 8 digits (e.g., A28015865 for Telefónica). You can find a company's NIF on its invoices, contracts, or on the eInforma search page.

Why are phone numbers sometimes empty? Phone numbers on eInforma require a registered user account to view in full. The actor correctly returns an empty string when the number is paywalled, rather than returning a truncated placeholder.

Why is the NIF truncated to "A280..." for some results? This happens in search mode when the actual NIF wasn't in your input. In NIF mode, the full NIF is always available from your input. In search mode, eInforma truncates the NIF display for non-logged-in users.

The actor returned 0 results for my NIF — why? Some NIF codes either don't exist in eInforma's database or belong to self-employed individuals (autónomos) rather than companies. Try searching by company name instead, or verify the NIF format is correct (must start with a letter followed by 8 digits, e.g. A28015865).

Can I scrape all 3 million Spanish companies? The actor can process any number of NIFs given as input. For large-scale extraction, supply NIFs from an official registry extract (CIRCE, INE, or Registro Mercantil) and run the actor in batches.

The address looks incorrect — why? eInforma shows the registered office address (domicilio social), which may differ from the actual operating address. For large corporations, the registered address is often a legal or financial headquarters.

The actor times out or returns fewer results than expected — what should I do? The actor includes automatic retry logic with exponential backoff for rate limiting. If you see timeouts, try reducing maxResults per run or increasing the maxRequestRetries setting. For bulk scraping of thousands of companies, consider splitting your NIF list into smaller batches of 100-200 NIFs per run.

How fresh is the data? eInforma updates company records from the Mercantile Registry and other official sources. The lastDataDate field in each result shows when that company's data was last updated on eInforma. Most active companies are refreshed within the last few weeks.

  • Google Maps Scraper — scrape business contact details, reviews, and location data from Google Maps for Spanish businesses
  • Yelp Scraper — extract business listings, ratings, and reviews from Yelp