# Spain Registro Público Concursal Search (`regdata/spain-concursal-scraper`) Actor

Search Spain's official public insolvency register (Registro Público Concursal) by debtor name or NIF. Returns each matching party with its role - debtor, disqualified, or insolvency administrator. No API key.

- **URL**: https://apify.com/regdata/spain-concursal-scraper.md
- **Developed by:** [getregdata](https://apify.com/regdata) (community)
- **Categories:** Lead generation, Automation, Agents
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $35.00 / 1,000 concursal search sessions

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

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Spain Registro Público Concursal Search (Insolvency)

Screen any Spanish company or person against Spain's **official public insolvency register - the Registro Público Concursal** (`publicidadconcursal.es`) - by debtor name or NIF, and get clean structured JSON. Each matching party comes back with its **role in a concursal publication**: debtor (deudor), disqualified (inhabilitado), or insolvency administrator (administrador concursal). Beyond what the register's manual search allows, in one call.

**No login, no API key, nothing to configure** - just send a name or NIF.

A concursal publication is a core negative signal in Spanish B2B: it means a company or person is (or was) in an insolvency proceeding. Screening a counterparty against the register is essential for credit risk, KYB/KYC, onboarding, and debtor monitoring.

### What data do you get?

One record per matching party:

```json
{
  "name": "ABENGOA BIOENERGÍA NUEVAS TECNOLOGÍAS. S.A.",
  "documentId": "A91185595",
  "documentType": "company (NIF/CIF)",
  "isDebtor": true,
  "isDisqualified": false,
  "isInsolvencyAdministrator": false,
  "matchedQuery": "Abengoa",
  "jurisdiction": "ES",
  "source": "Registro Público Concursal (publicidadconcursal.es)",
  "sourceUrl": "https://www.publicidadconcursal.es/consulta-publicidad-concursal-new",
  "retrievedAt": "2026-07-02T00:00:00.000Z"
}
```

The three role flags come straight from the register's own columns: `isDebtor` (Deudor), `isDisqualified` (Inhabilitado), `isInsolvencyAdministrator` (Administrador concursal).

### How much does it cost?

**Pay per search** - you are not charged for Apify platform usage, only per search performed. See the **Pricing** tab on this page for the current figure. The free Apify plan allows a small number of searches; upgrade to a paid plan for full, uncapped use. No subscription, no minimum.

### Is it legal, and where does the data come from?

Data comes from the official **Registro Público Concursal** at [publicidadconcursal.es](https://www.publicidadconcursal.es/consulta-publicidad-concursal-new), the Spanish public insolvency-publicity register. The register is public and open; this actor reads the public search and logs in to nothing. Every record is stamped with its source URL and retrieval timestamp. Use the data lawfully for KYB / credit-risk / due-diligence purposes.

### How do I use it?

Look up a debtor by name:

```json
{ "name": "Abengoa" }
```

Look up by identifier (`{ "searchMode": "byNif", "nif": ["A91185595"] }`), or monitor a watchlist (each name is one search):

```json
{ "watchlist": ["Abengoa", "Codere", "Duro Felguera"] }
```

### Input options

| Field | Type | Description |
|------|------|-------------|
| `searchMode` | string | `byName` (default) or `byNif`. |
| `name` | string | Debtor / party name (afectado). |
| `watchlist` | array | A list of names to check in one run. Overrides `name`. |
| `nif` | array | One or more identifiers (used in `byNif` mode). |
| `identifierType` | string | NIF / CIF / DNI / NIE. |
| `maxResults` | integer | Max party records to export across all queries. Default `100`. Set to `0` to export every match. |

### When it finds nothing, that means something

On an insolvency screen the most important output is often the **absence** of a hit - "this counterparty has no concursal publications" is a clean bill of health, and it is only worth anything if we actually looked.

So before this Actor reports a clean result, it runs a **control query against a debtor that is known to have publications**. Only if the control comes back positive is your empty result reported as clean. If the control also comes back empty - the register is down, or is not answering us - the search is marked **UNVERIFIED**, listed in the run's `UNVERIFIED` key-value record, and **not charged**. A run that could not verify anything **fails** (non-zero exit) rather than handing you a false all-clear.

The register also caps very broad searches. When it does, the run says the list is **incomplete** and asks you to narrow the name, instead of presenting a partial answer as the whole truth.

### Pairs with the company & UBO actors (the source -> screen flow)

This actor is the **debtor / insolvency check** half of a KYB workflow. Chain it with an **identity / UBO source**:

- **[Poland CRBR](https://apify.com/regdata/crbr-beneficial-owners-scraper)** / **[Slovakia RPVS](https://apify.com/regdata/slovakia-rpvs-ubo-scraper)** beneficial owners - source the owners and companies.
- **This actor** - screen those Spanish companies and people against the insolvency register.

The sibling debtor screens across the suite are [Poland KRZ](https://apify.com/regdata/krz-debtor-scraper), [Germany Insolvency](https://apify.com/regdata/germany-insolvency-scraper), and [Czech ISIR](https://apify.com/regdata/czech-isir-insolvency-scraper). Source the party, then check the party.

### What you can do with it

- **Credit risk & onboarding** - before extending terms, check whether a customer or supplier appears as a debtor in the insolvency register.
- **KYB / KYC** - screen a counterparty (or the owners/UBOs surfaced by the other actors) against the Spanish concursal register.
- **Debtor & portfolio monitoring** - run a `watchlist` on a schedule for new insolvency appearances.
- **Disqualification / administrator checks** - see whether a person is disqualified or acting as an insolvency administrator.

### Run it from code

```bash
## cURL - start a run and get the dataset back
curl -X POST "https://api.apify.com/v2/acts/regdata~spain-concursal-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Abengoa" }'
```

```javascript
// Node.js - apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('regdata/spain-concursal-scraper').call({ name: 'Abengoa' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
## Python - apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("regdata/spain-concursal-scraper").call(run_input={"name": "Abengoa"})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

### Integrations

Runs anywhere Apify does: call it from the **REST API**, **schedule** a watchlist monitor, pipe results into **n8n / Make / Zapier**, or use it from any **MCP client** (Claude, Cursor) via [mcp.apify.com](https://mcp.apify.com).

### FAQ

**Is it legal?** Yes. The Registro Público Concursal is a public, open register. This actor reads the public search only. Use the data lawfully for B2B / credit-risk / due-diligence purposes.

**Do I need an account or API key?** No. No login, no key, nothing to configure - just an Apify account.

**How do I monitor several counterparties?** Pass a `watchlist` array and schedule the run - each name is one search.

**What does an empty result mean?** That the name does not appear in the insolvency register - a clean answer for a credit check, not a failure.

**What do the role flags mean?** `isDebtor` = the party is a debtor in a proceeding; `isDisqualified` = disqualified (inhabilitado); `isInsolvencyAdministrator` = acting as an insolvency administrator.

**What export formats are supported?** JSON, CSV, Excel, or XML, or read live via the API.

### Related actors

Part of a suite of official government registry actors - **no public API to build or maintain**, pay per result, nothing to configure.

| Country | Actors |
|---|---|
| Poland | [BDO](https://apify.com/regdata/bdo-waste-registry-scraper) · [CRBR](https://apify.com/regdata/crbr-beneficial-owners-scraper) · [KRS (financials)](https://apify.com/regdata/poland-krs-financial-scraper) · [EKW](https://apify.com/regdata/ekw-ksiegi-wieczyste-scraper) · [KNF](https://apify.com/regdata/knf-registry-scraper) · [KRS (board)](https://apify.com/regdata/krs-fullnames-scraper) · [KRZ](https://apify.com/regdata/krz-debtor-scraper) · [MSiG](https://apify.com/regdata/msig-scraper) · [KYB check](https://apify.com/regdata/poland-kyb-check) · [PEP (Sejm)](https://apify.com/regdata/poland-parliamentary-pep-scraper) · [REGON (sites)](https://apify.com/regdata/polish-premises-prospector) · [REGON](https://apify.com/regdata/polish-regon-scraper) · [UOKiK](https://apify.com/regdata/uokik-clauses-scraper) |
| Germany | [Insolvenzbekanntmachungen](https://apify.com/regdata/germany-insolvency-scraper) · [Handelsregister](https://apify.com/regdata/germany-handelsregister-scraper) |
| Spain | [BORME](https://apify.com/regdata/borme-corporate-acts-scraper) · [Registro Mercantil](https://apify.com/regdata/spain-company-directory-scraper) · **Registro Público Concursal (this actor)** |
| Italy | [INI-PEC](https://apify.com/regdata/italy-pec-lookup) · [Registro Imprese](https://apify.com/regdata/italy-registro-imprese-scraper) |
| Austria | [Ediktsdatei](https://apify.com/regdata/austria-ediktsdatei-scraper) · [WKO](https://apify.com/regdata/wko-business-directory-scraper) |
| France | [Societe.com](https://apify.com/regdata/societe-com-scraper) |
| Belgium | [KBO / BCE](https://apify.com/regdata/belgium-kbo-company-scraper) |
| Czechia | [ISIR](https://apify.com/regdata/czech-isir-insolvency-scraper) |
| Slovakia | [RPVS](https://apify.com/regdata/slovakia-rpvs-ubo-scraper) |
| Cyprus | [DRCOR](https://apify.com/regdata/cyprus-drcor-company-scraper) |
| Ireland | [CRO](https://apify.com/regdata/ireland-cro-company-scraper) |
| Portugal | [Publicações MJ](https://apify.com/regdata/portugal-corporate-acts-scraper) |
| Nigeria | [CAC](https://apify.com/regdata/nigeria-cac-company-scraper) |
| Colombia | [RUES](https://apify.com/regdata/colombia-rues-company-scraper) |
| USA | [California SoS](https://apify.com/regdata/california-sos-business-scraper) · [California UCC](https://apify.com/regdata/california-ucc-lien-scraper) |
| UAE | [ADGM](https://apify.com/regdata/uae-adgm-public-register-scraper) |
| Global | [Adverse media](https://apify.com/regdata/adverse-media-screener) |

**Common combinations:** company register -> [UBO](https://apify.com/regdata/crbr-beneficial-owners-scraper) -> [insolvency/debtors](https://apify.com/regdata/krz-debtor-scraper) -> [adverse media](https://apify.com/regdata/adverse-media-screener) is the standard KYB/onboarding chain.

For Poland that whole chain is one call: [Poland KYB Risk Check](https://apify.com/regdata/poland-kyb-check) takes a NIP or KRS and returns identity, beneficial owners and insolvency - screened against the company **and every beneficial owner** - as a single verdict, billed once per completed check.

> Full suite: [apify.com/regdata](https://apify.com/regdata) · Callable from any MCP client via [mcp.apify.com](https://mcp.apify.com)

# Actor input Schema

## `searchMode` (type: `string`):

Search by debtor/affected-party name, or by identifier (NIF/CIF/DNI/NIE).

## `name` (type: `string`):

Company name or person name to look up in the insolvency-publicity register (afectado). Leave empty when using a watchlist.

## `watchlist` (type: `array`):

A list of names to check in one run - the monitoring use case. Overrides "name". Each name costs one search.

## `nif` (type: `array`):

One or more Spanish identifiers to look up. Used when search mode is "By identifier".

## `identifierType` (type: `string`):

Type of identifier when searching by NIF.

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

Maximum party records to export across all queries. The register serves results in pages, and the Actor pages through until it reaches this limit or runs out of matches. Set to 0 to export every match.

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

Optional. Runs without a proxy by default. Enable an Apify residential (ES) proxy if you hit blocks at volume.

## Actor input object example

```json
{
  "searchMode": "byName",
  "name": "Abengoa",
  "identifierType": "NIF",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `parties` (type: `string`):

Matching party records in the default dataset.

# 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 = {
    "name": "Abengoa"
};

// Run the Actor and wait for it to finish
const run = await client.actor("regdata/spain-concursal-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 = { "name": "Abengoa" }

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

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

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

```

## CLI example

```bash
echo '{
  "name": "Abengoa"
}' |
apify call regdata/spain-concursal-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=regdata/spain-concursal-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/UYsgCXNbpmMRrQ7Bo/builds/3KHdVbzNEx0Xjfqgm/openapi.json
