# BORME Spain: New Companies and Registro Mercantil Changes (`sefran1/borme-spain-new-companies`) Actor

Daily Spanish company register acts from BORME open data: new companies (constituciones) with address, capital and business purpose, plus moves, capital changes, dissolutions. $0.002 per company act.

- **URL**: https://apify.com/sefran1/borme-spain-new-companies.md
- **Developed by:** [Iberia Channel Desk](https://apify.com/sefran1) (community)
- **Categories:** Lead generation, Business, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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 Spain: New Companies & Company Changes

Every weekday the **BORME (Boletín Oficial del Registro Mercantil)** publishes all acts registered in Spain's commercial registries. This Actor turns it into clean JSON: **new companies (constituciones)** with **start date, business purpose (objeto social), registered address (domicilio) and share capital**, plus company moves, capital increases, dissolutions, extinctions, mergers and insolvency.

### Sample output (real run of the default input, 5 s)

| date | province | company | actTypes | capitalEur | corporatePurpose |
|---|---|---|---|---|---|
| 2026-10-16 | ARABA/ÁLAVA | PAWAR PLUS, SOCIEDAD LIMITADA | Constitución, Declaración de unipersonalidad, Nombramientos | 3000 | - Montaje de placas solares. Montaje de estructuras metálicas. Las ... |
| 2026-10-16 | ARABA/ÁLAVA | FULMINATA, SOCIEDAD LIMITADA | Constitución, Declaración de unipersonalidad, Nombramientos | 339057 | La prestación de servicios de gestión y administración de las empre... |
| 2026-10-16 | ARABA/ÁLAVA | MAGHU EGUZKILORE, S.L | Constitución, Nombramientos | 3000 | a- La comercialización, tanto al por menor como al por mayor, a tra... |
| 2026-10-16 | ARABA/ÁLAVA | MEKHIRU, SOCIEDAD LIMITADA | Constitución, Nombramientos | 3000 | Tenencia, adquisición, gestión, dirección y enajenación de acciones... |
| 2026-10-16 | ARABA/ÁLAVA | MLK SAGUM, SOCIEDAD LIMITADA | Constitución, Declaración de unipersonalidad, Nombramientos | 3000 | 1. La representación, agencia e intermediación comercial, promoción... |

<details><summary>One full JSON row</summary>

```json
{
  "date": "2026-10-16",
  "province": "ARABA/ÁLAVA",
  "entryNumber": "459721",
  "company": "PAWAR PLUS, SOCIEDAD LIMITADA",
  "actTypes": [
    "Constitución",
    "Declaración de unipersonalidad",
    "Nombramientos"
  ],
  "isNewCompany": true,
  "startOfOperations": "31.07.26",
  "corporatePurpose": "- Montaje de placas solares. Montaje de estructuras metálicas. Las actividades integrantes del objeto social podrán ser desarrolladas, total o parcialmente, de modo indirecto, mediante la titularidad de acciones o participaciones en sociedades con objeto idéntico o análogo. Si las disposiciones lega",
  "address": "C/ LOS HERRAN, número 5 1º Ctro. 01004 (VITORIA-GASTEIZ)",
  "capitalEur": 3000,
  "acts": [
    {
      "type": "Constitución",
      "details": "Comienzo de operaciones: 31.07.26. Objeto social: - Montaje de placas solares. Montaje de estructuras metálicas. Las actividades integrantes del objeto social podrán ser desarrolladas, total o parcialmente, de modo indirecto, mediante la titularidad de acciones o participaciones en sociedades con objeto idéntico o análogo. Si las disposiciones lega. Domicilio: C/ LOS HERRAN, número 5 1º Ctro. 01004 (VITORIA-GASTEIZ). Capital: 3.000,00 Euros"
    },
    {
      "type": "Declaración de unipersonalidad",
      "details": "Socio único: [redacted]"
    },
    {
      "type": "Nombramientos",
      "details": "Adm. Unico: [redacted]."
    }
  ],
  "registryData": "S 8 , H VI 23273, I/A 1 ( 8.10.26).",
  "sourceUrl": "https://www.boe.es/diario_borme/txt.php?id=BORME-A-2026-200-01",
  "pdfUrl": "https://www.boe.es/borme/dias/2026/10/16/pdfs/BORME-A-2026-200-01.pdf"
}
```

</details>

Use it for **lead generation on newly created Spanish companies**, KYB monitoring, market research by province, or to feed a CRM daily.

### Input example

```json
{
  "actTypes": [
    "Constitución"
  ],
  "provinces": [
    "MADRID"
  ],
  "daysBack": 1,
  "maxItems": 1000
}
```

### Output example

```json
{"date":"2026-10-13","province":"ALBACETE","entryNumber":"451551","company":"PLAZA GASTRO ALBACETE SOCIEDAD LIMITADA","actTypes":["Constitución","Declaración de unipersonalidad","Nombramientos"],"isNewCompany":true,"startOfOperations":"25.09.26","corporatePurpose":"La actividad propia de restaurantes y puestos de comidas","address":"C/ BLASCO IBAÑEZ, 26 ... (ALBACETE)","capitalEur":3000,"acts":[{"type":"Nombramientos","details":"Adm. Unico: [redacted]"}],"sourceUrl":"https://www.boe.es/diario_borme/txt.php?id=BORME-A-2026-197-02"}
```

**Privacy:** names of directors and partners are redacted by default. Company data is not personal data; enable `includeOfficerNames` only with a lawful basis.

### Use from an AI agent (API or MCP)

Add `https://mcp.apify.com?tools=sefran1/borme-spain-new-companies` to Claude, Cursor, VS Code or any MCP client and the Actor becomes the tool `sefran1--borme-spain-new-companies`. Or call the API:

```bash
curl -X POST "https://api.apify.com/v2/acts/sefran1~borme-spain-new-companies/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' -d '{"actTypes":["Constitución"],"provinces":["MADRID"],"daysBack":1}'
```

Schedule it daily in Apify (Schedules) and send new results to Google Sheets, Slack, Make, Zapier or a webhook.

### Pricing

Pay per result: **$0.002 per company act** ($2 per 1,000). No subscription. Runs that find nothing cost only the tiny start fee.

### Data source and legal note

Data: BOE open data API (boe.es/datosabiertos) and BORME section A, published by the Agencia Estatal Boletín Oficial del Estado; reuse permitted under its open-data conditions with attribution (source: BOE). This Actor only reads official public open data through the publisher's own API or feed, at a polite rate. It is not affiliated with or endorsed by the publisher. Check the original source before relying on any result.

# Actor input Schema

## `daysBack` (type: `integer`):

BORME is published on weekdays only, so keep at least 3-5 days to cover weekends and holidays.

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

e.g. MADRID, BARCELONA, VALENCIA. Empty = all of Spain.

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

e.g. Constitución (new companies), Extinción, Cambio de domicilio social, Ampliación de capital. Empty = all.

## `keywords` (type: `array`):

Match in company name or business purpose, e.g. restaurante, software.

## `includeOfficerNames` (type: `boolean`):

Off by default: person names are replaced with \[redacted]. Only enable if you have a lawful basis under GDPR.

## `includeToday` (type: `boolean`):

No description

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

No description

## Actor input object example

```json
{
  "daysBack": 5,
  "provinces": [],
  "actTypes": [
    "Constitución"
  ],
  "keywords": [],
  "includeOfficerNames": false,
  "includeToday": true,
  "maxItems": 50
}
```

# 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 = {
    "daysBack": 5,
    "provinces": [],
    "actTypes": [
        "Constitución"
    ],
    "keywords": [],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sefran1/borme-spain-new-companies").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 = {
    "daysBack": 5,
    "provinces": [],
    "actTypes": ["Constitución"],
    "keywords": [],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("sefran1/borme-spain-new-companies").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 '{
  "daysBack": 5,
  "provinces": [],
  "actTypes": [
    "Constitución"
  ],
  "keywords": [],
  "maxItems": 50
}' |
apify call sefran1/borme-spain-new-companies --silent --output-dataset

```

## MCP server setup

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

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/Wu5cRGW9HIwbO7A22/builds/8gDUMO3XP2xdTqeze/openapi.json
