# Competitor Contract Win Alerts: TED, UK and USAspending Awards (`accountable_eel/competitor-contract-win-alerts`) Actor

Competitor contract win alerts: every public contract award your competitors win in US federal (USAspending), EU (TED) and UK (Find a Tender) notices, with buyer, award value, award date and notice link. Only the new ones, with alerts to Slack, Discord or Telegram.

- **URL**: https://apify.com/accountable_eel/competitor-contract-win-alerts.md
- **Developed by:** [Adriana Voss](https://apify.com/accountable_eel) (community)
- **Categories:** Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 contract award matcheds

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

## Competitor Contract Win Alerts: TED, UK and USAspending Awards

**Every public contract your competitors win, from three official award databases, one row per award.** Type the companies you compete with and get each contract award that names them as the winner in US federal contracts (USAspending), EU and EEA award notices (TED) and UK award notices (Find a Tender): the buyer, the contract title, the value, the award date and a link to the notice. Switch on monitoring and a scheduled run returns only the awards you have not seen yet, and posts each one to Slack, Discord or Telegram.

### Who uses it

- **Bid and capture teams** who want to know the day a rival wins a contract with a buyer they also target.
- **Sales and business development teams** at suppliers and subcontractors, looking for the primes that just won work they can sell into.
- **Market and competitive intelligence analysts** building a running record of who wins what, where, and for how much.
- **Developers and AI agents** that need a clean award feed for an n8n, Make or Google Sheets flow.

It reads three official public APIs (USAspending, TED and Find a Tender). No key, no login, no proxy.

### Use it from an AI agent

The job: list the new public contract awards won by a list of companies. Input: `companies` (company names), optional `source` (`all`, `usaspending`, `ted`, `findATender`), `sinceDays`, `maxItems`, `strictNameMatch`. Output: one row per award with `source`, `winnerName`, `matchType`, `buyerName`, `title`, `awardDate`, `awardValue`, `awardCurrency` and `noticeUrl`. Cost: about $10 per 1,000 awards, nothing for a company with no award in the window. Set `outputMode` to `compact` to drop empty fields. Apify MCP server with this actor preloaded: `https://mcp.apify.com?tools=accountable_eel/competitor-contract-win-alerts`.

### How to use

1. **In the Apify Console.** Open the actor page and click **Start** — the `companies` field is already pre-filled with a working example. Results land in the run's dataset as soon as each item is found.
2. **Via the API.** Call it directly with a POST request — no Console needed once you have an API token:
   ```bash
   curl "https://api.apify.com/v2/acts/accountable_eel~competitor-contract-win-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
     -X POST \
     -H "Content-Type: application/json" \
     -d '{"companies":["Lockheed Martin"]}'
   ```
3. **On a schedule.** Save this actor as an Apify **Task** with the input you want, then add a **Schedule** (hourly, daily, weekly) so it runs on its own — no server of your own required.

### Input

```json
{
  "companies": [
    "Lockheed Martin"
  ]
}
```

One company name per line, as it appears on contracts, e.g. Lockheed Martin, Siemens, Capita. Every word you type must appear in the winner's name, so a shorter name catches more legal entities. Accepted formats: Lockheed Martin, Siemens, Capita.

Each company is searched on USAspending (recipient search) and TED (winner-name search). Find a Tender has no supplier search, so its newest award notices are read once per run and every company on the list is matched against their supplier names. `sinceDays` (default 60, up to 365) sets the window. `maxItems` caps the awards per company, newest first, and is what you pay for. `strictNameMatch` drops USAspending awards made to a subsidiary rather than to the name you typed. The window, the name rule and the cap all run before anything is billed or remembered.

#### Monitoring and alerts

Turn on `onlyNewSinceLastRun` and each run returns only the awards this watchlist has not returned before, so a quiet day costs only the start fee. The watchlist is kept in a named store of its own; give `deltaName` a value to run two schedules that must not mark each other's awards as seen. An award is forgotten 400 days after its date. The first monitored run returns everything in the window, so pick a small `sinceDays` for it. Add a `notifyUrl` (Discord or Slack webhook, or a Telegram bot link) and each new award is posted as one message, up to `maxNotificationsPerRun`; messages are free.

### Output

One row per award, with the company you typed repeated on every row.

| query | found | status | awardCount | company | source | winnerName | matchType | buyerName | buyerCountry | title | awardType | category | awardDate | publishedAt | awardValue | awardCurrency | valueScope | noticeId | noticeUrl | sourcesFailed | scrapedAt |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Lockheed Martin | true | OK | <awards returned for this company> | <watched company> | <source> | <winner as the notice names it> | <how the winner matched> | \<buyer (contracting authority)> | <buyer country> | <contract title or description> | <award type> | <category> | <awarded on> | <published or updated on> | <award value> | <currency> | <what the value covers> | <notice or award id> | <notice page> | <sources that did not answer> | 1970-01-01T00:00:00.000Z |

`matchType` says why a row is there: `name` when the winner's own name contains every word you typed, `parent company` when USAspending files the winner under that parent (Sikorsky Aircraft under Lockheed Martin). `awardValue` means a different thing per source, and `valueScope` says which: the award amount on USAspending, the lots this company won on Find a Tender, and the whole notice's total (all lots and all winners) on TED. Missing values are null, never 0. A company with no award in the window comes back as a row with `"found": false` and a reason, and is never charged.

### Pricing

Pay-per-event: one `award-matched` event per award row, plus a tiny start fee. About $10 per 1,000 awards on the Gold plan. A company with no award in the window, nothing new, or a source that did not answer costs nothing.

### Limits

- Name matching is by words: every word you type must appear in the winner's name. "Lockheed Martin" also matches "Lockheed Martin Services, LLC"; a trading name that differs from the legal name will be missed. Try the name as the notices print it.
- USAspending also returns a company's subsidiaries (labelled `parent company`). Turn on `strictNameMatch` to drop them.
- USAspending publishes Department of Defense contracts with a delay of about 90 days, so recent defence awards appear late.
- Find a Tender is read up to its newest 1,000 award notices per run, about three weeks at today's rate. For the UK, run daily or weekly with monitoring on rather than relying on a long window.
- TED's search does not return an award date, so `awardDate` is null for TED rows; `publishedAt` is the notice date.
- Only standard contract award notices are read on TED; modification and other award notice types are not.
- If one source does not answer, the others still return their rows and `sourcesFailed` names the one that failed.

### Example runs

**1. One competitor across all three sources, last 60 days** (a real keyless run on 2026-11-04: 20 award rows in 17 seconds, platform cost about $0.0006).

```json
{"companies": ["Lockheed Martin"], "sinceDays": 60, "maxItems": 20}
```

Returned 19 new US federal awards (5 to Lockheed Martin entities, 14 to its subsidiary Sikorsky Aircraft labelled `parent company`, mostly Coast Guard and NASA buyers) and 1 TED notice: Lockheed Martin Global, Inc. winning Latvian radar repair and maintenance work (EUR 11.6 million for the whole notice). Find a Tender read 975 UK award notices back to 2026-10-05 and none named Lockheed Martin.

**2. Several competitors in the UK and EU only.** A wider list on the European sources:

```json
{"companies": ["Capita", "Serco", "Siemens"], "source": "ted", "sinceDays": 30, "maxItems": 25}
```

Every word must match, so "Siemens" catches Siemens AG and Siemens Healthcare GmbH. This one is an input pattern, not a recorded run.

**3. A daily alert.** Schedule this input once a day:

```json
{"companies": ["Lockheed Martin", "Raytheon", "Northrop Grumman"], "source": "usaspending", "sinceDays": 7, "onlyNewSinceLastRun": true, "deltaName": "us-defence-rivals", "notifyUrl": "<your Discord, Slack or Telegram link>"}
```

Day one returns the last week of awards; every later day returns only the awards that are new, and a day with none costs only the start fee. This one is an input pattern, not a recorded run.

### Use it from Clay, n8n, Make, or an AI agent

This actor runs synchronously over plain HTTP — call it directly from a script, a workflow tool, or an AI agent, no Apify Console needed once you have an API token.

```bash
curl "https://api.apify.com/v2/acts/accountable_eel~competitor-contract-win-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"companies":["Lockheed Martin"]}'
```

**n8n.** Add an HTTP Request node: Method `POST`, URL `https://api.apify.com/v2/acts/accountable_eel~competitor-contract-win-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>`, Body Content Type `JSON`, JSON Body `{"companies":["Lockheed Martin"]}` (swap in an expression from an earlier node for a real value).

**Clay.** Add an "HTTP API" column: Method `POST`, URL `https://api.apify.com/v2/acts/accountable_eel~competitor-contract-win-alerts/run-sync-get-dataset-items?token=<YOUR_TOKEN>`, Body `{"companies":["{{award}}"]}`, mapping the row's award into the `companies` array.

**MCP.** In Claude, Cursor, or any MCP client with the Apify MCP server, ask for "Competitor Contract Award Alerts: TED, UK, USAspending" — the agent will find and run this actor.

# Actor input Schema

## `companies` (type: `array`):

One company name per line, as it appears on contracts, e.g. Lockheed Martin, Siemens, Capita. Every word you type must appear in the winner's name, so a shorter name catches more legal entities. Accepted formats: Lockheed Martin, Siemens, Capita. You're only charged for the ones we actually find — a miss costs nothing.

## `source` (type: `string`):

Which award databases to search. All three is the default; pick one to search a single market.

## `sinceDays` (type: `integer`):

How far back to look (up to 365). USAspending by the award's base obligation date, TED and Find a Tender by notice publication date. Find a Tender reads at most its newest 1,000 award notices per run (about three weeks), so for the UK run daily or weekly with monitoring on.

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

Up to 500. The cost control: each returned award is billed. The newest awards are kept; with monitoring on, raise this above the number of awards a company can win between two runs.

## `strictNameMatch` (type: `boolean`):

USAspending also returns awards to a company's subsidiaries (Sikorsky for Lockheed Martin), labelled matchType "parent company". Turn this on to keep only winners whose own name contains every word you typed.

## `outputMode` (type: `string`):

Full keeps every column. Compact leaves out empty fields and adds one short summary line, so a script or AI agent reads far less per row. What you are charged does not change.

## `onlyNewSinceLastRun` (type: `boolean`):

Turns this into an alert: an award counts as new when this watchlist has not returned it for this company before. Awards already seen are dropped before you are billed, so a quiet run costs only the start fee. An award is forgotten 400 days after its date.

## `deltaName` (type: `string`):

Leave empty to use the one shared watchlist for this account: adding a company or changing a filter between runs keeps the SAME memory. Type a name to keep two separate schedules (e.g. one per sales team) from marking each other's awards as seen.

## `notifyUrl` (type: `string`):

Optional. After the awards are billed, each NEW award is posted here as one message: the company, the buyer, the value, the date and a link to the notice. Discord or Slack: paste the channel's webhook URL. Telegram: https://api.telegram.org/bot<token>/sendMessage?chat_id=<chat id>. Any other URL receives JSON. Messages are free, and a message that fails never fails the run (the row's notifyErrors says why). Stored encrypted, never logged or written to the results.

