# Spain New Companies Daily (BORME) — B2B Leads by Sector (`iberdata/empresas-nuevas-borme`) Actor

Every company registered in Spain each business day, from the official BORME gazette: name, province, city, capital, business purpose and sector. No personal data.

- **URL**: https://apify.com/iberdata/empresas-nuevas-borme.md
- **Developed by:** [Arturo Alvarado Polo](https://apify.com/iberdata) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 empresa nuevas

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Spain New Companies Daily (BORME) — B2B Leads by Sector

**Every company registered in Spain each business day, structured and classified by sector.** Around **460 new companies per day**, ~115,000 per year, from the official Spanish Business Registry Gazette (BORME).

### Use cases

- **B2B lead generation**: reach newly formed Spanish companies before your competitors
- **Accountants, banks, insurers, SaaS and telecom providers** selling to new businesses
- **Market research**: company formation trends by province, sector and capital
- **CRM enrichment** with Spanish firmographic data

### Output (one row per company)

Company name, legal form, incorporation date, province, city, postal code, address, share capital (EUR), business purpose, sector (declared or inferred, with confidence), CNAE code when declared, type of management body, registry data and source.

### Filters

Date range · provinces · sector · minimum/maximum share capital · keywords in the business purpose · only officially declared sectors.

### No personal data

This Actor **never returns data about natural persons**: no names of directors, sole shareholders or proxies, and no ID numbers. Only the type of management body is returned.

### Pricing

Pay per result: **$0.01 per company** (cheaper on higher Apify plans) plus a small start fee. Filtering by province or sector keeps costs low.

***

## 🇪🇸 Versión en español: Empresas nuevas de España (BORME)

**Todas las sociedades constituidas en España cada día laborable, estructuradas y clasificadas por sector.** Alrededor de **460 empresas nuevas al día**, unas 115.000 al año.

Fuente oficial: el Boletín Oficial del Registro Mercantil (BORME), publicado por la Agencia Estatal Boletín Oficial del Estado. Reutilización comercial permitida.

***

### Para qué sirve

Cada sociedad que se constituye necesita gestoría, banco, seguro, software, oficina y proveedores. Este actor te dice **quiénes son, dónde están y a qué se dedican**, el mismo día en que se publican.

Lo usan:

- **Gestorías y asesorías** que quieren llegar antes que la competencia
- **Bancos, aseguradoras y mutuas** que captan cuenta y pólizas de empresa nueva
- **Proveedores de servicios B2B**: software de gestión, prevención de riesgos, telecomunicaciones, coworking
- **Proveedores de datos** que enriquecen su CRM con firmografía española

### Qué devuelve por empresa

| Campo | Ejemplo |
|---|---|
| `denominacion` | GRANJA AVICOLA ALTERNATIVA VARAS SOCIEDAD LIMITADA |
| `forma_juridica` | SL |
| `fecha_constitucion` | 2026-09-10 |
| `fecha_publicacion` | 2026-09-18 |
| `provincia` / `municipio` / `codigo_postal` | Albacete / Pozohondo / 02129 |
| `domicilio` | AVDA MANCHA, 8 |
| `capital_social_eur` | 3000.0 |
| `objeto_social` | Avicultura. Comercio al por mayor de productos lácteos… |
| `sector` | Agricultura, ganadería y pesca |
| `sector_origen` | `declarado` o `inferido` |
| `sector_confianza` | 0.0 – 1.0 |
| `sectores_secundarios` | \["Comercio"] |
| `cnae_declarado` | 0147 |
| `tipo_administracion` | \["Administrador único"] |
| `es_unipersonal` | true |
| `numero_registro` / `datos_registrales` | 418800 / S 8, H AB 32498, I/A 1 |

### Filtros disponibles

- **Fechas**: un día o un rango (hasta 120 días laborables por ejecución)
- **Provincias**: una, varias o toda España
- **Sectores**: 18 sectores de actividad
- **Capital social**: mínimo y máximo — útil para descartar las constituciones de 1 €
- **Palabras en el objeto social**: por ejemplo *fotovoltaica*, *veterinaria*, *franquicia*
- **Solo sector declarado oficialmente**: más fiabilidad a cambio de menos volumen

### Sobre la clasificación por sector: qué esperar

El BORME describe la actividad **en prosa**, no en campos. Este actor la estructura así:

- **Si la sociedad cita su código CNAE en el objeto social** (alrededor de un tercio de los casos), se usa ese dato y se marca `sector_origen: declarado`.
- **Si no lo cita**, se infiere del texto y se marca `sector_origen: inferido`, con su nivel de confianza y sus sectores secundarios.

**Nunca se presenta una inferencia como si fuera un dato oficial.** Medido contra las constituciones que sí declaran su CNAE, la clasificación acierta el sector exacto en el 69,7% de los casos y lo incluye entre los sectores detectados en el 79,1%.

Muchas sociedades declaran varias actividades a la vez, así que el campo `sectores_secundarios` no es un extra: es parte de la respuesta. Si filtras por *Construcción*, recibirás también empresas cuya actividad principal es inmobiliaria pero que construyen — normalmente es lo que quieres.

### Protección de datos

**Este actor no devuelve datos de personas físicas.** Nada de nombres de administradores, socios únicos o apoderados, ni documentos de identidad.

De los cargos solo se devuelve **el tipo de órgano** ("Administrador único", "Administradores solidarios", "Consejo de administración"). Los actos de tipo *Otros conceptos* y *Fe de erratas*, que en el BORME contienen texto libre con nombres y números de documento, se omiten por completo: se registra que el acto existe, no su contenido. Todos los campos de texto pasan además por un filtro que suprime identificadores y nombres.

### Notas de uso

- El BORME **no se publica en fin de semana ni festivos**. Los días sin boletín se saltan solos.
- El campo `codigo_postal` aparece en torno a un 26% de los casos **porque la fuente no siempre lo publica**. El municipio sí está en el 95%.
- Empieza con un día y pocos filtros para ver la forma de los datos antes de lanzar rangos largos.

### Fuente y licencia

Datos procedentes de la Agencia Estatal Boletín Oficial del Estado, reutilizados conforme a la Ley 37/2007, al RD 1495/2011 y a la Resolución de la AEBOE de 27 de junio de 2024, que autoriza expresamente la reutilización con fines comerciales.

Cada registro incorpora la cita obligatoria: *"Basado en datos de la Agencia Estatal Boletín Oficial del Estado"*.

Este actor no está patrocinado ni respaldado por la Administración española.

# Actor input Schema

## `fechaDesde` (type: `string`):

Primer día a consultar (AAAA-MM-DD). Si se deja vacío, se usa el último día laborable publicado.

## `fechaHasta` (type: `string`):

Último día a consultar (AAAA-MM-DD). Si se deja vacío, se usa la fecha desde.

## `provincias` (type: `array`):

Deja la lista vacía para recibir toda España.

## `sectores` (type: `array`):

Filtra por sector de actividad. Vacío = todos los sectores.

## `capitalMinimo` (type: `integer`):

Descarta las sociedades con capital inferior. Útil para filtrar las constituciones de 1 €.

## `capitalMaximo` (type: `integer`):

Opcional. Descarta las sociedades con capital superior.

## `palabrasObjetoSocial` (type: `array`):

Devuelve solo las empresas cuyo objeto social contenga alguna de estas palabras. Por ejemplo: fotovoltaica, veterinaria, franquicia.

## `soloSectorDeclarado` (type: `boolean`):

Si se activa, devuelve únicamente las empresas que citan su código CNAE en el objeto social (alrededor de un tercio). Más fiable, menos volumen.

## `maxResultados` (type: `integer`):

Límite de empresas devueltas. Protege de ejecuciones accidentalmente grandes.

## Actor input object example

```json
{
  "fechaDesde": "2026-09-15",
  "fechaHasta": "2026-09-18",
  "provincias": [
    "Madrid",
    "Barcelona"
  ],
  "sectores": [],
  "capitalMinimo": 3000,
  "palabrasObjetoSocial": [],
  "soloSectorDeclarado": false,
  "maxResultados": 5000
}
```

# Actor output Schema

## `empresas` (type: `string`):

No description

# 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 = {
    "provincias": [
        "Madrid",
        "Barcelona"
    ],
    "capitalMinimo": 3000
};

// Run the Actor and wait for it to finish
const run = await client.actor("iberdata/empresas-nuevas-borme").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 = {
    "provincias": [
        "Madrid",
        "Barcelona",
    ],
    "capitalMinimo": 3000,
}

# Run the Actor and wait for it to finish
run = client.actor("iberdata/empresas-nuevas-borme").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 '{
  "provincias": [
    "Madrid",
    "Barcelona"
  ],
  "capitalMinimo": 3000
}' |
apify call iberdata/empresas-nuevas-borme --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,iberdata/empresas-nuevas-borme"
        }
    }
}
```

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/dSPCaJ5nU6o1Ln6rS/builds/uflsWINsc9pfnYPMt/openapi.json
