# Catalonia Public Tenders & Contract Awards Radar (Spain, PSCP) (`dottti/catalonia-tender-radar`) Actor

Public tenders and contract awards from all buyers in Catalonia, Spain (Generalitat, city councils, hospitals) from the official PSCP open data, as clean JSON: deadline, budget, CPV, lots, winner, award value and offers. Filter by keyword, buyer, CPV and value; alerts for new ones.

- **URL**: https://apify.com/dottti/catalonia-tender-radar.md
- **Developed by:** [Dottti](https://apify.com/dottti) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 one catalonia public tender notice saved to the datasets

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

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

## Catalonia Public Tenders & Contract Awards Radar (Spain, PSCP)

Get public procurement from every buyer in Catalonia as clean JSON, from the official open data of the Generalitat de
Catalunya: contract notices with the buyer, contract type, procedure, CPV codes, estimated value, budget, lots and
submission deadline, and contract awards with the winning company, its tax ID (CIF), the SME flag, the awarded amount
with and without VAT, the number of offers and the award date. Filter by keyword, buyer, contract type, procedure,
CPV, value and winner, and schedule it to get alerts for new tenders and awards.

The data covers all contracting bodies that publish on the Catalan Public Procurement Services Platform (PSCP): the
Generalitat and its agencies, the Catalan Health Institute (ICS) and hospitals, city and county councils, provincial
councils, universities and public companies. The dataset is refreshed every day. In a normal week about 1,000 new
tender rows and 900 award rows are published. No login, no browser, no scraping of web pages.

### Who it is for

- **Contractors and suppliers** bidding on public work in Catalonia: every new tender with its deadline, budget and
  CPV codes, filtered to your field.
- **Sales teams and bid consultants**: who won which contract, for how much and against how many offers.
- **Competitor research**: follow every award won by a company with the `winners` filter (name or CIF).
- **Analysts and journalists**: a flat table of Catalan public contracts by buyer, CPV, procedure and winner.

### What you get

A tender (one row per file, lots inside):

```json
{
  "recordType": "tender",
  "tenderId": "71c4ba70-6306-4034-9803-d3025ccf67d2",
  "fileNumber": "F260000658-660",
  "title": "F260000658-660.- EXECUCIÓ D’UN PROGRAMA DE PROMOCIÓ DE LA COHESIÓ I IDENTITAT DELS 4 BARRIS DEL DISTRICTE DE CIUTAT VELLA, ...",
  "contractType": "Contracte de serveis especials (annex IV)",
  "contractTypeEn": "services",
  "procedure": "Obert",
  "buyer": "Foment de Ciutat SA",
  "buyerDepartment": "Ajuntament de Barcelona",
  "buyerType": "Entitats de l'administració local",
  "cpv": "92000000-1",
  "cpvCodes": ["92000000-1", "98133000-4", "79340000-9", "72230000-6"],
  "nutsCode": "ES511",
  "place": "Barcelona",
  "duration": "1 any",
  "estimatedValue": 317309.21,
  "budgetWithoutVat": 153654.6,
  "budgetWithVat": 185922.07,
  "currency": "EUR",
  "publishedDate": "2026-11-13",
  "deadline": "2026-11-27T14:00",
  "daysLeft": 11,
  "isOpen": true,
  "lotsCount": 3,
  "lots": [
    { "lotNumber": "1", "title": "LOT 1: Desplegament del projecte artístic i comunitari al Raval i Santa Caterina, Sant Pere i La Ribera.", "estimatedValue": 139684.7, "budgetWithoutVat": 69842.35, "cpv": "92000000-1" },
    { "lotNumber": "2", "title": "LOT 2: Desplegament del projecte artístic i comunitari al Barri Gòtic i a La Barceloneta", "estimatedValue": 120684.7, "budgetWithoutVat": 60342.35, "cpv": "92000000-1" },
    { "lotNumber": "3", "title": "LOT 3: Comunicació del projecte global a tot el Districte Ciutat Vella.", "estimatedValue": 56939.8, "budgetWithoutVat": 23469.9, "cpv": "79340000-9" }
  ],
  "url": "(the notice page on the PSCP portal)",
  "region": "Catalonia",
  "country": "ES"
}
```

An award (one row per file, or per lot when the file has lots):

```json
{
  "recordType": "award",
  "awardId": "9f0d0572-8747-4c4e-83fe-09204a1167ab",
  "fileNumber": "CO/AP51/1101486259/26/CE",
  "title": "Obres per la millora de la climatització de les consultes 1a a la 8a i de la sala d’espera de la 4a planta del CAP Maragall",
  "contractType": "Obres",
  "contractTypeEn": "works",
  "buyer": "ICS - GAPiC Àmbit Barcelona",
  "buyerDepartment": "ICS - Gerència de compres",
  "cpv": "45300000-0",
  "winner": "instalaciones electricas egara, sl",
  "winnerId": "B62371257",
  "winnerWithheld": false,
  "winnerSme": true,
  "winnersCount": 1,
  "winners": [{ "name": "instalaciones electricas egara, sl", "id": "B62371257", "idType": "NIF", "sme": true, "withheld": false }],
  "valueWithoutVat": 51125,
  "valueWithVat": 61861.25,
  "estimatedValue": 78500,
  "offersReceived": 2,
  "result": "Adjudicació",
  "awardDate": "2026-11-13",
  "tenderPublishedDate": "2026-10-21",
  "publishedDate": "2026-11-14",
  "currency": "EUR",
  "region": "Catalonia",
  "country": "ES"
}
```

`url` is the notice page on the PSCP portal. Every row also carries `source`, the attribution the licence asks for. Names, titles and descriptions are kept as the
buyer wrote them (Catalan or Spanish). `deadline` and `publishedAt` are Catalonia local time. Framework agreements
can have several winners: all of them are in `winners`, and `winner` lists their names.

### Privacy

The dataset has no contact names, emails or phone numbers of officials. The register already masks the ID number of
people who win contracts as individuals. A winner is shown only when it is a legal entity: a Spanish CIF (company,
association, foundation, public body), or a foreign or unmarked ID with a company form or organisation word in the
name. Winners with a masked personal NIF, an NIE, a personal DNI/NIE number, or a civil partnership CIF without a
company form are withheld (`name` and `id` empty, `winnerWithheld` true, and the row's portal link left out). In the
awards published from 1 October to 16 November 2026, 304 of 5,411 winners (5.6%) were withheld. Emails and phone
numbers typed into descriptions are removed.

If nothing matches or the API can't be reached, you get a free `status` row that says so, and the run still ends
successfully, so schedules keep working.

### How to use it

- **Empty input**: the 20 newest tenders and awards of the last 7 days (newest first; a few seconds).
- **Open tenders in your field**: set `recordTypes` to `tenders`, turn on `openOnly`, add `keywords` (Catalan or
  Spanish word starts, such as `neteja`, `manteniment`, `software`) or `cpvCodes` (`45` for construction).
- **One buyer**: put it in `buyers` (Ajuntament de Barcelona, ICS, Diputació de Girona, Departament de Salut).
- **Big contracts**: set `recordTypes` to `awards` and `minValueEur`.
- **Competitors**: put company names or CIFs in `winners`.
- **Alerts**: turn on `onlyNew` and schedule the Actor daily. Only rows not delivered before with the same filters are
  returned (and charged).
- **History**: `publishedSince` goes up to 366 days back; each run reads up to 20,000 rows per type, newest first.

### Pricing

Pay per result: **$5.00 per 1,000 tenders and $12.00 per 1,000 contract awards** delivered. Status rows are free.
Platform usage is included in the price. Set a maximum cost per run in Apify Console and the Actor stops cleanly when
it is reached.

### Source and licence

Generalitat de Catalunya, Departament d'Economia i Finances: "Contractació pública a Catalunya: publicacions a la
Plataforma de serveis de contractació pública", published on the Generalitat open data portal under the Llicència
oberta d'ús d'informació - Catalunya, which allows reuse, including for products and services, when the source and
the date of the last update are cited. Each row names the source; `publishedAt` and `scrapedAt` give the dates. The
Actor reshapes the fields into English names but does not change their content. Minor contracts published only as
aggregated lists are not included.

# Actor input Schema

## `recordTypes` (type: `string`):

tenders: contract notices (one row per file, lots inside). awards: contract awards (one row per file or lot). both: tenders and awards.

## `publishedSince` (type: `string`):

Keep tenders and awards published on this day (YYYY-MM-DD) or later, up to 366 days back. Empty = the last 7 days.

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

Words searched at word start in the title, description and lot titles (Catalan or Spanish), for example obres, neteja, software, manteniment. Accents and case are ignored, so oper finds operació.

## `matchMode` (type: `string`):

any: at least one keyword. all: every keyword.

## `buyers` (type: `array`):

Keep rows whose buying body, department or unit contains one of these, for example Ajuntament de Barcelona, ICS, Departament de Salut, Diputació de Girona.

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

works, services, supplies, concession, special administrative, private (or the Catalan name, for example Obres). Empty = all.

## `procedures` (type: `array`):

Part of the procedure name, for example Obert (open), Obert simplificat, Negociat, Restringit. Empty = all.

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

CPV code prefixes, for example 45 (construction work), 72 (IT services), 3312 (medical devices). A row matches when any of its CPV codes starts with one of these.

## `winners` (type: `array`):

Keep awards whose winning company name contains one of these, or whose tax ID (CIF) equals one of these. Use it to follow competitors.

## `minValueEur` (type: `integer`):

Tenders: estimated value of the whole file. Awards: awarded amount excluding VAT (estimated value when no amount is given).

## `openOnly` (type: `boolean`):

Drop tenders whose submission deadline has passed (Catalonia local time).

## `smeOnly` (type: `boolean`):

Keep awards where at least one winner is marked as an SME (PIME) by the register.

## `includeCancelled` (type: `boolean`):

Also return cancelled tenders and awards marked as renounced or withdrawn.

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

Stop after this many matching rows (newest first).

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

Skip tenders and awards this Actor already delivered in earlier runs with the same filters. Use with a daily schedule.

## `requestDelayMs` (type: `integer`):

Pause between API pages. Minimum 200.

## `maxRetries` (type: `integer`):

Retries per request on network errors, 429 and 5xx responses.

## Actor input object example

```json
{
  "recordTypes": "both",
  "matchMode": "any",
  "openOnly": false,
  "smeOnly": false,
  "includeCancelled": false,
  "maxItems": 20,
  "onlyNew": false,
  "requestDelayMs": 300,
  "maxRetries": 4
}
```

# Actor output Schema

## `records` (type: `string`):

Buyer, deadline, budget, CPV, winner and award value.

# 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 = {
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/catalonia-tender-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 = { "maxItems": 20 }

# Run the Actor and wait for it to finish
run = client.actor("dottti/catalonia-tender-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 '{
  "maxItems": 20
}' |
apify call dottti/catalonia-tender-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dottti/catalonia-tender-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/DybVibOgGx0Nto2rM/builds/5FBrwWh53McwVYSTM/openapi.json
