# BOE Subastas Scraper — Spain Property & Vehicle Auctions (`icarodata/boe-subastas`) Actor

Official Spanish public auctions from subastas.boe.es: judicial, notarial, AEAT and Seguridad Social. Appraisal value, deposit, dates, province and city. Schedule daily with Only-new and pay only for new auctions. $2.50 per 1,000.

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

## Pricing

from $2.50 / 1,000 auction 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

## BOE Subastas Scraper — Spain Property & Vehicle Auctions

**BOE Subastas Scraper** extracts official Spanish public auctions from the [Portal de Subastas del BOE](https://subastas.boe.es) — judicial foreclosures (subastas judiciales), notarial, AEAT (Hacienda), Seguridad Social and other administrative auctions — and returns a clean dataset with **appraisal value, auction value, deposit, dates, status, province, city, postal code, asset type, authority, documents and the official URL**. Schedule it daily with **Only new since last run** and get an **alert for every new property auction** in your provinces.

- ✅ **Official source**: subastas.boe.es (Agencia Estatal BOE), no login, no API key
- ✅ Filters: **province**, **asset type** (property / vehicle / other), **status** (upcoming / open / closed), **auction type**, **appraisal range**
- ✅ **Incremental mode**: daily feed of new auctions, you pay only for new lots
- ✅ English field names, ready for Google Sheets, Excel, CRM or BI
- ✅ Privacy-first: debtor names and personal IDs are dropped
- ✅ **$2.50 per 1,000 auctions** — 200 auctions = $0.50

### Who uses BOE auction data?

| Use case | Who |
| --- | --- |
| **Daily alerts of new property auctions** (pisos, locales, naves, solares) | Real-estate investors, subasta consultancies |
| **Deal sourcing** under market value: compare appraisal vs. market price | Investment funds, flippers, family offices |
| **Vehicle and equipment auctions** | Car dealers, used machinery traders |
| **Market research** on foreclosures per province | Analysts, journalists, proptech |
| **Feeding a portal or newsletter** of auctions | Proptech startups, asesorías |

### What data does it return?

Auction ID, title, auction type (judicial, notarial, AEAT, Seguridad Social, other), authority/court, province, city, postal code, asset type and label, description, **cadastral reference** (when the official file publishes it), **appraisal value**, **auction value**, **minimum bid**, **deposit (consignación)**, start and end dates, status, documents (BOE announcement), lots, case number, BOE announcement ID, official URL and the licence attribution. With the optional pack, a `catastro` object is added (see below).

### How to get Spanish auctions in 4 steps

1. Click **Try for free**.
2. Choose **provinces** (INE codes, shown by name in the form: 28 Madrid, 08 Barcelona, 46 Valencia, 29 Málaga) and the **asset type** (`property` for real estate).
3. Choose the **status** (`open` = celebrándose, `upcoming` = próximamente) and optionally an appraisal range and auction types.
4. Click **Start** and export JSON/CSV/Excel, or connect Google Sheets, Slack or email.

#### Input example

```json
{
  "provinces": ["08", "28"],
  "assetType": "property",
  "status": "open",
  "auctionTypes": ["judicial", "aeat"],
  "minAppraisalValue": 50000,
  "maxAppraisalValue": 400000,
  "maxItems": 200,
  "onlyNewSinceLastRun": true
}
```

#### Output example

```json
{
  "auctionId": "SUB-JV-2026-267030",
  "title": "URBANA: CASA de bajos y un piso, con su patio...",
  "auctionType": "judicial",
  "auctionTypeLabel": "JUDICIAL VOLUNTARIA",
  "authority": "Sección Civil TI Granollers. Plz.n 1",
  "province": "Barcelona",
  "city": "Caldes de Montbui",
  "postalCode": "08140",
  "assetType": "property",
  "assetTypeLabel": "Inmueble (Vivienda)",
  "appraisalValue": 210815.64,
  "auctionValue": 210815.64,
  "deposit": 10540.78,
  "startDate": "2026-10-09T18:00:00+02:00",
  "endDate": "2026-11-18T15:09:42+01:00",
  "status": "open",
  "url": "https://subastas.boe.es/detalleSubasta.php?idSub=SUB-JV-2026-267030",
  "boeAnnouncementId": "BOE-B-2026-32341",
  "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 **recurring schedule** with **Only new since last run** enabled. Each run returns — and bills — only auctions you have not received before. Already-seen auctions 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 day at 08:00 Europe/Madrid, or every Monday for a weekly digest).
4. Add an integration (**Google Sheets**, **email**, **Slack**, **Telegram via Make/n8n**, or a **webhook**).

Example input:

```json
{
  "provinces": ["28", "08"],
  "assetType": "property",
  "status": "open",
  "maxItems": 200,
  "onlyNewSinceLastRun": true
}
```

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

### Optional pack: enrich with Spain Property Enricher

Set `enrichWithCatastro` to `true` to send every cadastral reference found in the auctions to [Spain Property Enricher](https://apify.com/icarodata/spain-property-enricher) in a **single Actor-to-Actor call**. The enricher bills its own events on your account (**$0.004 per property** plus a tiny start fee), on top of this Actor's **$0.0025 per auction**. Auctions without a cadastral reference are not sent. The option is **off by default** and is backward compatible.

The merged row adds `cadastralReference`, `catastro` (use, built and plot surface, year built, floor/door, lat/lon, map links) and `catastroAttribution` (*Fuente: Dirección General del Catastro*).

### How much does it cost?

| Event | Price |
| --- | --- |
| Actor start | $0.00005 |
| Auction saved to the dataset | **$0.0025** ($2.50 per 1,000) |

**Examples:** 200 auctions = **$0.50** · a daily alert for two provinces returning ~15 new auctions per day ≈ **$1.15/month**. If you also enable `enrichWithCatastro` and 10 of those 15 auctions have a cadastral reference, add about **$0.04/day** ($1.20/month) billed by the enricher.

### 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~boe-subastas/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -X POST -H "Content-Type: application/json" \
  -d '{"provinces":["46"],"assetType":"property","status":"upcoming","maxItems":50}'
```

### FAQ

**Is the data official?** It comes from the official public portal, but this Actor is not an official publication. Always check the auction file on subastas.boe.es before bidding.

**Can I get charges (cargas) and cadastral references?** Cadastral references are extracted when the official file publishes them (`cadastralReference`). Enable `enrichWithCatastro` to merge use, surfaces, year built and coordinates from [Spain Property Enricher](https://apify.com/icarodata/spain-property-enricher) (extra pay-per-event cost on that Actor). Charges (cargas) that are not in the public description are not included; always check the official file before bidding.

**Do you collect debtor data?** No. Debtor names and personal IDs are dropped. Do not use the dataset to contact private debtors.

**How often should I run it?** Once a day is enough for most investors; new auctions are published every business day.

### Reuse licence and limitations

Reuse follows the AEBOE licence of 27 June 2024 ([legal notice](https://www.boe.es/informacion/aviso_legal/index.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 when a source page contains personal data. The portal has no machine-readable API, so the Actor parses public HTML and may need a maintenance update if the layout changes. Some AEAT identifiers that appear in search results have no public file; those rows are skipped. Multi-lot auctions return the combined public description of the lots.

**Source:** [Portal de Subastas](https://subastas.boe.es) and [boe.es](https://www.boe.es). Attribution: *Basado en datos de la Agencia Estatal Boletín Oficial del Estado.*

***

### 🇪🇸 En español: Subastas del BOE — alertas de subastas inmobiliarias

Extrae las **subastas públicas del BOE** (judiciales, notariales, de Hacienda/AEAT y de la Seguridad Social) con **valor de tasación, valor de subasta, depósito, fechas, estado, provincia, municipio y enlace oficial**. Filtra por provincia, tipo de bien (inmuebles, vehículos, otros), estado (próximas, celebrándose, concluidas) y rango de tasación.

- Úsalo en modo **programado** (cada mañana o cada lunes) con "solo nuevas desde la última ejecución" y recibe en **Google Sheets, email o Slack** solo las subastas nuevas de tus provincias. Activa `enrichWithCatastro` si quieres m², año y coordenadas (se factura a parte en el Enriquecedor de inmuebles).
- **2,50 $ por cada 1.000 subastas** (200 subastas = 0,50 $).
- Pensado para **inversores inmobiliarios, consultoras de subastas, compraventa de vehículos y proptech**.
- Sin datos personales de deudores.

### Related Actors by Icaro Data

- [Spain Property Enricher](https://apify.com/icarodata/spain-property-enricher) — optional pack (`enrichWithCatastro`): surfaces, year built and coordinates for each auction with a cadastral reference
- [Spain Construction Leads](https://apify.com/icarodata/spain-construction-leads) — building licences and public works
- [BORME Scraper](https://apify.com/icarodata/borme-feed) — new Spanish companies, dissolutions and insolvencies
- [Licitaciones España (PLACSP)](https://apify.com/icarodata/placsp-licitaciones) — Spanish public tenders
- [Wallapop Scraper](https://apify.com/icarodata/wallapop-scraper) — second-hand listings and price alerts

# Actor input Schema

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

INE province codes to search. Leave empty to search all provinces. The official portal accepts one province per query; the Actor loops when several are selected.

## `assetType` (type: `string`):

Type of asset being auctioned.

## `status` (type: `string`):

Auction status on the official portal. Closed covers auctions concluded on the portal and those finalized by the managing authority.

## `auctionTypes` (type: `array`):

Origin of the auction on the official portal. Seguridad Social auctions are detected from the authority name when present.

## `minAppraisalValue` (type: `number`):

Keep auctions whose appraisal (tasación) is at least this amount in euros. If tasación is missing or zero, the official auction value (valor subasta) is used instead.

## `maxAppraisalValue` (type: `number`):

Keep auctions whose appraisal (tasación) is at most this amount in euros. If tasación is missing or zero, the official auction value (valor subasta) is used instead.

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

Maximum number of auctions to save in this run.

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

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

## `enrichWithCatastro` (type: `boolean`):

Off by default (same output as before). When on, this Actor calls icarodata/spain-property-enricher once for the cadastral references found in the auctions and merges use, surfaces, year built and coordinates. The enricher bills its own pay-per-event price on your account ($0.004 per property plus a tiny start fee), in addition to this Actor's auction event. Auctions without a cadastral reference are not sent. Up to 5 units per parcel. Attribution: Fuente: Dirección General del Catastro.

## Actor input object example

```json
{
  "provinces": [],
  "assetType": "property",
  "status": "open",
  "auctionTypes": [],
  "maxItems": 50,
  "onlyNewSinceLastRun": false,
  "enrichWithCatastro": 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/boe-subastas").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/boe-subastas").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/boe-subastas --silent --output-dataset

```

## MCP server setup

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

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/O3fH894HxqJpxaigD/builds/lAEeJ45QBDpPAOLZO/openapi.json
