# BORME Nuevas Empresas (`fluyeporlaweb/spain-company-radar`) Actor

Empresas nuevas de España cada día: provincia, capital, CNAE y tipo de acto. Filtra por sector y capital mínimo para prospección B2B.

- **URL**: https://apify.com/fluyeporlaweb/spain-company-radar.md
- **Developed by:** [Pablo Navarro](https://apify.com/fluyeporlaweb) (community)
- **Categories:** Lead generation, Automation, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 companies

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

## Spain New Companies Radar — BORME daily leads

Every morning, Spain publishes the companies that were just created, changed directors or were dissolved.
It does so as **33 provincial XML files with prose inside** — no company search, no filters, no API.

This Actor turns that into a clean, filterable lead feed: **one row per company**, with province, share
capital, CNAE codes when published, act types and a link to the official filing.

### What you get

- **New companies** (constituciones) filtered by province, minimum capital, CNAE prefix and keywords.
- **Corporate changes**: director appointments/removals, dissolutions, capital increases, address changes.
- **Only-new mode**: state is kept between runs, so a daily schedule sends each company once.
- Fields: `company_name`, `province`, `date`, `act_types`, `cnae`, `capital_eur`, `registral`, `source_url`.

### Sample output

```json
{
  "company_name": "NEXLAB STUDIO SL.",
  "province": "MADRID",
  "date": "20261113",
  "act_types": ["constitucion", "nombramiento"],
  "cnae": ["7311", "8299"],
  "capital_eur": 3000,
  "registral": "S 8 , H M 892804, I/A 1 ( 5.11.26)",
  "source_url": "https://www.boe.es/diario_borme/xml.php?id=BORME-A-2026-218-28",
  "first_seen": "2026-11-13T10:14:16+00:00"
}
```

### Input

| Field | Default | Notes |
|---|---|---|
| `provinces` | all | `["MADRID"]`, `["VALENCIA/VALÈNCIA"]` — names as published in BORME |
| `actTypes` | `["constitucion"]` | add `nombramiento`, `cese`, `disolucion`, `ampliacion_capital`… |
| `minCapital` | 0 | drops companies below the figure when BORME publishes it |
| `cnae` | \[] | prefixes: `43` construction, `62` IT, `56` food service |
| `keywords` | \[] | accent-insensitive match on name/text: `clima`, `ventanas`, `dental` |
| `days` | 1 | 1–30 daily editions |
| `onlyNew` | true | emits each company once across runs |
| `maxItems` | 500 | hard cap; billing is per delivered row |

### Use cases

- **B2B prospecting**: companies created last week in your province, by sector and capital.
- **Accountants / gestorías**: onboard new companies before competitors call them.
- **Competitor tracking**: who is incorporating in your niche, who changed management.
- **Credit & compliance**: dissolutions and director changes as an early warning.
- **AI agents**: schedule it and pipe the dataset to your CRM, n8n or Slack.

### Pricing

Pay per delivered company: **~$4 per 1,000 companies**. Empty runs are not charged.
A normal day in one province is 50–150 companies.

### Limits

- Source is BORME (official, public, daily). No personal data beyond what BORME publishes;
  officer names are not extracted as fields — use `source_url` if you need the filing text.
- CNAE is only present when the act publishes it (object changes, many constitutions); it is not inferred.
- Capital is parsed from the act text; when absent the row is kept with `capital_eur: null`.
- Not affiliated with the Spanish government or BOE.

### Changelog

- 2026-11-13 — first version: BORME new companies + changes, province/capital/CNAE/keyword filters, only-new state.

### Use cases

- **Prospecting**: daily list of BORME new companies filtered by province and sector.
- **Monitoring**: schedule the Actor and diff the dataset to see only what changed.
- **Agents**: call it from n8n, Make, Claude or Cursor through the API or an MCP wrapper.

### FAQ

**Can I get only companies above a share capital?**

Yes: set `minCapital` (e.g. 10000). Companies where BORME does not publish capital are kept and marked `capital_eur: null`.

**Does it include directors' names?**

No. The Actor returns the company-level act and the official `source_url`. Names are not extracted or redistributed.

**Is there an API or MCP for this?**

Yes. Every Apify Actor is callable via REST API, and the dataset can be scheduled daily. An MCP server can wrap the same input for Claude, Cursor or n8n.

**How fresh is the data?**

BORME is published every working day around 08:00 CET. Schedule the Actor daily; Sundays and holidays produce no new filings.

**Can I get only companies I have never seen?**

Yes: `onlyNew` keeps state between runs and emits each company once.

# Actor input Schema

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

Province names as published in BORME (e.g. MADRID, BARCELONA, VALENCIA/VALÈNCIA). Empty = all Spain.

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

Which corporate acts to include.

## `minCapital` (type: `integer`):

Drop companies below this capital. Only applies when BORME publishes the figure (most constitutions do).

## `cnae` (type: `array`):

Filter by CNAE prefix (e.g. 43 for construction, 62 for IT). Only when BORME publishes the code (object changes).

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

Match against company name or act text (accent-insensitive). Useful for niches: 'clima', 'ventanas', 'dental'.

## `days` (type: `integer`):

How many daily BORME editions to scan.

## `onlyNew` (type: `boolean`):

Keeps state between runs and emits each company only once. Ideal for a daily scheduled alert.

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

Hard cap on delivered rows. Billing is per delivered row.

## Actor input object example

```json
{
  "provinces": [
    "MADRID"
  ],
  "actTypes": [
    "constitucion"
  ],
  "minCapital": 0,
  "days": 1,
  "onlyNew": true,
  "maxItems": 500
}
```

# Actor output Schema

## `company_name` (type: `string`):

No description

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

No description

## `date` (type: `string`):

No description

## `act_types` (type: `string`):

No description

## `cnae` (type: `string`):

No description

## `capital_eur` (type: `string`):

No description

## `registral` (type: `string`):

No description

## `source_url` (type: `string`):

No description

## `first_seen` (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 = {
    "provinces": [
        "MADRID"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fluyeporlaweb/spain-company-radar").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 = { "provinces": ["MADRID"] }

# Run the Actor and wait for it to finish
run = client.actor("fluyeporlaweb/spain-company-radar").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 '{
  "provinces": [
    "MADRID"
  ]
}' |
apify call fluyeporlaweb/spain-company-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fluyeporlaweb/spain-company-radar"
        }
    }
}
```

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/mKSMs3K74C3WA5au3/builds/uNPURl7CFLpt2byKk/openapi.json
