# eInforma Scraper - Spanish Companies, CIF, CNAE & Address (`bovi/einforma-scraper`) Actor

Scrape eInforma Spanish company data by name, CIF or profile link: legal name, CIF, address, province, legal form, activity, CNAE, SIC, share capital, employees, founding date, rankings, websites, BORME acts. Province filter, up to 200 matches per name.

- **URL**: https://apify.com/bovi/einforma-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.40 / 1,000 einforma scraper - spanish companies, cif, cnae & addresses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## eInforma Scraper - Spanish Companies, CIF, CNAE & Address

**Scrape Spanish company data from eInforma without a login: legal name, trade names, CIF (tax ID), registered address, postal code, city, province, legal form, activity, CNAE code, corporate purpose and balance sheets on file. When a company has a full public profile you also get the complete CIF, employees, founding date, share capital, websites, SIC code, commercial registry, BORME acts, sales size, profit or loss, revenue change and national, provincial and sector rankings. Search by name, brand or CIF, filter by province, or paste profile links.**

For B2B lead generation in Spain, KYC and supplier checks, sales teams enriching CRM accounts with CIF and CNAE, and market researchers sizing a sector by province.

### What it does

- **Search the way the site does:** company name, brand, trade name or CIF. A name returns the matching companies, page after page, up to the 200 matches the site lists.
- **Province filter:** all 52 Spanish provinces, by name or 2-digit code.
- **Two levels of data:** every company comes with its register basics from the company card; companies with a public profile also get the full profile (turn it off to be faster).
- **Profile links:** paste einforma.com company pages directly.
- **Steady runs:** every request goes through the Apify proxy and is retried on a fresh connection when the site pushes back.
- **No login, no browser.**

### Quick start

```json
{
  "searchQuery": ["mahou"],
  "maxResults": 50
}
```

Companies called "construcciones" in Seville, basics only:

```json
{
  "searchQuery": ["construcciones"],
  "province": "Sevilla",
  "maxResults": 200,
  "includeFullProfile": false
}
```

Look up CIFs:

```json
{
  "searchQuery": ["A28078202", "B56236540"]
}
```

### Input

| Field | What it does |
|---|---|
| `searchQuery` | Company names, brands or CIFs, one per line. A CIF returns that company; a name returns the matching companies. |
| `startUrls` | einforma.com company pages (`/informacion-empresa/...`). |
| `province` | Only companies in one province, by name (Madrid, Barcelona, Valencia, Sevilla...) or code (28, 08, 46, 41). Applies to name searches. |
| `maxResults` | Maximum number of companies in the whole run. Default 50. |
| `includeFullProfile` | On by default: read the full public profile when the company has one. |
| `proxyConfiguration` | Apify Proxy, residential by default. |

### Example output

A row for "mahou" with the full profile (corporate purpose shortened, `scrapedAt` is the time of the run):

```json
{
  "type": "company",
  "companyName": "MAHOU, SA",
  "taxId": "A28078202",
  "tradeNames": ["LA PROHIBIDA", "CERVEZAS ALHAMBRA, S.A."],
  "address": "CALLE TITAN, 15",
  "postalCode": "28045",
  "city": "MADRID",
  "province": "Madrid",
  "legalForm": "Sociedad anónima",
  "activity": "Fabricación cerveza, Malta cervecera",
  "cnaeCode": "1105",
  "cnaeDescription": "Fabricación de cerveza",
  "corporatePurpose": "LA COMPRAVENTA, ADQUISICION Y EXPLOTACION DE INMUEBLES...",
  "websites": ["www.mahou-sanmiguel.com", "www.mahou.es", "www.mahou-sanmiguel.es"],
  "employees": 1459,
  "employeesYear": 2024,
  "foundingDate": "1957-12-30",
  "shareCapitalEur": 14028253,
  "listedOnStockExchange": false,
  "salesSize": "Empresa grande",
  "lastYearResult": "Positivo",
  "rankingNational": 137,
  "rankingProvince": 74,
  "rankingSector": 1,
  "commercialRegistry": "Registro Mercantil de Madrid",
  "bormeActsCount": 432,
  "lastBormeActDate": "2026-03-24",
  "lastBormeAct": "Nombramientos",
  "shareholdersCount": 7,
  "subsidiariesCount": 22,
  "lastBalanceYear": 2024,
  "balancesAvailable": "36 individuales y 32 consolidados",
  "lastDataDate": "2026-11-11",
  "fullProfile": true,
  "profileUrl": "https://www.einforma.com/informacion-empresa/mahou",
  "einformaUrl": "https://www.einforma.com/servlet/app/prod/ETIQUETA_EMPRESA/nif/Ks-LeoRRZWQjwABfEaYZMQ",
  "sourceUrl": "https://www.einforma.com/servlet/app/prod/LISTA_EMPRESAS/razonsocial/mahou",
  "scrapedAt": "2026-11-13T05:56:50Z"
}
```

A company without a full public profile has only the register basics, and the CIF is shown in part as the site shows it:

```json
{
  "type": "company",
  "companyName": "FUNDACION MAHOU SAN MIGUEL",
  "taxIdPartial": "G867...",
  "address": "CALLE TITAN, 15",
  "postalCode": "28045",
  "city": "MADRID",
  "province": "Madrid",
  "legalForm": "Asociación no definida",
  "cnaeCode": "8299",
  "fullProfile": false
}
```

