# Public Tenders API: Spain, EU & UK (PLACSP, TED) + Alerts (`flets_sv/public-tenders-spain-eu-uk`) Actor

Public tenders from Spain (PLACSP), the EU (TED) and the UK (Find a Tender, Contracts Finder) in one JSON format, with CPV/keyword/value filters and a new-only alert mode for daily schedules. From 0.0015 USD per tender.

- **URL**: https://apify.com/flets_sv/public-tenders-spain-eu-uk.md
- **Developed by:** [FlEtsv](https://apify.com/flets_sv) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 tender 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

## Public Tenders API: Spain, EU & UK (PLACSP, TED) + Alerts

**Public tenders from Spain (PLACSP), the EU (TED) and the UK (Find a Tender, Contracts Finder) in one JSON format**, for bid managers, public-sector sales teams and consultants who want new tenders matching their CPV codes and keywords without building three integrations. One Actor for the three largest official public procurement sources,  with filters and an **alert mode that returns only the tenders that are new since your last run**. No proxies, no scraping of private sites: it reads official APIs and feeds only.

**Try it in under a minute:** press Start with `{}` (the 20 newest open Spanish tenders of the last 2 days, about 0.03 USD), or paste a daily IT alert:

```json
{"paises":["ES"],"palabrasClave":["software","ciberseguridad","cloud"],"cpv":["72","48"],"importeMin":50000,"tipoAviso":"licitaciones","diasAtras":2,"soloNuevas":true,"claveAlerta":"ti-espana","maxResultados":50}
```

**Price:** 0.0015 USD per tender saved (1.50 USD per 1,000). No charge for starting a run. Independent service built on public official data; not affiliated with or endorsed by any administration.

### Use cases

- Daily alert of new tenders for your sector and CPV codes (schedule it with `soloNuevas`).
- Lead generation: which public buyers are about to purchase what you sell, in Spain, the EU and the UK.
- Market intelligence: budgets, buyers and award notices by country and CPV code.
- Feeding tenders to a CRM, a spreadsheet or an AI agent through the Apify MCP server.

| Source | Covers | Official origin |
|---|---|---|
| PLACSP | Spain, all contracting authorities | Plataforma de Contratacion del Sector Publico (ATOM feed) |
| TED | EU and EEA countries above the EU thresholds | Tenders Electronic Daily official API v3 |
| UK | United Kingdom | Find a Tender and Contracts Finder (OCDS APIs) |

### What it does

- Finds open tenders (or award notices) published in the last N days across the three sources.
- Gives every record the same fields: `fuente`, `id`, `titulo`, `organo`, `cpv`, `importe`, `moneda`, `plazo`, `pais`, `urlOficial`, plus `fechaPublicacion`, `tipoAviso`, `region` and `descripcion`.
- Filters by country, CPV code, keywords, value, notice type and date.
- Alert mode (`soloNuevas`): remembers what it already returned, in a named key-value store in your own account, and returns only new tenders next time. Schedule it daily and plug the dataset into email, Slack, Make, n8n or Zapier.
- Spanish notices that appear in both PLACSP and TED are returned once (from PLACSP).
- Works with AI agents and the Apify MCP server: every input field has a plain-language description and an example, and the output has a stable, documented schema.

### Input

All fields are optional. `{}` returns the 20 newest open Spanish tenders from the last 2 days.

| Field | Type | What it does | Example |
|---|---|---|---|
| `paises` | list of text | ISO 2-letter codes of the buyer country. ES = PLACSP, GB = UK, others = TED. Empty = all | `["ES","FR"]` |
| `fuentes` | list of text | Limit to `placsp`, `ted` and/or `uk`. Empty = all | `["placsp"]` |
| `palabrasClave` | list of text | Match any keyword in title, buyer or description. Case and accents ignored | `["software","cloud"]` |
| `cpv` | list of text | CPV prefixes, 2 to 8 digits | `["72","48"]` |
| `importeMin`, `importeMax` | number | Value range in the notice currency (EUR or GBP). 0 = no limit. Notices without value are excluded when a limit is set | `50000` |
| `tipoAviso` | text | `licitaciones` (open), `adjudicaciones` (awards) or `todos` | `licitaciones` |
| `diasAtras` | integer | Published in the last N days (1 to 60) | `2` |
| `fechaDesde` | text | Start date `YYYY-MM-DD`, overrides `diasAtras` | `2026-11-01` |
| `soloAbiertas` | boolean | Skip tenders with a deadline in the past | `true` |
| `soloNuevas` | boolean | Alert mode: only tenders not returned before | `true` |
| `claveAlerta` | text | Name of the alert memory; use one per search | `ti-madrid` |
| `maxResultados` | integer | Result cap and spending cap | `50` |
| `paginasPlacsp` | integer | Max PLACSP pages to read (about 500 entries each) | `6` |

Ready-made inputs are in the `ejemplos` folder: a daily IT alert for Spain, construction in France and Germany, UK awards and healthcare across all sources.

### Output

Each dataset item (see the dataset schema for types):

```json
{
  "fuente": "PLACSP",
  "id": "https://contrataciondelestado.es/sindicacion/licitacionesPerfilContratante/12345678",
  "titulo": "Servicio de mantenimiento de software de gestion",
  "organo": "Ayuntamiento de Ejemplo",
  "cpv": ["72267000"],
  "importe": 250000,
  "moneda": "EUR",
  "plazo": "2026-12-10T14:00:00.000+01:00",
  "pais": "ES",
  "urlOficial": "https://contrataciondelestado.es/wps/poc?uri=deeplink:detalle_licitacion&idEvl=ejemplo",
  "fechaPublicacion": "2026-11-08",
  "tipoAviso": "licitacion",
  "region": "Madrid",
  "descripcion": null
}
```

The record keys are in Spanish and stable. `importe` is null when the notice does not declare a value. `descripcion` is null for PLACSP.

### Pricing

**Pay per event: 0.0015 USD per tender result (1.50 USD per 1,000 results).** You pay only for records saved to the dataset, never for starting a run, for results you cut with `maxResultados`, or for tenders already returned in alert mode.

Why this price: one flat rate per tender, with no start-up fee, for three sources, one format and the alert mode. There are no proxies to pay for: the compute for a typical run is a fraction of a cent.

| Use | Results | Cost |
|---|---|---|
| First test with `{}` | up to 20 | about 0.03 USD |
| Daily IT alert for Spain (new only) | 5 to 30 per day | 0.01 to 0.05 USD per day |
| Weekly sweep of construction in France and Germany | 300 | 0.45 USD |

See the [Apify pricing page](https://apify.com/pricing) for what each plan includes.

### Alerts by email, without building anything

If you do not want to schedule Actors, connect integrations and write your own email step, the same data is available as a ready-made email alert service: **https://licitaciones.steveflets.es**. You choose sector, region and budget, and you get new matching tenders in your inbox. Use this Actor for data and automation; use the service for alerts with zero setup.

### FAQ

**How do I get a daily alert?** Create a Task with `soloNuevas: true`, a `claveAlerta`, your filters and `diasAtras: 2`, then add a daily Schedule. Each run returns only what you have not seen.

**Why is a country returning nothing?** PLACSP only covers Spain and the UK portals only the UK. TED covers EU and EEA buyers above the EU thresholds, so small national tenders in other countries are not in TED.

**Are values comparable across sources?** `importe` is in the notice currency (`moneda`). Spanish values are without VAT. No currency conversion is done.

**Does it need a proxy or an API key?** No. All sources are official, public and free.

**Is the data reliable?** It comes straight from the official portals and is normalized, not rewritten. Always check `urlOficial` for the legal text of the tender.

**Which language are titles in?** The original language of the notice (Spanish, French, German, English...).

**Can an AI agent use it?** Yes. Call it through the Apify MCP server with natural-language filters mapped to `paises`, `palabrasClave`, `cpv` and `importeMin`. The output is stable and documented.

### Related Actors

Need only one source or its native fields? [Spain PLACSP](https://apify.com/flets_sv/licitaciones-placsp), [EU TED](https://apify.com/flets_sv/ted-eu-tenders), [UK](https://apify.com/flets_sv/uk-public-tenders), [France BOAMP](https://apify.com/flets_sv/boamp-france-tenders), [Germany](https://apify.com/flets_sv/doe-germany-tenders), [Netherlands TenderNed](https://apify.com/flets_sv/tenderned-netherlands-tenders), [Canada](https://apify.com/flets_sv/canadabuys-tenders), [Australia](https://apify.com/flets_sv/austender-australia-contracts) and [Spain grants (BDNS)](https://apify.com/flets_sv/subvenciones-bdns-espana).

### Que hace (en espanol)

Un solo Actor para las licitaciones publicas de Espana (PLACSP), de la Union Europea (TED) y del Reino Unido, con un formato unico, filtros por pais, CPV, palabras clave e importe, y un modo de alertas que solo devuelve las licitaciones **nuevas desde la ultima ejecucion**.

- **Entrada:** todos los campos son opcionales. `{}` devuelve las 20 licitaciones espanolas abiertas mas recientes de los ultimos 2 dias.
- **Alertas:** activa `soloNuevas`, pon un `claveAlerta` y programa el Actor cada dia. La memoria vive en tu cuenta de Apify.
- **Precio:** 0,0015 USD por licitacion devuelta (1,50 USD por cada 1.000). Sin proxies. Solo pagas lo que se guarda.
- **Alertas por correo ya hechas:** si prefieres no montar nada, el servicio https://licitaciones.steveflets.es envia a tu correo las licitaciones nuevas que encajan con tu sector, region y presupuesto.
- **Limites:** TED solo incluye contratos por encima de los umbrales europeos; los importes no se convierten de moneda; los avisos espanoles de TED se omiten porque PLACSP ya los cubre.

# Actor input Schema

## `paises` (type: `array`):

Country of the contracting authority, as ISO 3166-1 alpha-2 codes. ES = Spain (source PLACSP), GB = United Kingdom (Find a Tender + Contracts Finder), any other EU/EEA code such as FR, DE, IT, PT, PL = TED. Example: \["ES", "FR"]. Empty list means every country (slower and returns more results).

## `fuentes` (type: `array`):

Restrict to some sources: "placsp" (Spanish national platform), "ted" (EU official API) and/or "uk" (UK official APIs). Empty list means all three. Example: \["placsp", "ted"].

## `palabrasClave` (type: `array`):

A tender matches if its title, buyer or description contains ANY keyword. Case and accents are ignored. Use the language of the notice. Example: \["software", "ciberseguridad"]. Empty list means no keyword filter.

## `cpv` (type: `array`):

Common Procurement Vocabulary prefixes (2 to 8 digits). A tender matches if any of its CPV codes starts with any prefix. Example: \["72", "48"] for IT services and software, \["45"] for construction, \["90"] for cleaning and waste. Empty list means no CPV filter.

## `importeMin` (type: `number`):

Minimum estimated value in the currency of the notice (EUR for Spain and the EU, GBP for the UK). Notices without a declared value are excluded when this is above 0. 0 means no minimum. Example: 50000.

## `importeMax` (type: `number`):

Maximum estimated value in the currency of the notice. Notices without a declared value are excluded when this is above 0. 0 means no maximum. Example: 2000000.

## `tipoAviso` (type: `string`):

"licitaciones" = tenders open for bids, "adjudicaciones" = award notices (who won and for how much), "todos" = both.

## `diasAtras` (type: `integer`):

Only notices published or updated in this window (1 to 60). Ignored if fechaDesde is set. For a daily alert use 2, for a weekly alert use 8.

## `fechaDesde` (type: `string`):

Optional start date in YYYY-MM-DD format. Overrides diasAtras. Example: 2026-11-01. Leave empty to use diasAtras.

## `soloAbiertas` (type: `boolean`):

Skip tenders whose submission deadline has already passed. Does not affect award notices.

## `soloNuevas` (type: `boolean`):

Alert mode. Returns only tenders not returned by a previous run with the same claveAlerta (and, therefore, you are only charged for new ones). The memory lives in your account, in the named key-value store licitaciones-espana-ue-vistas. Schedule the Actor daily and use this switch.

## `claveAlerta` (type: `string`):

Name that isolates the memory of one alert from another when soloNuevas is on. Use a different name per search, for example "ti-madrid" and "obras-francia". Letters, digits, dot, dash and underscore.

## `maxResultados` (type: `integer`):

Maximum number of tenders returned (1 to 10000). It is also your spending cap: you pay one event per result.

## `paginasPlacsp` (type: `integer`):

How many pages (about 500 entries each, newest first) of the Spanish PLACSP feed to read at most. Raise it if you search more than 2 days back or use narrow filters. 1 to 60.

## Actor input object example

```json
{
  "paises": [
    "ES"
  ],
  "fuentes": [],
  "palabrasClave": [],
  "cpv": [],
  "importeMin": 0,
  "importeMax": 0,
  "tipoAviso": "licitaciones",
  "diasAtras": 2,
  "fechaDesde": "",
  "soloAbiertas": true,
  "soloNuevas": false,
  "claveAlerta": "default",
  "maxResultados": 20,
  "paginasPlacsp": 6
}
```

# Actor output Schema

## `licitaciones` (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 = {
    "paises": [
        "ES"
    ],
    "diasAtras": 2,
    "maxResultados": 20,
    "paginasPlacsp": 6
};

// Run the Actor and wait for it to finish
const run = await client.actor("flets_sv/public-tenders-spain-eu-uk").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 = {
    "paises": ["ES"],
    "diasAtras": 2,
    "maxResultados": 20,
    "paginasPlacsp": 6,
}

# Run the Actor and wait for it to finish
run = client.actor("flets_sv/public-tenders-spain-eu-uk").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 '{
  "paises": [
    "ES"
  ],
  "diasAtras": 2,
  "maxResultados": 20,
  "paginasPlacsp": 6
}' |
apify call flets_sv/public-tenders-spain-eu-uk --silent --output-dataset

```

## MCP server setup

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

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/uwTemAmpmrxSXoUev/builds/ATOIyQCM68AZx7tR3/openapi.json