## `notifyFormat` (type: `string`):

Leave on "Detect from the link": discord.com links get Discord messages, hooks.slack.com Slack, api.telegram.org Telegram, anything else JSON. Pick one only to override that.

## `maxNotificationsPerRun` (type: `integer`):

Up to 100. Above this, one "+N more" message says how many more awards are in the run's dataset, so a busy run never floods the channel. 0 sends only that one summary message.

## `testRun` (type: `boolean`):

Turn this on to test your input on a small sample before running the full list. Turn it off to process everything.

## `onlyFound` (type: `boolean`):

Only keep rows where something was actually found. Misses are always free, whether or not you show them here.

## `includeKeywords` (type: `array`):

Optional. Only keep results that mention at least one of these words (e.g. a job title, a city, a product name). Leave empty to keep everything.

## `excludeKeywords` (type: `array`):

Optional. Drop any result that mentions one of these words. Leave empty to skip nothing.

## `maxResults` (type: `integer`):

Optional. Stop the run once this many results have been found — useful for a quick, cheap sample. Leave blank for no limit.

## `columns` (type: `array`):

Choose which pieces of information to include in each result row. All are included by default.

## `expandRows` (type: `boolean`):

When on, each award found gets its own row instead of being grouped under its award. You're still only charged once per award, no matter how many rows it produces.

