# EU Public Tenders & Winner Company Enricher (`gutacker/eu-public-tenders`) Actor

Search official European public sector tenders and contract awards via the EU TED Open Data API, then enrich winning contractors and buyers with GLEIF corporate registry records, DNS SaaS stack, and EU hosting data.

- **URL**: https://apify.com/gutacker/eu-public-tenders.md
- **Developed by:** [Frank-Ringo Gutacker](https://apify.com/gutacker) (community)
- **Categories:** Business, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 eu public tender or contract award notices

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 Public Tenders & Winner Company Enricher

<p align="center">
  <img src="https://api.apify.com/v2/key-value-stores/6QYUU1aPOYtTzoLON/records/eu-public-tenders-pro-512.png" alt="EU Public Tenders & Winner Company Enricher" width="128" />
</p>

Search EU public tenders and contract award notices from TED (Tenders Electronic Daily), the official EU public procurement journal, and get structured public procurement data as JSON, CSV or Excel. Filter by buyer country, CPV sector code, keywords, publication date and contract value; for each award notice you get the winning company, the buyer, the contract value and a link to the TED notice, and you can optionally enrich the winner with its LEI code, commercial register ID, corporate domain and DNS-based tech signals.

No TED API key is needed, and the Actor does not scrape websites: it uses the official TED Search API and the eForms XML of each notice.

### What data can you extract from TED?

| Data | Output fields |
| :--- | :--- |
| Notice | `publicationNumber`, `formType`, `noticeType`, `publicationDate`, `tenderDeadlineDate` (open tenders, when TED provides it), `titleEn`, `titleNative`, `descriptionNative` (excerpt), `cpvCodes`, `tedNoticeUrl`, `tedXmlUrl` |
| Contract value | `contractValue`, `contractValueType` (`total`, `lot_result`, `estimated`), `currency` |
| Buyer (contracting authority) | `buyerName`, `buyerCountry`, `buyerCity`, `buyerCompanyId`, `buyerDomain`, `buyerProcurementEmail` |
| Winner (contract award notices) | `winnerName`, `allWinners`, `winnerCountry`, `winnerCity`, `winnerSize`, `winnerCompanyId`, `winnerDomain`, `winnerSource` |
| Winner contacts (opt-in) | `winnerOfficialEmail`, `winnerOfficialPhone` (only with `includeWinnerContacts`) |
| Company enrichment (optional) | `enrichedLeiCode`, `enrichedRegisteredAs`, `enrichedEmailProvider`, `enrichedSaasStack`, `enrichedHostingRegion`, `enrichedNis2Score`, `enrichmentMatched`, `companyDossier` |

See [Winner Selection and Output Notes](#winner-selection-and-output-notes) for how each field is determined and [Sample Output](#sample-output) for a real record.

### What can you use EU tender data for?

- **Bid monitoring.** Run `COMPETITION` notices on a schedule with your CPV codes and keywords to collect new open tenders, including the buyer, the estimated value, the submission deadline when TED publishes one, and the TED link.
- **Subcontracting and partner leads.** Run `RESULT` notices to see which companies won contracts in your sector, with their country, SME size class, VAT or registration ID and corporate domain.
- **Competitor and market tracking.** Compare which suppliers win which contracts, at which buyers and at which published values. Values are the buyer's declared figures, not audited spend.
- **Public buyer research.** Group notices by buyer, country, city and CPV code to see who buys what and how often.
- **Supplier due diligence.** Add the GLEIF LEI code, commercial register ID and ultimate parent of a winner to a procurement record.

### How to search EU tenders with this Actor

1. Open the Actor on Apify and go to the **Input** tab.
2. Choose the notice type: contract awards with winners (`RESULT`) or open tenders (`COMPETITION`).
3. Narrow the search with `countries`, `cpvCodes`, `keywords`, `publishedWithinDays` and optionally `minValueEur`.
4. Set `maxResults` (1 to 1000) and decide whether to keep `enrichCompanies` on (default) or switch it off.
5. Click **Start**. When the run finishes, open the **Output** tab and download the dataset as JSON, CSV or Excel.
6. To repeat the search, add an Apify schedule or call the Actor from n8n, Make, Python or an MCP client (see [Integrations](#integrations-n8n-make-mcp--python)).

### How much does it cost?

Pay-per-event, no start fee: `tender` costs $0.004 per notice and `company-enrichment` costs $0.008 per enriched notice, charged only when the enrichment found a match. Examples:

| Run | Calculation | Cost |
| :--- | :--- | :--- |
| Default settings (10 notices, enrichment on) | 10 x $0.004 + at most 10 x $0.008 | $0.04 to $0.12 |
| 100 award notices, enrichment off | 100 x $0.004 | $0.40 |
| 100 award notices, enrichment on, 70 matched (example) | 100 x $0.004 + 70 x $0.008 = $0.40 + $0.56 | $0.96 |
| 100 award notices, enrichment on, all matched | 100 x ($0.004 + $0.008) | $1.20 |
| 1,000 notices (maximum per run), enrichment off | 1,000 x $0.004 | $4.00 |
| Daily run of 25 open tenders for 30 days, enrichment off, if every run returns 25 | 25 x $0.004 = $0.10 per run; 30 runs | $3.00 |

The match rate of the enrichment depends on the winners in your notices. On open tenders (no winner) the buyer is enriched instead and a match is charged the same way, so switch `enrichCompanies` off if you only need the tender list. Notices dropped by `minValueEur` and runs with no results are not charged.

#### Pricing details

Pay-Per-Event with no start fee. `tender` costs $4.00 per 1,000 procurement notices ($0.004 per notice). When `enrichCompanies` is enabled, `company-enrichment` adds $8.00 per 1,000 notices with a match ($0.008 per notice with a match — pro Bekanntmachung mit Treffer, charged per notice only when `enrichmentMatched` is `true` because a verified LEI, Wikidata entity, or active corporate domain was found). An unconfirmed GLEIF candidate (`companyDossier.leiMatchStatus` = `candidate`) does not count as a match on its own and is not copied into `enrichedLeiCode`.

Each notice (identified by its TED publication number) is stored and charged at most once per run, even if TED repeats it across result pages. The `RUN_STATE` record in the run's key-value store is keyed on the run input and holds the delivered notice IDs, the run counters and the search query built at the first start (a restart after midnight reuses that query, so the publication window does not move). On a platform migration the run stops pushing and charging, saves its state and waits to be stopped, so a migration does not push or charge any notice twice. The state is saved right after each pushed notice, so after an unplanned crash or resurrect only a notice that was pushed but whose state save had not finished yet (the crash fell between the push and the save) could be delivered again; nothing stronger is promised.

The `tender` event is charged together with the stored record; `company-enrichment` is charged only afterwards, only for records that were actually stored in the dataset, and only while your spending limit still leaves budget for it. When your maximum charge per run is reached the run stops cleanly; `RUN_SUMMARY.itemsPushed` and `RUN_SUMMARY.enrichmentCharged` count what was really stored and charged.

### Input

#### Input example

```json
{
  "countries": ["DEU", "AUT"],
  "formType": "RESULT",
  "cpvCodes": ["72000000", "48000000"],
  "publishedWithinDays": 30,
  "maxResults": 20,
  "enrichCompanies": true
}
```

#### Input fields

| Field | Type | Default | Notes |
| :--- | :--- | :--- | :--- |
| `countries` | `string[]` | `[]` | ISO-2 (`DE`, `AT`, `FR`, `NL`) or ISO-3 (`DEU`, `AUT`, `FRA`, `NLD`) codes, or English/German country names (`Germany`, `Deutschland`); empty searches all EU/EEA countries. Unrecognised values stop the run with a clear error before any charge instead of silently widening the search |
| `formType` | `string` | `"RESULT"` | `RESULT` (contract awards with winners), `COMPETITION` (open tenders), `PLANNING`, or `ALL` |
| `cpvCodes` | `string[]` | `[]` | CPV sector codes or prefixes (`72000000` IT services, `48000000` software, `45000000` construction); empty searches all sectors. Non-numeric values stop the run with a clear error before any charge |
| `keywords` | `string` | `""` | Optional comma-separated full-text search terms, e.g. `"Cloud, Cybersecurity"` (a JSON list is also accepted by the Actor code) |
| `publishedWithinDays` | `integer` | `30` | Lookback window in days (`1` to `365`) |
| `minValueEur` | `integer` | `null` | Optional minimum EUR value filter (amounts of 1 or less count as not published; TED is paged until `maxResults` notices match or the results end, at most 20 pages of 100 notices, and the log says when that cap stops the search; `contractValueType` distinguishes `total`, `lot_result`, and `estimated`); notices in a non-EUR or unknown currency are skipped without currency conversion and counted in `RUN_SUMMARY.skippedNonEurCount`; notices without a published amount are skipped and counted in `RUN_SUMMARY.skippedNoValueCount`; filtered notices are dropped before any company enrichment, so they cause no enrichment lookups and no charge |
| `maxResults` | `integer` | `10` | Maximum notices returned (`1` to `1000`) |
| `enrichCompanies` | `boolean` | `true` | Join winners and buyers with GLEIF, Wikidata, DNS SaaS stack, RIPE hosting, and NIS2 score |
| `includeWinnerContacts` | `boolean` | `false` | Opt-in to include `winnerOfficialEmail` and `winnerOfficialPhone` from the notice XML (masked `null` by default; `winnerDomain` is always derived internally) |
| `expertQuery` | `string` | `""` | Optional raw EU TED v3 expert query override |
| `concurrency` | `integer` | `5` | Parallel XML and enrichment workers (`1` to `15`) |

### Output

#### Winner Selection and Output Notes

| Field | Notes |
| :--- | :--- |
| `winnerName`, `winnerCountry`, `winnerCity`, `winnerDomain`, `winnerCompanyId` | Taken from the first winning organisation (group lead first for consortia). Losing bidders are never used. |
| `allWinners` | Names of all winning organisations of the notice (up to 10); with several lots or framework suppliers this can list more than one company. |
| `winnerSize` | Size class (`micro`, `small`, `medium`, `large`) of the selected winner as declared in the notice XML; `null` when the XML is unavailable or does not declare it. |
| `contractValue`, `currency` | Published amount and its currency. Amounts of 1 or less (placeholders such as `1`, `0.01` or `-1`) are treated as not published and give `null`. If TED publishes an amount without a currency, `currency` is `null` (never assumed to be EUR). |
| `contractValueType` | `total`: value declared by the buyer for the whole notice (not computed from lots; for framework agreements it can be much lower than the lot ceilings, e.g. 1.55M vs 6.9M on notice 674356-2026). `lot_result`: sum of per-lot values, used only when no notice-level value exists; in framework notices these are lot maximum values (ceilings), not awarded spend, and are summed only when all lots share one known currency (several currencies: `contractValue` is `null`, no conversion). Identical repeated lot ceilings (one shared framework ceiling listed on every lot) are counted once, or replaced by the overall maximum the notice declares, but only when the notice XML shows it is a framework agreement. When the framework status is unknown (the XML could not be fetched, `sourcesFailed` contains `ted_xml`) or the notice is not a framework, every lot is summed, so identical lots add up (3 lots of 100000 give 300000) and a framework notice whose XML failed can be overstated. `estimated`: pre-award estimate. Treat the value as the buyer's declared figure, not audited spend. |
| `winnerSource` | `xml` when the winner fields come from the eForms XML (winning tenders only); `json` when the XML could not be fetched or the winner could not be determined unambiguously and the TED JSON `winner-name` list was used instead (then `winnerCompanyId`, `winnerSize`, contacts are `null`, and country/city are only set when all TED entries agree); `null` when no winner is known. |
| `companyDossier` | Company dossier of the winner (or the buyer on notices without a winner). `companyDossier.matchBasis` says how the entity was identified: `wikidata_lei` (Wikidata website and LEI agree with GLEIF), `wikidata_website` (the domain is the official website of a Wikidata company), `name_input` (found by the winner's/buyer's name), `domain_stem_only` (only the domain's brand stem matched a GLEIF entry: low confidence, never verified), `conflict` (the name and the entity behind the domain are different companies: identity doubtful, `kybVerified` is `false`, `matchConflict` explains why) or `none`. `corporateRelationship`/`relatedEntity` describe a GLEIF parent/subsidiary link between the named company and the domain's entity (they are `null` when the installed KYB engine does not report them). A `conflict` dossier does NOT count as `enrichmentMatched` (so no `company-enrichment` charge) unless the winner's own published domain resolved in DNS; registry facts (LEI, Wikidata) of a doubtful identity are shown for review but never count. A domain that Wikidata resolves for a name-only company but that is a social-network, site-builder or procurement-portal host is treated as unresolved: `resolvedDomain` and all domain-derived dossier fields (email provider, DNS/hosting, TLS, NIS2) are `null`. |

#### Sample Output

```json
{
  "publicationNumber": "709829-2026",
  "formType": "RESULT",
  "noticeType": "can-standard",
  "publicationDate": "2026-10-14",
  "titleEn": "Germany – System and support services – Rahmenvertrag über Unterstützungsleistungen für Betrieb und Weiterentwicklung der IT-Infrastruktur",
  "contractValue": null,
  "contractValueType": null,
  "currency": "EUR",
  "cpvCodes": ["72250000", "72253000", "72253200", "72610000"],
  "buyerName": "Leibniz-Institut für Oberflächenmodifizierung e.V.",
  "buyerCountry": "DEU",
  "buyerCity": "Leipzig",
  "buyerDomain": "iom-leipzig.de",
  "winnerName": "Bechtle GmbH",
  "winnerCountry": "DEU",
  "winnerCity": "Dresden",
  "winnerSize": "large",
  "winnerCompanyId": "03412524310",
  "winnerDomain": "bechtle.com",
  "winnerOfficialEmail": null,
  "winnerOfficialPhone": null,
  "enrichmentMatched": true,
  "sourcesFailed": ["ripe"],
  "enrichedPartyRole": "WINNER",
  "enrichedLeiCode": "529900HA2QT774RUXW59",
  "enrichedRegisteredAs": "HRB 108581",
  "enrichedEmailProvider": "Custom / Self-Hosted (bg365securemaillb.bechtle.com)",
  "enrichedSaasStack": [
    "Microsoft 365",
    "Google Cloud / Search Console",
    "Atlassian (Jira / Confluence)",
    "Miro",
    "Adobe Enterprise",
    "Apple Business Manager"
  ],
  "enrichedHostingRegion": "Unknown",
  "enrichedNis2Score": 73,
  "tedNoticeUrl": "https://ted.europa.eu/en/notice/-/detail/709829-2026",
  "fetchedAt": "2026-11-13T12:15:49Z"
}
```

### Reliability and run diagnostics

- TED search requests are retried up to three times with exponential backoff on network errors, timeouts, HTTP 429 and 5xx (a `Retry-After` header is honoured, capped at 60 seconds). Client errors such as HTTP 400 (invalid query) fail immediately with TED's status and message.
- The eForms XML of each notice is fetched with one retry and a longer timeout. If the XML still cannot be fetched, the notice is delivered as a normal `tender` record built from the TED JSON: `sourcesFailed` contains `ted_xml`, `winnerSource` is `json` (winner names from TED's `winner-name` list only), and the XML-only fields (`winnerCompanyId`, `winnerSize`, winner domain/contacts, exact buyer details) may be `null`.
- TED often refuses the XML download on cloud servers such as the Apify platform (a bot check answering HTTP 202 or 405). `RUN_SUMMARY.tedXmlFailed` counts the notices whose XML could not be fetched; they are delivered from the TED search JSON as described above. When such a notice names exactly one tenderer organisation, that tenderer is the winner, so `winnerCompanyId`, `winnerSize`, the winner website (for `winnerDomain`) and the winner email are taken from the JSON too (the email is used to derive the domain and is output as `winnerOfficialEmail` only with `includeWinnerContacts`). With several tenderers those fields stay `null`, because the JSON lists include losing bidders and do not say which one won.

`RUN_SUMMARY` (key-value store) is always written, also when the run ends with an error (invalid input, TED search failure, all notices failed), is aborted, or crashes unexpectedly (the error is listed in `failedInputs`, with `input: "run"` for a crash). `addonChargeErrors` counts `company-enrichment` charges that raised an error; the notice stays delivered. A TED search page that reports `timedOut` is retried with backoff; if it never completes, the run fails with a visible error instead of returning partial results. This also holds when `minValueEur` pages lazily: if a further result page fails and fewer than `maxResults` notices were delivered, the run ends as failed (`Results incomplete: the EU TED search failed ...`) after writing `RUN_SUMMARY`; notices already delivered stay in the dataset.

### FAQ

#### Where does the EU tender data come from?

Notices come from the official TED Search API v3 and the eForms XML of each notice (EU Publications Office). Company enrichment uses GLEIF, Wikidata, DNS-over-HTTPS, RDAP, RIPE Stat and TLS handshakes. See [How it works and data sources](#how-it-works-and-data-sources) for licences.

#### Which countries are covered?

The `countries` filter applies to the buyer's country (the contracting authority), not the winner's country. It accepts ISO-2 or ISO-3 codes and English or German country names; leave it empty to apply no country filter. Only what is published on TED is covered, so tenders that stay on national portals are not included. An unrecognised country stops the run with an error before anything is charged.

#### Do I need a TED API key?

No. The Actor queries the TED Search API without a key. You only need an Apify account.

#### Why are winner contact details missing?

`winnerOfficialEmail` and `winnerOfficialPhone` are `null` unless you enable `includeWinnerContacts`, because contact details of small businesses can identify individuals. When enabled they are still `null` if the notice XML does not publish them (or the XML could not be fetched, `winnerSource` is then `json`). `winnerDomain` is derived either way, from the website or the non-freemail email domain in the notice.

#### How do I find open tenders instead of awards?

Set `formType` to `COMPETITION`. These notices have no winner, so `winnerName` is empty and the buyer is the enriched party. `ALL` returns both open tenders and contract awards.

#### Can I use it with n8n, Make or Claude via MCP?

Yes. Call the Actor through the Apify API with an HTTP Request node, use the Apify Python client, or add it to the Apify MCP server for Claude, Cursor or n8n AI Agent. Examples are in [Integrations](#integrations-n8n-make-mcp--python).

#### Why did my run return 0 tenders?

- No notice matched your filters in the `publishedWithinDays` window. Widen the window (up to 365), remove `keywords` or `cpvCodes`, or check `formType` (the default `RESULT` returns award notices only).
- `minValueEur` is set: notices without a published amount or in a non-EUR currency are skipped (no conversion) and counted in `RUN_SUMMARY.skippedNoValueCount` and `RUN_SUMMARY.skippedNonEurCount`.
- `expertQuery` is filled: it replaces all other search filters.

A TED outage or an invalid country or CPV code makes the run fail with an error instead of returning an empty result. `RUN_SUMMARY` in the key-value store shows what happened.

### Integrations (n8n, Make, MCP & Python)

#### n8n / Make / REST API (`run-sync-get-dataset-items`)

Build daily EU/DACH public-sector RFP and contract-award pipelines in **n8n** or **Make** with a standard **HTTP Request** node (`POST`, **Bearer Auth** with your `APIFY_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/gutacker~eu-public-tenders/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "countries": ["DEU", "AUT", "CHE"],
    "cpvCodes": ["72000000"],
    "keywords": "Cloud, Cybersecurity",
    "minValueEur": 50000,
    "publishedWithinDays": 7,
    "maxResults": 25,
    "enrichCompanies": true
  }'
```

#### AI Agents & Model Context Protocol (Claude, Cursor, n8n AI Agent)

Give B2B research and procurement agents live access to European TED notices plus GLEIF/NIS2 company dossiers via the Apify MCP Server:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=gutacker/eu-public-tenders,gutacker/company-kyb-compliance",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("gutacker/eu-public-tenders").call(run_input={
    "countries": ["DEU", "AUT"],
    "cpvCodes": ["72000000"],
    "minValueEur": 50000,
    "publishedWithinDays": 7,
    "enrichCompanies": True,
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
```

### How it works and data sources

This Actor queries the official European Union Tenders Electronic Daily (TED) Search API v3 and parses the underlying eForms XML notices to collect public sector tenders and contract award notices across Europe. It then joins the winning contractors (or contracting authorities on open tenders) with open-data corporate registries and DNS infrastructure checks.

All sources used by this Actor permit commercial reuse. Procurement notices come from the EU Publications Office under the European Commission Reuse Decision (2011/833/EU, CC-BY 4.0). Legal entity data comes from the Global Legal Entity Identifier Foundation (GLEIF API, CC0 1.0 Public Domain) and Wikidata (CC0 1.0 Public Domain). Domain, cloud software, and security signals come from standard DNS-over-HTTPS (RFC 8484), ICANN RDAP (RFC 7480), RIPE Stat, and port 443 TLS handshakes. No website HTML is scraped and no personal employee profiles are collected.

Raw EU TED JSON records often omit the winning contractor's website or tax identifier even when that data is present inside the notice XML. For each matched notice, this Actor downloads the official eForms XML and selects the winners from the contracts actually awarded (`SettledContract`): bidders that only appear in `LotResult`/`LotTender` as unsuccessful tenderers are never reported as winners. The winning tenders are resolved through their `TenderingParty` to the exact `Organization` entry, filters out third-party e-tendering portals (such as `dtvp.de`, `subreport`, `tenderned.nl`, or `marches-publics`; a company that is itself such a vendor, for example Mercell or Cosinex, keeps its own domain) and social-network, directory or website-builder addresses (such as `facebook.com`, `linkedin.com`, `xing.com`, `wixsite.com` or `jimdofree.com`; their DNS and registry data would describe the platform, not the company), and extracts the contractor's corporate domain, VAT or company registration ID, and SME size classification. Contractor contact fields (`winnerOfficialEmail`, `winnerOfficialPhone`) are masked (`null`) by default and only included when `includeWinnerContacts` is explicitly enabled.

When `enrichCompanies` is enabled, each unique winner or buyer is enriched once per run with its GLEIF LEI code, commercial register number, ultimate parent company, email system (Google Workspace, Microsoft 365, self-hosted), DNS SaaS verification tokens (HubSpot, Salesforce, Atlassian, Stripe, OpenAI, DocuSign, Zendesk, Cloudflare, AWS), CDN-aware RIPE hosting region, and a 0 to 100 external root-domain technical hygiene score (`nis2ReadinessScore`, representing an external view of the root domain rather than proof of organizational NIS2 compliance).

### Related Tools by gutacker

For standalone domain and LEI checks, see [Company KYB, DNS Tech Stack & NIS2 Readiness Check](https://apify.com/gutacker/company-kyb-compliance). Other Actors in this suite include [Career Site & ATS Jobs Scraper](https://apify.com/gutacker/career-site-jobs), [Google Ads Transparency Scraper](https://apify.com/gutacker/google-ads-transparency), [LinkedIn Ad Library Scraper](https://apify.com/gutacker/linkedin-ad-library), [Shopify Store & Product Scraper](https://apify.com/gutacker/shopify-store-spy), and [App Store & Google Play Reviews](https://apify.com/gutacker/app-store-reviews).

# Actor input Schema

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

Country codes such as 'DE' / 'DEU', 'AT' / 'AUT', 'FR' / 'FRA', 'NL' / 'NLD', 'CH' / 'CHE', or English/German country names such as 'Germany' / 'Deutschland'. Leave empty to search across all EU and EEA member states. Unrecognised values stop the run with an error before anything is charged.

## `formType` (type: `string`):

'RESULT' returns awarded contracts with winning companies and values. 'COMPETITION' returns open tenders accepting bids. 'ALL' returns both.

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

Common Procurement Vocabulary codes or prefixes, for example '72000000' (IT services), '48000000' (software packages), '45000000' (construction), '79000000' (business consulting), or '33000000' (medical equipment). Leave empty for all sectors. Non-numeric values stop the run with an error before anything is charged.

## `keywords` (type: `string`):

Optional comma-separated search keywords matched across tender titles and descriptions (such as 'cloud, cybersecurity' or 'SAP').

## `publishedWithinDays` (type: `integer`):

Lookback window in days from today (1 to 365).

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

Optional minimum contract or estimated value filter in EUR. Only notices with a published EUR amount are compared (amounts of 1 or less are placeholders and count as not published). TED is paged until maxResults notices match or the results end (at most 20 pages of 100 notices; the log says when this cap stops the search, so narrow countries, CPV codes or keywords for very selective filters). Notices in a non-EUR currency (such as PLN, SEK, CZK, RON) or with an unknown currency are skipped without currency conversion and counted in RUN_SUMMARY.skippedNonEurCount; notices without any published amount are skipped and counted in RUN_SUMMARY.skippedNoValueCount. Filtered notices are dropped before company enrichment (no lookups, no charge). If a further TED result page fails before maxResults notices were delivered, the run fails with a visible error; delivered notices are kept.

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

Maximum number of procurement notices to return.

## `enrichCompanies` (type: `boolean`):

Attach GLEIF LEI code, commercial register ID, official corporate domain, email system, DNS SaaS stack, EU hosting region, and NIS2 score.

## `includeWinnerContacts` (type: `boolean`):

When enabled, outputs winnerOfficialEmail and winnerOfficialPhone published in the notice XML. Disabled by default because contractor contacts on small businesses may identify individuals; corporate winnerDomain derivation remains active regardless.

## `expertQuery` (type: `string`):

Optional raw EU TED v3 expert query string. When filled, overrides the structured filters above.

## `concurrency` (type: `integer`):

Number of notices enriched concurrently.

## Actor input object example

```json
{
  "countries": [
    "DEU",
    "AUT"
  ],
  "formType": "RESULT",
  "cpvCodes": [
    "72000000",
    "48000000"
  ],
  "keywords": "",
  "publishedWithinDays": 30,
  "maxResults": 25,
  "enrichCompanies": true,
  "includeWinnerContacts": false,
  "expertQuery": "",
  "concurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `runSummary` (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 = {
    "countries": [
        "DEU",
        "AUT"
    ],
    "cpvCodes": [
        "72000000",
        "48000000"
    ],
    "publishedWithinDays": 30,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("gutacker/eu-public-tenders").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 = {
    "countries": [
        "DEU",
        "AUT",
    ],
    "cpvCodes": [
        "72000000",
        "48000000",
    ],
    "publishedWithinDays": 30,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("gutacker/eu-public-tenders").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 '{
  "countries": [
    "DEU",
    "AUT"
  ],
  "cpvCodes": [
    "72000000",
    "48000000"
  ],
  "publishedWithinDays": 30,
  "maxResults": 25
}' |
apify call gutacker/eu-public-tenders --silent --output-dataset

```

## MCP server setup

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

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/ZcFknBXgWmopQLdw0/builds/tzgbOIasC4NyVrUAb/openapi.json
