# Spain Public Tenders Scraper & Alerts (Licitaciones PLACSP) (`hispadata/spain-public-tenders-monitor`) Actor

Daily alerts of new Spanish public tenders (licitaciones) from PLACSP and the regional platforms of Andalucía, Madrid, Cataluña, Euskadi, Galicia, Navarra and La Rioja. Filter by CPV, province, region, budget and keywords. Only new tenders since your last run.

- **URL**: https://apify.com/hispadata/spain-public-tenders-monitor.md
- **Developed by:** [HispaData](https://apify.com/hispadata) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 tenders

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 Public Tenders Monitor: licitaciones públicas de PLACSP y plataformas autonómicas

**Get every new Spanish public tender that fits your business, once a day, without reading a single government website.**
Reads the official open data of the **Plataforma de Contratación del Sector Público (PLACSP)** and the **regional platforms aggregated into it (Andalucía, Comunidad de Madrid, Cataluña, Euskadi, Galicia, Navarra and La Rioja)**, filters it by CPV code, province, region, budget and keywords, and returns only the tenders you have not received before.

[Leer en español](#en-español)

### Why this Actor

- **Full coverage.** Many tools only read the main PLACSP feed. Bodies in Andalucía, Madrid, Cataluña, Euskadi, Galicia, Navarra and La Rioja publish on their own regional platform instead, and those tenders appear only in the separate "aggregated platforms" feed. This Actor reads both by default, so you don't miss them.
- **Alerts, not dumps.** With *Only new tenders* on, the Actor remembers what it already sent you for the same filters. Schedule it daily and each run gives you just the new tenders. You never pay twice for the same tender.
- **Ready to use fields.** Deadline as a real date, days left to bid, budget with and without VAT, CPV codes, province and region, contracting authority with contact email, links to the tender documents (pliegos), and the winner and awarded amount once it's awarded.
- **No login, no proxies, official data.** It only reads the public open data feeds that the Spanish Ministry of Finance publishes for reuse.
- **Privacy aware.** When a contract is awarded to a natural person (self-employed), their name and ID number are left out.

### Who uses it

- Companies and freelancers that bid for public contracts (IT, cybersecurity, cleaning, construction, consulting, events, training...).
- Tender consultants and "gestorías" that send alerts to their clients.
- Sales teams that want to know which public bodies are buying what.
- Journalists and researchers that follow public spending.
- AI agents and automations (Make, Zapier, n8n, Slack, email) through the Apify API.

### How to use it

1. Write a few **keywords** (for example `ciberseguridad`, `software`) and/or **CPV prefixes** (for example `72` for IT services, `48` for software).
2. Optionally pick **provinces** or **regions**, a **budget** range, the **contract type** and the **status** (default: open for bids).
3. Click **Start**. The first run looks back 2 days (you can choose up to 14).
4. Click **Schedule** and run it every day (for example at 08:00). Connect the dataset to email, Slack, Google Sheets or a webhook to receive the alert.

#### Input example

```json
{
  "keywords": ["ciberseguridad", "seguridad informática", "software"],
  "cpvCodes": ["72", "48"],
  "regions": ["Andalucía"],
  "statuses": ["PUB"],
  "minBudget": 15000,
  "minDaysToDeadline": 5,
  "onlyNew": true
}
```

#### Output example

```json
{
  "id": "20311479",
  "source": "placsp",
  "sourcePlatform": "contrataciondelestado.es",
  "url": "https://contrataciondelestado.es/wps/poc?uri=deeplink:detalle_licitacion&idEvl=...",
  "title": "Suministro de equipos de sobremesa...",
  "fileNumber": "2026/1234",
  "status": "PUB",
  "statusLabel": "En plazo",
  "isOpenForBids": true,
  "submissionDeadline": "2026-11-20T14:00:00+01:00",
  "daysToDeadline": 9,
  "contractTypeLabel": "Suministros",
  "procedureLabel": "Abierto simplificado",
  "cpvMain": "30213300",
  "cpvCodes": ["30213300", "30214000"],
  "budgetWithoutVat": 51927.5,
  "budgetWithVat": 62832.28,
  "estimatedValue": 51927.5,
  "province": "Sevilla",
  "region": "Andalucía",
  "city": "Sevilla",
  "contractingAuthority": "Ayuntamiento de ...",
  "authorityEmail": "contratacion@...",
  "documents": [{"type": "pliego_tecnico", "name": "PPT.pdf", "url": "https://..."}],
  "awards": [],
  "publishedAt": "2026-11-06",
  "updatedAt": "2026-11-06T10:12:00+01:00"
}
```

Two table views are ready in the dataset: **Tenders** (what's open now) and **Awards** (who won and for how much).

### Pricing

Pay per event. You only pay for tenders delivered to you:

| Event | Price |
|---|---|
| Run start | $0.02 per run |
| Tender delivered | $0.003 per tender ($3 per 1,000) |

A daily alert that returns 10 new tenders a day costs about **$1.50 a month**. Set *Maximum tenders per run* to cap what a run can cost.

### FAQ

**How fresh is the data?** PLACSP updates its feeds several times a day. A daily run catches everything published since the previous run.

**Does it include minor contracts (contratos menores)?** Only if you add the *Minor contracts* source. It's off by default because the volume is very high.

**Why did I get 0 results?** With *Only new tenders* on, you only get tenders you haven't received before with the same filters. Try fewer filters, or a longer *Days to look back* on the first run.

**Can I track awards?** Yes. Add *Awarded* and *Resolved* to *Status*, and turn on *Also send status changes* to be told when a tender you follow is awarded.

**Is this legal?** The Actor reads open data that the Spanish Ministry of Finance publishes for reuse. Source: Plataforma de Contratación del Sector Público, Ministerio de Hacienda. If you republish the data, cite the source and the date.

***

### En español

**Recibe cada día las licitaciones públicas nuevas que encajan con tu empresa, sin entrar en ninguna web de la administración.**

Lee los datos abiertos oficiales de la **Plataforma de Contratación del Sector Público (PLACSP)** y de las **plataformas autonómicas agregadas (Andalucía, Comunidad de Madrid, Cataluña, Euskadi, Galicia, Navarra y La Rioja)**. Filtra por código CPV, provincia, comunidad autónoma, importe y palabras clave, y te devuelve solo las licitaciones que aún no has recibido.

#### Por qué este Actor

- **Cobertura completa:** los organismos de Andalucía, Madrid, Cataluña, Euskadi, Galicia, Navarra y La Rioja publican en su plataforma autonómica, y esas licitaciones solo aparecen en el canal de plataformas agregadas. Este Actor lee los dos canales.
- **Alertas, no volcados:** con *Solo novedades* activado recuerda lo que ya te envió con los mismos filtros. Prográmalo a diario y cada ejecución te da solo lo nuevo, sin pagar dos veces por la misma licitación.
- **Campos listos para usar:** fin de plazo como fecha real, días que quedan, importe con y sin IVA, CPV, provincia y comunidad, órgano de contratación con su correo, enlaces a los pliegos y, cuando se adjudica, la empresa ganadora y el importe.
- **Sin login ni proxies:** solo lee los canales de datos abiertos que publica el Ministerio de Hacienda para su reutilización.
- **Respeta la privacidad:** si un contrato se adjudica a una persona física (autónomo), no se incluyen su nombre ni su NIF.

#### Para quién

Empresas y autónomos que se presentan a concursos públicos, consultoras de licitaciones y gestorías, equipos comerciales, periodistas e investigadores, y automatizaciones o agentes de IA a través de la API de Apify.

#### Cómo se usa

1. Escribe **palabras clave** (por ejemplo `ciberseguridad`, `limpieza`) o **prefijos CPV** (`72` servicios TI, `48` software, `45` obras, `90` limpieza).
2. Si quieres, elige **provincias** o **comunidades**, un rango de **importe**, el **tipo de contrato** y el **estado** (por defecto, en plazo).
3. Pulsa **Start**. La primera ejecución mira 2 días atrás (hasta 14).
4. Pulsa **Schedule** para ejecutarlo cada día y conecta el resultado a tu correo, Slack, Google Sheets o un webhook.

#### Precio

Pago por uso: 0,02 $ por ejecución y 0,003 $ por licitación entregada (3 $ por cada 1.000). Una alerta diaria con unas 10 licitaciones nuevas al día sale por unos 1,50 $ al mes.

#### Fuente de los datos

Plataforma de Contratación del Sector Público, Ministerio de Hacienda (datos abiertos). Si publicas estos datos, cita la fuente y la fecha de actualización.

*Keywords: licitaciones públicas, concursos públicos, contratación pública, contratos del Estado, PLACSP, Plataforma de Contratación del Sector Público, perfil del contratante, pliegos, adjudicaciones, alertas de licitaciones, Spain public procurement, Spanish government tenders, public contracts Spain, CPV, tender alerts.*

# Actor input Schema

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

Returns tenders whose title contains ANY of these words. Accents and case are ignored. Example: ciberseguridad, software, limpieza.

## `excludeKeywords` (type: `array`):

Skip tenders whose title contains any of these words.

## `cpvCodes` (type: `array`):

CPV prefixes to match, e.g. 72 (IT services), 48 (software), 30 (office and computer equipment), 45 (construction), 90 (cleaning and waste). A prefix matches every code that starts with it.

## `contractTypes` (type: `array`):

Leave empty for all types.

## `statuses` (type: `array`):

Default: only tenders open for bids. Add Awarded to see who won contracts.

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

Place where the contract is carried out. Leave empty for all of Spain.

## `regions` (type: `array`):

Leave empty for all of Spain.

## `contractingAuthorityContains` (type: `string`):

Text that the buyer name (or its parent body) must contain, e.g. Ayuntamiento de Sevilla, Universidad, Servicio Andaluz de Salud.

## `minBudget` (type: `integer`):

Budget without VAT. Tenders without a budget are skipped when you set this.

## `maxBudget` (type: `integer`):

Maximum budget € (without VAT) / Importe máximo

## `minDaysToDeadline` (type: `integer`):

Skip tenders that close sooner than this. Example: 5 leaves out tenders closing in the next 4 days.

## `includeExpiredDeadlines` (type: `boolean`):

The official feed keeps some tenders as 'open' for a while after the deadline. By default they are left out. Turn this on to receive them too (they come with statusLabel 'Plazo terminado').

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

Remembers what you already received with these same filters and never sends (or charges) it twice. Keep it on for daily alerts.

## `includeStatusChanges` (type: `boolean`):

When on, a tender you already received is sent again if its status changes (for example from open to awarded).

## `lookbackDays` (type: `integer`):

How far back the first run reads. Later runs continue from where the previous one stopped.

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

Hard cap on results (and on what you pay) per run.

## `sources` (type: `array`):

PLACSP and the regional platforms never overlap, so keep both for full coverage.

## `includeDocuments` (type: `boolean`):

Include tender document links / Incluir pliegos

## `maxPagesPerSource` (type: `integer`):

Safety limit. Each feed page holds a few hours of updates.

## Actor input object example

```json
{
  "keywords": [
    "ciberseguridad",
    "software"
  ],
  "statuses": [
    "PUB"
  ],
  "includeExpiredDeadlines": false,
  "onlyNew": true,
  "includeStatusChanges": false,
  "lookbackDays": 2,
  "maxResults": 1000,
  "sources": [
    "placsp",
    "agregadas"
  ],
  "includeDocuments": true,
  "maxPagesPerSource": 60
}
```

# Actor output Schema

## `tenders` (type: `string`):

All new tenders delivered in this run.

# 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 = {
    "keywords": [
        "ciberseguridad",
        "software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hispadata/spain-public-tenders-monitor").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 = { "keywords": [
        "ciberseguridad",
        "software",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hispadata/spain-public-tenders-monitor").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 '{
  "keywords": [
    "ciberseguridad",
    "software"
  ]
}' |
apify call hispadata/spain-public-tenders-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hispadata/spain-public-tenders-monitor"
        }
    }
}
```

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/v6pfWatXH9eBo7DRi/builds/Dqx5FmzcSc7eUyTnr/openapi.json