## `maxConcurrency` (type: `integer`):

Parallel requests. Keep conservative — this target has no browser fallback, so getting blocked costs more than slow-and-steady.

## `proxyConfiguration` (type: `object`):

Apify Proxy config. This target is a free public API that needs no proxy — defaults to off, but you can turn one on if you prefer.

## Actor input object example

```json
{
  "companies": [
    "Lockheed Martin"
  ],
  "source": "all",
  "sinceDays": 60,
  "maxItems": 20,
  "strictNameMatch": false,
  "outputMode": "full",
  "onlyNewSinceLastRun": false,
  "deltaName": "",
  "notifyFormat": "auto",
  "maxNotificationsPerRun": 20,
  "testRun": false,
  "onlyFound": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "columns": [
    "awardCount",
    "company",
    "source",
    "winnerName",
    "matchType",
    "buyerName",
    "buyerCountry",
    "title",
    "awardType",
    "category",
    "awardDate",
    "publishedAt",
    "awardValue",
    "awardCurrency",
    "valueScope",
    "noticeId",
    "noticeUrl",
    "sourcesFailed"
  ],
  "expandRows": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "companies": [
        "Lockheed Martin"
    ],
    "includeKeywords": [],
    "excludeKeywords": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("accountable_eel/competitor-contract-win-alerts").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 = {
    "companies": ["Lockheed Martin"],
    "includeKeywords": [],
    "excludeKeywords": [],
}

# Run the Actor and wait for it to finish
run = client.actor("accountable_eel/competitor-contract-win-alerts").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 '{
  "companies": [
    "Lockheed Martin"
  ],
  "includeKeywords": [],
  "excludeKeywords": []
}' |
apify call accountable_eel/competitor-contract-win-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,accountable_eel/competitor-contract-win-alerts"
        }
    }
}
```

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/1CUXNmR9DqhKJ7PLs/builds/dMa9OR9Cnidl7UUFc/openapi.json
