# BORME Scraper — Spain New Companies & Registry Acts (`icarodata/borme-feed`) Actor

Daily feed of new Spanish companies from the official BORME: incorporations with corporate purpose, address and capital, plus dissolutions, insolvencies and capital changes. Schedule weekdays with Only-new and pay only for new acts. $1.50/1K.

- **URL**: https://apify.com/icarodata/borme-feed.md
- **Developed by:** [Icaro Data](https://apify.com/icarodata) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 company act scrapeds

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

## BORME Scraper — Spain New Companies & Registry Acts Feed

**BORME Scraper** turns the official **Boletín Oficial del Registro Mercantil (BORME)** into a daily structured feed of Spanish company acts: **new companies (constituciones) with corporate purpose, address and share capital**, **dissolutions and extinctions**, **insolvencies (concursos)**, **capital increases and reductions** and, optionally, appointments. Filter by date, province, act type and keyword, schedule it every morning with **Only new since last run**, and get **fresh B2B leads of newly incorporated Spanish companies** in Google Sheets or your CRM.

- ✅ **Official BOE open-data API** (BORME Sección Primera, provincial XML) — no PDF guessing, no login
- ✅ Filters: **date range**, **province**, **act type**, **keyword** (e.g. "software", "restauración", "inmobiliaria")
- ✅ **Incremental mode**: you pay only for acts you have not seen before
- ✅ Privacy-first: **natural-person names are redacted**
- ✅ **$1.50 per 1,000 acts** — 1,000 new companies = $1.50

### Who uses BORME data?

| Use case | Who |
| --- | --- |
| **Lead generation: new companies every day** (by province and activity) | Gestorías, banks, insurers, SaaS, telcos, B2B agencies |
| **Credit risk & monitoring**: dissolutions, insolvencies, capital reductions | Credit managers, factoring, collections |
| **KYB / compliance** checks on counterparties | Compliance teams, law firms |
| **Market intelligence** on business creation per sector | Analysts, journalists, public bodies |
| **Enrichment** of CRM records with registry events | Sales-intelligence platforms |

### What data does it return?

Company name, CIF (when printed), act types and labels, province, registry data, BORME publication date, inscription date, BORME entry ID and number, full act text (corporate purpose / objeto social, CNAE, registered address, share capital…), PDF/HTML/XML links, section, source and licence attribution.

### How to get new Spanish companies in 4 steps

1. Click **Try for free**.
2. Set a **start/end date** (empty = latest BORME) and the **provinces** you care about (INE codes: 28 Madrid, 08 Barcelona, 46 Valencia…).
3. Choose **act types** (constitution, dissolution, bankruptcy, capital_change, appointment) and an optional **keyword**.
4. Click **Start** and export JSON/CSV/Excel or connect Google Sheets, HubSpot (via Make/Zapier) or a webhook.

#### Input example

```json
{
  "startDate": "2026-11-17",
  "endDate": "2026-11-17",
  "provinces": ["08", "28"],
  "actTypes": ["constitution"],
  "keyword": "software",
  "maxItems": 500,
  "onlyNewSinceLastRun": true
}
```

#### Output example

```json
{
  "companyName": "CUMMUTE ESP 2026 S.L.",
  "actTypes": ["constitution", "appointment"],
  "actTypeLabels": ["Constitución", "Nombramientos"],
  "province": "Barcelona",
  "date": "2026-11-17",
  "inscriptionDate": "2026-11-10",
  "bormeEntryId": "BORME-A-2026-220-08-515421",
  "text": "Constitución. Comienzo de operaciones: 10.11.26. Objeto social: 6210 / ACTIVIDADES DE PROGRAMACION INFORMATICA... Domicilio: AV MASNOU ... (HOSPITALET DE LLOBREGAT). Capital: 3.000,00 Euros. Nombramientos. ADM.UNICO: [name redacted].",
  "pdfUrl": "https://www.boe.es/borme/dias/2026/11/17/pdfs/BORME-A-2026-220-08.pdf",
  "licenseAttribution": "Basado en datos de la Agencia Estatal Boletín Oficial del Estado"
}
```

### Featured use: schedule daily or weekly with “only new”

The cheapest, most reliable way to use this Actor is a **weekday schedule** with **Only new since last run** enabled (BORME is published Monday to Friday). Each run returns — and bills — only acts you have not received before. Already-seen acts are free.

1. Open this Actor in Apify Console and click **Save as Task** with your filters.
2. Set **Only new since last run** to `true`.
3. Create a **Schedule** (for example every weekday at 08:30 Europe/Madrid, or every Monday for a weekly digest).
4. Send results to **Google Sheets**, **Slack**, **email**, your **CRM via Make/Zapier/n8n**, or a **webhook**.

Example input:

```json
{
  "provinces": ["28", "08"],
  "actTypes": ["constitution"],
  "maxItems": 500,
  "onlyNewSinceLastRun": true
}
```

State is kept in the named key-value store `borme-feed-state`, so it survives between runs.

### Optional pack: screen companies against EU/UN/UK sanctions

Set `screenSanctions` to `true` to send the unique **company names** (and CIF when present) to [EU Sanctions Screening](https://apify.com/icarodata/eu-sanctions-screening) in a **single Actor-to-Actor call**. The screening Actor bills its own events on your account (**$0.005 per name** plus a tiny start fee), on top of this Actor's **$0.0015 per act**. Duplicate company names in the same run are screened only once. The option is **off by default** and is backward compatible.

**Natural-person officer names are redacted in this feed and are never sent.** Only legal-person company names are screened. Each row gains a `sanctions` object (`status`, `bestScore`, `topMatch`, `listsChecked`). Screening aid only, not legal advice.

### How much does it cost?

| Event | Price |
| --- | --- |
| Actor start | $0.00005 |
| Company act saved | **$0.0015** ($1.50 per 1,000) |

**Examples:** 200 acts = **$0.30** · all new companies in Madrid for a month (~2,000) ≈ **$3**. If you also enable `screenSanctions` on those 2,000 unique names, add about **$10** billed by the sanctions Actor.

### Integrations and API

Apify API, Python/JavaScript clients, **Google Sheets, Slack, Make, Zapier, n8n, Airbyte, webhooks** and **MCP** for AI agents.

```bash
curl "https://api.apify.com/v2/acts/icarodata~borme-feed/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -X POST -H "Content-Type: application/json" \
  -d '{"provinces":["46"],"actTypes":["constitution"],"maxItems":100}'
```

### FAQ

**Does it include directors' names?** No. Natural-person names are redacted. Company names (legal persons) are kept.

**Does it include phone numbers or emails?** No — BORME does not publish them. Use the company name and address to research official business channels.

**Can I get history?** Yes, set a date range. Long ranges take longer; increase `maxItems`.

**Is the CIF always present?** Only when the official text prints it.

### Reuse licence and limitations

Reuse follows the AEBOE licence of 27 June 2024 ([legal notice](https://www.boe.es/informacion/aviso_legal/index.php), [BORME open-data FAQ](https://www.boe.es/datosabiertos/faq/borme.php)): commercial reuse is allowed; you must cite the Agency, link to [boe.es](https://www.boe.es), avoid presenting the data as official, and respect the GDPR. Name redaction aims to remove natural persons; always review residual text before further processing. Do not use this dataset to contact private individuals.

**Source:** [BOE open-data API](https://www.boe.es/datosabiertos/api/api.php). Attribution: *Basado en datos de la Agencia Estatal Boletín Oficial del Estado.*

***

### 🇪🇸 En español: BORME — nuevas empresas y actos mercantiles cada día

Convierte el **BORME** en un listado diario de **nuevas sociedades constituidas** (con objeto social, domicilio y capital), **disoluciones, concursos y cambios de capital**. Filtra por fecha, provincia, tipo de acto y palabra clave.

- Ideal para **captación de clientes B2B** (gestorías, bancos, seguros, software), **análisis de riesgo** y **cumplimiento normativo (KYB)**.
- Úsalo en modo **programado** (lunes a viernes, o un resumen semanal) con "solo nuevos" y recibe las empresas nuevas en **Google Sheets o tu CRM**. Activa `screenSanctions` si quieres cribado UE/ONU/UK de la razón social (se factura a parte; no se envían nombres de personas).
- **1,50 $ por cada 1.000 actos** (200 actos = 0,30 $). Nombres de personas físicas anonimizados.

### Related Actors by Icaro Data

- [EU Sanctions Screening](https://apify.com/icarodata/eu-sanctions-screening) — optional pack (`screenSanctions`): screen new companies against the EU, UN and UK lists
- [Spain Trademark Watch](https://apify.com/icarodata/spain-trademark-watch) — new Spanish trademark filings and conflict alerts
- [Licitaciones España (PLACSP)](https://apify.com/icarodata/placsp-licitaciones) — Spanish public tenders
- [BOE Subastas Scraper](https://apify.com/icarodata/boe-subastas) — Spanish property and vehicle auctions
- [Wallapop Scraper](https://apify.com/icarodata/wallapop-scraper) — second-hand listings and price alerts

# Actor input Schema

## `startDate` (type: `string`):

First publication date to include, YYYY-MM-DD. Leave empty (together with end date) to use the most recent published BORME edition.

## `endDate` (type: `string`):

Last publication date to include, YYYY-MM-DD. Leave empty to use the start date, or the most recent edition if both dates are empty.

## `provinces` (type: `array`):

Optional INE province codes. Leave empty to include every provincial block published in the selected editions.

## `actTypes` (type: `array`):

Company act types to keep. Appointments (nombramientos, ceses, revocations) are optional and off by default. Even if you enable them, natural-person names are stripped from the text.

## `keyword` (type: `string`):

Optional case-insensitive filter applied to the company name and the redacted act text (for example a CNAE activity or a street).

## `maxItems` (type: `integer`):

Maximum number of company acts to save in this run.

## `onlyNewSinceLastRun` (type: `boolean`):

If enabled, acts already seen for the same search are skipped. State is stored in the named key-value store 'borme-feed-state' so scheduled runs only return (and bill) new acts. Unchanged acts are not charged.

## `screenSanctions` (type: `boolean`):

Off by default (same output as before). When on, this Actor sends the unique new company names (and CIF when present) to icarodata/eu-sanctions-screening and merges the result into a 'sanctions' object. That Actor bills its own pay-per-event price on your account ($0.005 per name plus a tiny start fee), in addition to this Actor's act event. Natural-person officer names are redacted in this feed and are never sent. Screening aid only, not legal advice.

## Actor input object example

```json
{
  "provinces": [],
  "actTypes": [
    "constitution",
    "dissolution",
    "bankruptcy",
    "capital_change"
  ],
  "keyword": "",
  "maxItems": 100,
  "onlyNewSinceLastRun": false,
  "screenSanctions": false
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("icarodata/borme-feed").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("icarodata/borme-feed").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 '{}' |
apify call icarodata/borme-feed --silent --output-dataset

```

## MCP server setup

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

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/YhrchV82D9wNIsGQN/builds/uytLxC29uOis1gSfx/openapi.json
