# Government Contracts Multi-Source Monitor (`automation-lab/government-contracts-multi-source-monitor`) Actor

Monitor SAM.gov, UK Contracts Finder, and EU TED contract opportunities in one normalized procurement dataset for B2G sales and proposal teams.

- **URL**: https://apify.com/automation-lab/government-contracts-multi-source-monitor.md
- **Developed by:** [Stas Persiianenko](https://apify.com/automation-lab) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Government Contracts Multi-Source Monitor

Track public-sector contract opportunities across SAM.gov, UK Contracts Finder, and EU TED in one normalized Apify dataset.

### What does Government Contracts Multi-Source Monitor do?

Government Contracts Multi-Source Monitor searches multiple public procurement sources and returns a single feed of contract and tender opportunities.

It currently supports:

- 🇺🇸 SAM.gov opportunity search
- 🇬🇧 UK Contracts Finder OCDS releases
- 🇪🇺 EU TED notices API

Each source has different fields and terminology. This actor normalizes the important procurement fields so you can compare opportunities without building three separate ingestion pipelines.

### Who is it for?

This actor is useful for:

- B2G sales teams watching new bids
- Government contractors tracking RFPs
- Proposal writers building a pursuit list
- Market intelligence teams monitoring agencies
- Consultants tracking procurement trends
- Data teams creating a tender warehouse
- SaaS vendors watching software and IT services tenders

### Why use this actor?

Use this actor when you need one repeatable procurement monitor instead of manually checking several government portals.

Benefits:

- One dataset across three jurisdictions
- Source provenance on every row
- Normalized notice IDs and buyer fields
- Publication and deadline dates
- CPV and NAICS category fields
- Optional raw source JSON for audit trails
- Built for scheduled daily or weekly monitoring

### Data sources

The MVP focuses on open and recent tender/opportunity feeds:

| Source | Coverage | Best for |
| --- | --- | --- |
| SAM.gov | US federal opportunities | US RFPs, solicitations, awards, set-asides |
| UK Contracts Finder | UK public procurement notices | UK tenders, awards, buyer contacts, documents |
| EU TED | European tender notices | EU procurement by country, CPV, buyer, value |

### What data can you extract?

Each dataset item can include:

| Field | Description |
| --- | --- |
| `source` | Source adapter ID |
| `sourceNoticeId` | Source notice identifier |
| `title` | Opportunity title |
| `description` | Description where returned by the source |
| `noticeType` | Solicitation, tender, award, planning, etc. |
| `buyerName` | Public buyer or department |
| `buyerCountry` | Country code or country label |
| `agency` | Agency / authority name |
| `publishedAt` | Publication date |
| `deadlineAt` | Response or tender deadline |
| `contractValue` | Estimated or tender value where available |
| `currency` | Value currency |
| `cpvCodes` | EU/UK CPV category codes |
| `naicsCodes` | US NAICS category codes |
| `setAside` | SAM.gov set-aside information when present |
| `location` | Place of performance or delivery location |
| `contactName` | Public contact name where available |
| `contactEmail` | Public contact email where available |
| `attachments` | Documents, PDFs, XML links, or notice documents |
| `sourceUrl` | Human-readable source page |
| `raw` | Optional original source record |

### How much does it cost to monitor government contracts?

This actor uses pay-per-event pricing.

- A $0.005 start event is charged once per run.
- A result event is charged per normalized opportunity saved.
- Formula-derived BRONZE item price: $0.000022249 per opportunity, with lower prices on higher Apify tiers.
- You control cost with `sources`, `maxItemsPerSource`, and date filters.

For example, a daily monitor with 20 items per source across three sources will save up to 60 contract opportunities.

### Quick start

1. Open the actor on Apify.
2. Enter one or more keywords such as `software`, `cybersecurity`, or `construction`.
3. Choose sources: SAM.gov, UK Contracts Finder, EU TED, or all three.
4. Set `postedFrom` for the time window you want to monitor.
5. Set `maxItemsPerSource` to keep the run bounded.
6. Run the actor.
7. Export the dataset as JSON, CSV, Excel, RSS, or via API.

### Example input

```json
{
  "keywords": ["software", "cybersecurity"],
  "sources": ["sam_gov", "uk_contracts_finder", "eu_ted"],
  "postedFrom": "2026-06-01",
  "countries": ["USA", "GBR", "DEU"],
  "cpvCodes": ["72000000"],
  "naicsCodes": ["541511"],
  "maxItemsPerSource": 20,
  "deduplicateByUrlOrNoticeId": true,
  "includeRaw": false
}
````

### Input options

#### `keywords`

Search terms for the opportunity. Use phrases that match your target market, product, service, or procurement category.

#### `sources`

Choose one or more supported source adapters.

#### `postedFrom` and `postedTo`

Limit runs to a publication date window. This is ideal for scheduled monitors because each run can focus on recent notices.

#### `deadlineFrom` and `deadlineTo`

Deadline filters are used where source APIs support them. Some sources return deadline fields but do not expose all deadline filters.

#### `countries`

Use `USA`, `GBR`, or TED-style country codes such as `DEU`, `FRA`, or `ESP`.

#### `states`

Use this for US state filtering on SAM.gov where applicable.

#### `agencies`

Keep notices from buyers or agencies containing these terms.

#### `cpvCodes`

Use CPV prefixes for UK and EU procurement categories.

#### `naicsCodes`

Use NAICS prefixes for SAM.gov categories.

#### `maxItemsPerSource`

Maximum records to save from each selected source.

#### `includeRaw`

Attach the original source JSON to each row for auditing or custom mapping.

### Output example

```json
{
  "source": "sam_gov",
  "sourceNoticeId": "3d8a60fc686e4b5d859a83df298b0f9a",
  "title": "Multiple Award Schedule",
  "noticeType": "Award Notice",
  "buyerName": "GENERAL SERVICES ADMINISTRATION",
  "buyerCountry": "USA",
  "agency": "FEDERAL ACQUISITION SERVICE",
  "publishedAt": "2026-06-22T01:03:05+00:00",
  "deadlineAt": "2026-06-21T16:12:13+00:00",
  "cpvCodes": [],
  "naicsCodes": ["513210"],
  "sourceUrl": "https://sam.gov/opp/3d8a60fc686e4b5d859a83df298b0f9a/view"
}
```

### Monitoring workflow

A common workflow is:

- Schedule the actor daily.
- Use `postedFrom` relative to your monitoring cadence.
- Export dataset items to Google Sheets, Airtable, BigQuery, Snowflake, or your CRM.
- Deduplicate by `source` + `sourceNoticeId`.
- Alert proposal teams when `title`, `description`, `agency`, or category fields match your ICP.

### Integrations

You can connect the dataset to:

- Apify webhooks for Slack or email alerts
- Google Sheets for pursuit pipeline review
- Airtable for bid qualification
- BigQuery or Snowflake for procurement intelligence
- Zapier or Make for CRM workflows
- Apify API for internal dashboards

### API usage with Node.js

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/government-contracts-multi-source-monitor').call({
  keywords: ['software'],
  sources: ['sam_gov', 'uk_contracts_finder', 'eu_ted'],
  maxItemsPerSource: 20,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### API usage with Python

```python
from apify_client import ApifyClient

client = ApifyClient('MY-APIFY-TOKEN')
run = client.actor('automation-lab/government-contracts-multi-source-monitor').call(run_input={
    'keywords': ['software'],
    'sources': ['sam_gov', 'uk_contracts_finder', 'eu_ted'],
    'maxItemsPerSource': 20,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)
```

### API usage with cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/automation-lab~government-contracts-multi-source-monitor/runs?token=MY-APIFY-TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"keywords":["software"],"sources":["sam_gov"],"maxItemsPerSource":20}'
```

### MCP usage

Use this actor from Claude Desktop, Claude Code, or any MCP-compatible client through the Apify MCP server.

MCP tool URL:

```text
https://mcp.apify.com/?tools=automation-lab/government-contracts-multi-source-monitor
```

Claude Code setup example:

```bash
claude mcp add apify-government-contracts --url "https://mcp.apify.com/?tools=automation-lab/government-contracts-multi-source-monitor"
```

Claude Desktop JSON config example:

```json
{
  "mcpServers": {
    "apify-government-contracts": {
      "url": "https://mcp.apify.com/?tools=automation-lab/government-contracts-multi-source-monitor"
    }
  }
}
```

Example prompt ideas for MCP:

- "Use the `automation-lab/government-contracts-multi-source-monitor` MCP tool to find new software contracts from SAM.gov and TED."
- "Run the government contracts monitor MCP tool for UK cybersecurity tenders and summarize buyer names and deadlines."
- "Use MCP to create a normalized CSV of EU and US contract opportunities published this week."

### Tips for better results

- Use specific service keywords instead of generic words.
- Combine keywords with CPV or NAICS filters when possible.
- Start with a small `maxItemsPerSource` while tuning filters.
- Use `includeRaw` only when you need original source records.
- Schedule runs for monitoring instead of running large historical backfills.

### Common CPV examples

- `72000000` — IT services
- `48000000` — Software packages
- `45000000` — Construction work
- `33000000` — Medical equipment
- `79000000` — Business services

### Common NAICS examples

- `541511` — Custom computer programming services
- `541512` — Computer systems design services
- `541519` — Other computer related services
- `541611` — Administrative management consulting
- `561210` — Facilities support services

### Limitations

- Source APIs can expose different fields.
- Some sources search hidden/full-text fields that are not returned in normalized output.
- TED localization depends on the fields returned by the TED API.
- USAspending awards are not included in MVP because they are not open bid opportunities.
- Rate limits on public sources can temporarily reduce one source while other sources still finish.

### FAQ

#### Can I run this actor on a schedule?

Yes. Schedule it daily or weekly and use a recent `postedFrom` date so each run captures new contract opportunities.

#### Does this replace the single-source actors?

Use this actor for a normalized cross-source feed. Use the single-source actors when you need source-specific fields or deeper coverage for one portal.

### Troubleshooting

#### Why are some fields empty?

Not every source publishes every field. For example, SAM.gov may not return CPV codes, while EU TED may not return NAICS codes.

#### Why did one source return fewer items?

The source may have fewer matching notices, a public API rate limit, or filters that are too narrow. Try reducing filters or running a single source to diagnose.

#### Why does the actor continue if one source fails?

For monitor reliability, a temporary failure in one public endpoint should not prevent other sources from producing usable records.

### Legality

This actor collects public procurement data from public government and public-sector endpoints. You are responsible for using the data in accordance with source terms, applicable law, and your compliance requirements.

### Related scrapers

- [SAM.gov Government Contracts Scraper](https://apify.com/automation-lab/samgov-government-contracts-scraper)
- [Contracts Finder UK Procurement Scraper](https://apify.com/automation-lab/contracts-finder-uk-procurement-scraper)
- [TED Europa Tenders Scraper](https://apify.com/automation-lab/ted-europa-tenders-scraper)
- [UK Find a Tender Scraper](https://apify.com/automation-lab/uk-find-a-tender-scraper)
- [USAspending Scraper](https://apify.com/automation-lab/usaspending-scraper)

### Changelog

Initial MVP includes SAM.gov, UK Contracts Finder, and EU TED source adapters with a normalized contract opportunity dataset.

# Actor input Schema

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

Terms to search across opportunity titles, descriptions, buyers, and agencies. Leave empty to collect recent notices.

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

Procurement sources to query and normalize into one dataset.

## `postedFrom` (type: `string`):

Only include notices published on or after this date (YYYY-MM-DD). Defaults to the last 30 days for sources that need a date window.

## `postedTo` (type: `string`):

Optional latest publication date (YYYY-MM-DD).

## `deadlineFrom` (type: `string`):

Only include notices with a response/deadline on or after this date when supported by the source.

## `deadlineTo` (type: `string`):

Reserved for source-side filters or downstream filtering by deadline date.

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

ISO/TED country codes such as USA, GBR, DEU, FRA. Applied where each source supports country filtering or output filtering.

## `states` (type: `array`):

Optional US state abbreviations for SAM.gov place-of-performance filtering, e.g. CA, TX, VA.

## `agencies` (type: `array`):

Keep notices whose buyer or agency name contains any of these terms.

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

Common Procurement Vocabulary code prefixes for UK/EU tenders, e.g. 72000000 for IT services.

## `naicsCodes` (type: `array`):

NAICS code prefixes for SAM.gov opportunities, e.g. 541511 for custom computer programming services.

## `maxItemsPerSource` (type: `integer`):

Maximum normalized opportunities to save from each selected source.

## `pageSize` (type: `integer`):

How many source records to request per page (max 100).

## `deduplicateByUrlOrNoticeId` (type: `boolean`):

Remove duplicate records by source notice ID or source URL.

## `includeRaw` (type: `boolean`):

Attach the original source API record to each item for audits or custom transformations. Increases dataset size.

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

Three-letter TED language code for localized EU fields and links.

## Actor input object example

```json
{
  "keywords": [
    "software",
    "cybersecurity"
  ],
  "sources": [
    "sam_gov",
    "uk_contracts_finder",
    "eu_ted"
  ],
  "postedFrom": "2026-06-01",
  "countries": [
    "USA",
    "GBR",
    "DEU"
  ],
  "maxItemsPerSource": 20,
  "pageSize": 100,
  "deduplicateByUrlOrNoticeId": true,
  "includeRaw": false,
  "language": "eng"
}
```

# Actor output Schema

## `overview` (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 = {
    "keywords": [
        "software",
        "cybersecurity"
    ],
    "sources": [
        "sam_gov",
        "uk_contracts_finder",
        "eu_ted"
    ],
    "postedFrom": "2026-06-01",
    "countries": [
        "USA",
        "GBR",
        "DEU"
    ],
    "maxItemsPerSource": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/government-contracts-multi-source-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": [
        "software",
        "cybersecurity",
    ],
    "sources": [
        "sam_gov",
        "uk_contracts_finder",
        "eu_ted",
    ],
    "postedFrom": "2026-06-01",
    "countries": [
        "USA",
        "GBR",
        "DEU",
    ],
    "maxItemsPerSource": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/government-contracts-multi-source-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "software",
    "cybersecurity"
  ],
  "sources": [
    "sam_gov",
    "uk_contracts_finder",
    "eu_ted"
  ],
  "postedFrom": "2026-06-01",
  "countries": [
    "USA",
    "GBR",
    "DEU"
  ],
  "maxItemsPerSource": 20
}' |
apify call automation-lab/government-contracts-multi-source-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=automation-lab/government-contracts-multi-source-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Government Contracts Multi-Source Monitor",
        "description": "Monitor SAM.gov, UK Contracts Finder, and EU TED contract opportunities in one normalized procurement dataset for B2G sales and proposal teams.",
        "version": "0.1",
        "x-build-id": "kZXxZJxnosU6y6ikl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/automation-lab~government-contracts-multi-source-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-automation-lab-government-contracts-multi-source-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/automation-lab~government-contracts-multi-source-monitor/runs": {
            "post": {
                "operationId": "runs-sync-automation-lab-government-contracts-multi-source-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/automation-lab~government-contracts-multi-source-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-automation-lab-government-contracts-multi-source-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Terms to search across opportunity titles, descriptions, buyers, and agencies. Leave empty to collect recent notices.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "sources": {
                        "title": "Sources",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Procurement sources to query and normalize into one dataset.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "sam_gov",
                                "uk_contracts_finder",
                                "eu_ted"
                            ],
                            "enumTitles": [
                                "SAM.gov (US)",
                                "UK Contracts Finder",
                                "EU TED"
                            ]
                        },
                        "default": [
                            "sam_gov",
                            "uk_contracts_finder",
                            "eu_ted"
                        ]
                    },
                    "postedFrom": {
                        "title": "Posted from",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Only include notices published on or after this date (YYYY-MM-DD). Defaults to the last 30 days for sources that need a date window."
                    },
                    "postedTo": {
                        "title": "Posted to",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Optional latest publication date (YYYY-MM-DD)."
                    },
                    "deadlineFrom": {
                        "title": "Deadline from",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Only include notices with a response/deadline on or after this date when supported by the source."
                    },
                    "deadlineTo": {
                        "title": "Deadline to",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Reserved for source-side filters or downstream filtering by deadline date."
                    },
                    "countries": {
                        "title": "Country codes",
                        "type": "array",
                        "description": "ISO/TED country codes such as USA, GBR, DEU, FRA. Applied where each source supports country filtering or output filtering.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "states": {
                        "title": "US states",
                        "type": "array",
                        "description": "Optional US state abbreviations for SAM.gov place-of-performance filtering, e.g. CA, TX, VA.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "agencies": {
                        "title": "Buyer / agency names",
                        "type": "array",
                        "description": "Keep notices whose buyer or agency name contains any of these terms.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "cpvCodes": {
                        "title": "CPV code prefixes",
                        "type": "array",
                        "description": "Common Procurement Vocabulary code prefixes for UK/EU tenders, e.g. 72000000 for IT services.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "naicsCodes": {
                        "title": "NAICS code prefixes",
                        "type": "array",
                        "description": "NAICS code prefixes for SAM.gov opportunities, e.g. 541511 for custom computer programming services.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItemsPerSource": {
                        "title": "Maximum items per source",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum normalized opportunities to save from each selected source.",
                        "default": 50
                    },
                    "pageSize": {
                        "title": "API page size",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many source records to request per page (max 100).",
                        "default": 100
                    },
                    "deduplicateByUrlOrNoticeId": {
                        "title": "Deduplicate notices",
                        "type": "boolean",
                        "description": "Remove duplicate records by source notice ID or source URL.",
                        "default": true
                    },
                    "includeRaw": {
                        "title": "Include raw source JSON",
                        "type": "boolean",
                        "description": "Attach the original source API record to each item for audits or custom transformations. Increases dataset size.",
                        "default": false
                    },
                    "language": {
                        "title": "TED preferred language",
                        "type": "string",
                        "description": "Three-letter TED language code for localized EU fields and links.",
                        "default": "eng"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
