# EU & US Public Tenders & Grants Scraper (TED + Grants.gov) (`grimbles/eu-us-tenders-grants-intel`) Actor

Search and normalize open government contracts, RFP tenders, and federal grants across TED Europa (EU), Grants.gov (US), and BOAMP (France). Extracts buyer emails, award ceilings, CPV codes, deadlines, days remaining, and urgency score (0–100) for B2B sales & AI agents.

- **URL**: https://apify.com/grimbles/eu-us-tenders-grants-intel.md
- **Developed by:** [Grimbles Data Labs](https://apify.com/grimbles) (community)
- **Categories:** Lead generation, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.35 / 1,000 tender or grant opportunity extracteds

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

## EU & US Public Tenders & Grants Scraper (TED, Grants.gov, BOAMP)

**Find active government contracts, public procurement RFPs, and federal grants across the European Union and the United States in one unified API.**

Instead of scraping separate portals with different date formats and broken HTML selectors, this Actor queries three official open government APIs in parallel (`api.ted.europa.eu` v3, `api.grants.gov`, and `boamp-datadila.opendatasoft.com`), normalizes deadlines and contract budgets into a single schema, filters out generic procurement-platform inbox relays to surface real buyer emails, and ranks opportunities by an **Urgency Score (`0–100`)**.

***

### Key Features

- **3 Official Government Portals in One Run**:
  - **Grants.gov (US)**: Federal grants with status filtering (`posted`, `forecasted`), award ceiling/floor, CFDA codes, and agency contact emails/phones.
  - **TED Europa (EU/EEA)**: European public procurement tenders with ISO-3 country filtering, CPV codes, estimated contract value, buyer emails, and multilingual field resolution (English-first).
  - **BOAMP (France)**: French public tenders with buyer details and contact email extraction.
- **Zero Anti-Bot & Zero Proxies Required**: Runs directly against official government APIs with per-host rate limiting and automatic `429` retry handling.
- **Actionable Urgency Score**: Automatically computes `daysRemaining` and `urgencyScore` based on open deadline proximity, disclosed buyer email, and estimated budget.
- **AI-Agent, MCP & Automation Ready**: Validated input, output, and dataset schemas work cleanly with n8n, Make, Clay, Zapier, and MCP workflows.

***

### Sample Output JSON

```json
{
  "source": "grants_gov",
  "noticeId": "361239",
  "title": "Building Sustainable Software Tools for Open Science",
  "buyerName": "National Institutes of Health",
  "buyerCountry": "USA",
  "buyerEmail": "grants@nih.gov",
  "categoryOrCpv": "93.310",
  "noticeType": "forecast",
  "status": "forecasted",
  "publishedDate": "2026-02-05",
  "deadlineDate": "2026-12-15",
  "daysRemaining": 28,
  "estimatedValue": 250000.0,
  "currency": "USD",
  "noticeUrl": "https://www.grants.gov/search-results-detail/361239",
  "urgencyScore": 90
}
```

***

### Quick Input Examples

#### 1. Open US Software Grants + EU IT Tenders (Last 30 Days)

```json
{
  "sources": ["grants_gov", "ted_eu"],
  "keywords": ["software", "cybersecurity", "cloud"],
  "daysBack": 30,
  "onlyOpenDeadlines": true,
  "enrichGrantDetails": true,
  "maxResultsPerSource": 25
}
```

#### 2. EU Procurement in France & Germany Only

```json
{
  "sources": ["ted_eu", "boamp_fr"],
  "keywords": ["AI", "data platform"],
  "countries": ["FRA", "DEU"],
  "daysBack": 14,
  "maxResultsPerSource": 50
}
```

***

### Pricing & Data Sources

- **Pay-Per-Event (`opportunity-extracted`)**: Charged per normalized tender or grant delivered (runs cleanly in free testing mode as well).
- **Official Public APIs**: Data is sourced directly from `api.grants.gov`, `api.ted.europa.eu`, and `boamp-datadila.opendatasoft.com` with built-in per-host rate limiting and `HTTP 429` retry handling.

***

### AI Agent (MCP) & n8n Integration

Connect this Actor directly to **Claude Desktop**, **Cursor**, or any MCP-compatible AI agent using the Apify MCP Server:

```json
{
  "mcpServers": {
    "eu-us-tenders-grants-intel": {
      "url": "https://mcp.apify.com/?tools=grimbles/eu-us-tenders-grants-intel",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

For **n8n**, call `POST https://api.apify.com/v2/acts/grimbles~eu-us-tenders-grants-intel/run-sync-get-dataset-items?token=<YOUR_APIFY_API_TOKEN>` with your desired JSON filter payload on a weekday cron schedule.

# Actor input Schema

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

Select which official portals to query: grants_gov (US federal grants), ted_eu (EU public tenders), boamp_fr (French public tenders).

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

Search terms (e.g. software, cybersecurity, cloud, construction, AI).

## `daysBack` (type: `integer`):

Only return notices published in the last N days.

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

Optional ISO-3 country filter for TED Europa (e.g. FRA, DEU, ESP, ITA, NLD). Leave empty for all EU/EEA.

## `grantStatuses` (type: `array`):

Grant statuses to include from Grants.gov (posted, forecasted, closed).

## `onlyOpenDeadlines` (type: `boolean`):

Exclude notices whose submission deadline has already passed.

## `enrichGrantDetails` (type: `boolean`):

Call fetchOpportunity on Grants.gov hits to extract funding ceiling, floor, and agency contact email/phone.

## `maxResultsPerSource` (type: `integer`):

Maximum normalized notices collected per selected source.

## Actor input object example

```json
{
  "sources": [
    "grants_gov",
    "ted_eu"
  ],
  "keywords": [
    "software"
  ],
  "daysBack": 30,
  "countries": [],
  "grantStatuses": [
    "posted",
    "forecasted"
  ],
  "onlyOpenDeadlines": true,
  "enrichGrantDetails": true,
  "maxResultsPerSource": 25
}
```

# Actor output Schema

## `opportunities` (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 = {
    "sources": [
        "grants_gov",
        "ted_eu"
    ],
    "keywords": [
        "software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("grimbles/eu-us-tenders-grants-intel").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 = {
    "sources": [
        "grants_gov",
        "ted_eu",
    ],
    "keywords": ["software"],
}

# Run the Actor and wait for it to finish
run = client.actor("grimbles/eu-us-tenders-grants-intel").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 '{
  "sources": [
    "grants_gov",
    "ted_eu"
  ],
  "keywords": [
    "software"
  ]
}' |
apify call grimbles/eu-us-tenders-grants-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grimbles/eu-us-tenders-grants-intel"
        }
    }
}
```

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/IhfMnhJdMFnKOrWbT/builds/R0uTHdMlqPuShkGEB/openapi.json