### What data the eInforma scraper returns

| Field | What it is |
|---|---|
| `companyName`, `tradeNames` | Legal name and trade names |
| `taxId` / `taxIdPartial` | Complete CIF (full profile) or the part the site shows |
| `address`, `postalCode`, `city`, `province` | Registered address |
| `legalForm` | Sociedad anónima, sociedad limitada, fundación... |
| `activity`, `cnaeCode`, `cnaeDescription`, `sicCode`, `sicDescription`, `corporatePurpose` | What the company does |
| `websites` | Company websites |
| `employees`, `employeesYear` | Headcount and the year it refers to |
| `foundingDate`, `shareCapitalEur`, `listedOnStockExchange` | Incorporation date, share capital in euros, listed or not |
| `salesSize`, `lastYearResult`, `revenueChangePercent` | Size by sales, profit or loss in the last year, revenue change |
| `rankingNational`, `rankingProvince`, `rankingSector` | Position in the national, provincial and sector rankings |
| `commercialRegistry`, `bormeActsCount`, `lastBormeActDate`, `lastBormeAct` | Commercial registry and acts published in the BORME |
| `lastPressDate`, `lastPressArticle` | Latest press mention |
| `shareholdersCount`, `subsidiariesCount`, `boardMembersCount` | Counts (names are not collected) |
| `lastBalanceYear`, `balancesAvailable`, `lastFilingYear` | Balance sheets and filings on file |
| `internationalActivity`, `lastDataDate`, `lastLookupDate`, `totalLookups`, `lookupsLastQuarter` | Import/export, last update, how often the company is looked up |
| `fullProfile`, `profileUrl`, `einformaUrl` | Whether the full profile was read, and the pages |
| `matchedName`, `matchedNameType`, `matchedNameOwner`, `listProvince` | What matched your search (a brand or sign of another company is labelled) |
| `sourceUrl`, `scrapedAt` | The search or link that found the company, and when |

Fields a company does not have are left out of its row. Names of directors, auditors and shareholders and phone numbers are not collected. Partnerships owned directly by private individuals (comunidad de bienes, sociedad civil, herencia yacente) are left out.

### Price per result

You pay per result: the platform bills every company row delivered to the dataset, and the Actor never charges by itself. The launch price is about US$ 3.00 per 1,000 companies on the Free plan, less on higher plans. Companies that are skipped (not found, private partnerships) are not billed, and a run that returns nothing is not charged. The run stops by itself when your charge limit is reached.

### Free vs paid plan

eInforma Scraper runs on every Apify plan, but a **Free-plan run is a preview**:

| | Free Apify plan | Paid Apify plan |
|---|---|---|
| Result pages per search | **1** (the first page) | all pages, up to your result limit |
| Search terms / URLs per run | 1 | all you list |
| Access method | same as paid | same |

When a Free run is cut short, the run's status message tells you what was capped and how many items you got, and the `OUTPUT` record in the run's key-value store holds `free_plan_preview`, `items_returned`, `limits_applied` and the [upgrade link](https://console.apify.com/billing/subscription). If nothing was cut, none of this appears. No placeholder rows are ever added to the dataset. You are only charged for items that are actually returned; a run that returns nothing is not charged.

### Limitations

- A name search returns at most 200 matches; narrow it with a province or a more specific name.
- Paid reports (balance sheet figures, credit risk, director names) are not collected.
- Phone numbers are not collected (the site shows them only in part).

### FAQ

**Why do some companies have only part of the CIF?** eInforma shows the complete CIF, employees and share capital only on the full public profile. For the rest you get the register basics and the start of the CIF, as the site shows it.

**Can I search by CIF?** Yes. Put the CIF in `searchQuery` and you get that company.

**Does it need an eInforma account?** No.

**Is it legal to scrape eInforma?** The Actor reads public company pages without logging in and does not collect personal data. You are responsible for how you use the data.

This Actor collects only publicly available data. Independent tool, not affiliated with eInforma or Informa D\&B.

# Actor input Schema

## `searchQuery` (type: `array`):

Company names, brands or tax IDs (CIF), one per line, for example mahou, construcciones or A28078202. A name returns the matching Spanish companies (up to 200 per name), a CIF returns that company.

## `startUrls` (type: `array`):

Optional: company pages on einforma.com, one per line (einforma.com/informacion-empresa/...).

## `province` (type: `string`):

Optional: only companies registered in one Spanish province, by name (Madrid, Barcelona, Sevilla...) or 2-digit code (28, 08, 41). Applies to name searches.

## `maxResults` (type: `integer`):

Maximum number of companies to collect in the whole run. The site lists up to 200 matches per name.

## `includeFullProfile` (type: `boolean`):

On: when a company has a full public profile, it is read too (complete CIF, employees, share capital, founding date, websites, rankings, BORME acts).

## `proxyConfiguration` (type: `object`):

Proxy settings. A residential proxy is used by default for reliable access.

## Actor input object example

```json
{
  "searchQuery": [
    "mahou"
  ],
  "maxResults": 50,
  "includeFullProfile": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with the collected records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": [
        "mahou"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/einforma-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQuery": ["mahou"],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/einforma-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": [
    "mahou"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/einforma-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/einforma-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fW9qfzrAu5cmXfB7j/builds/FtIe0WYOkOZDiXm9f/openapi.json
