# EU Spain Tenders & Grants Radar (`unbounded_seed/eu-spain-tenders-grants-radar`) Actor

Find public tenders from TED (EU) and Spanish public grants from BDNS in one normalized dataset: title, buyer, region, dates, deadline, estimated value, CPV codes and links. Filter by keywords, country, CPV and date. Official APIs. For bid teams, grant consultants and AI agents.

- **URL**: https://apify.com/unbounded_seed/eu-spain-tenders-grants-radar.md
- **Developed by:** [Unbounded Seed](https://apify.com/unbounded_seed) (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 tender or grant items

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

## EU Spain Tenders & Grants Radar

Find public tenders from TED and Spanish grants from BDNS as one normalized dataset for people, automations, and AI agents.

**Pricing: $3.00 / 1,000 items.** Pay only for dataset rows returned. No subscription.

### What does this Actor do?

It helps companies looking for contracts or grants in Spain and the EU, procurement and grant consultancies, and AI agents using Apify MCP. It queries the official TED Search API and Spain's BDNS API, then returns the same fields for both sources.

### Features

- TED tenders filtered by ISO-3 buyer country, CPV prefix, publication date, and full-text keywords.
- BDNS grants filtered by registration date and title keywords.
- Accent/case-insensitive local title filtering, deduplication, pagination, and a global result limit.
- Spanish or English preference for TED multilingual fields and PDF links.
- A failure in one source is logged and does not stop the other source.

### Input example

```json
{
  "sources": ["ted", "bdns"],
  "keywords": ["software"],
  "countries": ["ESP"],
  "cpvPrefixes": ["72"],
  "publishedSince": "2026-11-01",
  "maxItems": 20,
  "language": "es"
}
```

If `publishedSince` is omitted, the Actor uses the previous seven days. Empty keywords mean all titles.

### Output example

```json
{
  "source": "ted",
  "id": "288107-2026",
  "type": "tender",
  "title": "Servicio de desarrollo e implementación del gemelo digital de la isla de Ibiza y un sistema de IA agéntica para FECOEV M.P., S.A.U.",
  "buyer": "Vicepresidencia del Consejo de Administración de Fires, Congressos i Esdeveniments D'Eivissa, S.A.U.",
  "region": "ESP",
  "publishedDate": "2026-04-27",
  "deadline": null,
  "estimatedValue": 478512.39,
  "currency": "EUR",
  "cpv": ["72200000"],
  "url": "https://ted.europa.eu/es/notice/-/detail/288107-2026",
  "pdfUrl": "https://ted.europa.eu/es/notice/288107-2026/pdf",
  "isRecoveryFund": false,
  "attribution": "Source: TED, Publications Office of the EU",
  "fetchedAt": "2026-11-11T12:00:00.000Z"
}
```

Five real-source examples are included in `ejemplo_salida.json`. Dataset rows can be downloaded as JSON, CSV, Excel, XML, or HTML, or read through the Apify API/MCP.

### Pricing

| Event | Price |
|---|---|
| Tender or grant item (one dataset row) | $0.003 |
| Actor start | $0.00005 (Apify default) |

Set a maximum run cost in Apify; the Actor respects the dataset-event charge limit.

### Sources and attribution

- **TED Search API v3**, Publications Office of the European Union. TED rows include `Source: TED, Publications Office of the EU`.
- **BDNS / SNPSAP API**, IGAE, Spain's Ministry of Finance. BDNS rows include `Fuente: BDNS, IGAE, Ministerio de Hacienda`.

The Actor uses official public APIs without login or API keys. Always check the linked official notice before acting.

### Limits

- PLACSP is not included.
- Data are returned as published by each source; missing deadlines, values, currencies, or PDFs remain `null`.
- BDNS search results do not provide a reliable application deadline, so `deadline` is `null`.
- Keyword matching is on the normalized title and uses ANY keyword.

### Support

Found a bug or need another normalized field? Open an issue from the Actor page.

# Actor input Schema

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

Official sources to query: ted and/or bdns.

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

Keep titles containing ANY keyword (case/accent insensitive). Empty = all.

## `countries` (type: `array`):

ISO-3 country codes used only for TED.

## `cpvPrefixes` (type: `array`):

Optional CPV code prefixes used only for TED.

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

YYYY-MM-DD. Empty = seven days ago.

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

Maximum total dataset rows.

## `language` (type: `string`):

Preferred TED title, buyer and document language.

## Actor input object example

```json
{
  "sources": [
    "ted",
    "bdns"
  ],
  "keywords": [],
  "countries": [
    "ESP"
  ],
  "cpvPrefixes": [],
  "maxItems": 200,
  "language": "es"
}
```

# 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("unbounded_seed/eu-spain-tenders-grants-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("unbounded_seed/eu-spain-tenders-grants-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 '{}' |
apify call unbounded_seed/eu-spain-tenders-grants-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,unbounded_seed/eu-spain-tenders-grants-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/hMUyIm9kCt4Lfjuo2/builds/HUHxwhM1OnHTGPuxi/openapi.json
