Software Tender Opportunity Filter | TED & File Analysis
Pricing
$5.00 / 1,000 unique software opportunity versions
Software Tender Opportunity Filter | TED & File Analysis
Filter official TED software tenders and customer JSON/CSV exports. Separate first notices, corrections, cancellations and results with persistent version deduplication. Grants not included.
Pricing
$5.00 / 1,000 unique software opportunity versions
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Software Tender Opportunity Filter
NEWAPI117 · AFK Digital · v1.0 · TED & customer-file analysis
Find software and IT procurement notices using the official TED Search API. Filter by literal keywords, excluded phrases, CPV hierarchy, buyer country, publication date and submission deadline. Export structured notification data to n8n, Make or Clay. No email, application, bid or message is sent.
Source coverage
| Source | v1 status | Access and reuse |
|---|---|---|
| TED Search API v3 | Live, anonymous, no key | Published procurement notices. EU commercial reuse subject to TED legal notice and third-party rights. |
| Customer JSON/CSV | Available with sources=["FILE"] | User must supply authorized public exports; source content is not independently verified. |
| SAM.gov public opportunities v2 | Direct access NOT enabled | API key required; account-role quotas apply. Personal keys must not be shared. Use authorized public exports through FILE mode. |
| Grants | Not supported | No grant source has been enabled or tested. Procurement notices are always tender, never grant. |
This release is deliberately titled Software Tender Opportunity Filter, rather than advertising unimplemented grants. The requested internal project remains NEWAPI117 Software Tender & Grant Opportunity Filter.
Official sources verified 2026-11-21:
- TED Search API
- TED pagination
- TED fields
- TED legal notice
- TED fair usage
- SAM.gov public API
- SAM.gov terms
TED notices may generally be reused commercially; retain source attribution, original notice links and respect third-party rights. Metadata is CC0. Editorial documentation uses CC BY 4.0. No TED/EU logos are used. This service is independent and not endorsed by TED, the EU or GSA.
SAM.gov's documented endpoint is https://api.sam.gov/opportunities/v2/search, with mandatory API key, postedFrom/postedTo dates (maximum one-year window), and page-index offset. It provides the latest active version, not a complete version archive. Public API redistribution is distinguished from restricted/sensitive data. We do not offer shared keys, credential collection, website scraping or restricted data. A future direct integration requires confirmation of authorized system-account use for its deployment model. FILE mode accepts customer-authorized public exports without requesting a key.
Example input
{"sources": ["TED"],"keywords": ["software", "cybersecurity", "cloud"],"excludedKeywords": [],"countries": ["DEU", "FRA"],"classificationCodes": ["48", "72"],"opportunityTypes": ["tender"],"maxResults": 10}
The valid default has no keyword/country restriction and CPV 48/72. An empty keyword list returns CPV matches. Multiple keywords use OR; any excluded phrase rejects a row. Matching is Unicode-normalized, case-insensitive literal phrase matching with word boundaries against available title translations and buyer name. FILE mode also searches customer description text. It is neither an eligibility determination nor a winning probability. No translation service or attachment download is performed.
| Input | Meaning |
|---|---|
| sources | TED and/or FILE. SAM returns an explicit NOT_ENABLED error in SUMMARY. |
| keywords / excludedKeywords | Up to 50 literal phrases, OR within each list. |
| countries | ISO alpha-3 buyer location, e.g. DEU. Not supplier eligibility or performance location. |
| classificationCodes | CPV prefixes, OR; 72000000 is hierarchical 72. For imported NAICS data, supply classificationCodes=[] or appropriate numeric prefixes and label classificationSystem. |
| publishedAfter | Inclusive YYYY-MM-DD; default previous 14 days. Missing publication dates cannot satisfy the filter. |
| deadlineBefore | Inclusive source local calendar date; unknown/ambiguous deadlines are excluded when this filter is set. |
| opportunityTypes | Only ["tender"] supported. Grant input is rejected. |
| maxResults | 1–1,000 newly emitted versions, default 10. Already reserved versions do not count. |
| includeExpired | false by default for initial/correction notices; cancellation/result events remain useful and are retained. |
| maxPages / maxScanned | Defaults 5 pages / 250 candidates; hard cap disclosed in SUMMARY. |
| timeoutSeconds | Default 210, maximum 240; platform run timeout 270 seconds. |
| records | FILE array: normalized records or TED Search export notices. |
| fileContent / fileFormat | Pasted JSON or CSV contents; <=6 MB, <=10,000 rows; no arbitrary external URL fetch. |
All filter dimensions combine with AND. Set publishedAfter explicitly when analyzing historical files. Empty arrays remove their respective restrictions, except sources/opportunityTypes. Keyword filtering occurs after fetching a bounded candidate set, so zero results means no match within that scan, not proof of no opportunities.
Output semantics
The Dataset contains the requested fields: source, opportunityId, opportunityType, title, buyerOrAgency, country, classificationCodes, publishedAt, deadline, deadlineTimezone, estimatedValue, currency, status, matchedTerms, sourceUrl, observedAt and limitations.
Additional fields include eventType, versionId, previousVersionIds, procedureId, publicationNumber, sourceNoticeType, recordId, countries, classificationSystem, valueType, awardedValue, awardedCurrency, awardedValueType, deadlinesRaw, sourceAttribution and notification.
- One row = one opportunity and official notice version, not one lot or one keyword.
- opportunityId uses the official procedure identifier when available. Otherwise the publication ID is retained with a missing-link limitation. No fuzzy tender linkage is invented.
- versionId uses official notice identifier + version. previousVersionIds preserves official BT-758 predecessor references. Notices sharing procedureId remain related; multiple predecessor references are retained. The Actor does not claim to retrieve complete histories or perform a verified before/after comparison (use NEWAPI18 for that).
- eventType distinguishes initial_notice, correction, cancellation, result, planning and other. Cancellation requires explicit competition-termination-proc=true. Change references/reasons indicate correction. Contract-award notice types are result events; a result notice does not automatically mean a contract was awarded.
- estimatedValue is only the source's procedure estimate. It is a decimal string, preserving precision. Missing values remain null.
- awardedValue is separate, from the published notice result-value field. It is not substituted into estimatedValue or claimed to be a single signed contract amount. No lot sums, exchange rates or budgets are fabricated.
- A single unambiguous deadline is combined from source date and time, preserving a supplied UTC offset. Multiple date/time arrays are never zipped by index or collapsed into a fabricated notice-wide deadline. Consult deadlinesRaw and the original source.
- Date-only or timezone-unknown deadlines remain visibly uncertain. No country-to-timezone guess or invented midnight/23:59 is used.
- Status deadline_not_passed means only that a known source timestamp lies in the future, not that bidding is legally open.
- notification is data for your workflow: sendAutomatically=false. The Actor performs no outreach.
FILE mode
Provide records or pasted fileContent:
{"sources": ["FILE"],"classificationCodes": [],"publishedAfter": "2026-11-01","records": [{"source": "AUTHORIZED_PUBLIC_EXPORT","opportunityId": "proc-1","versionId": "notice-2","opportunityType": "tender","eventType": "correction","title": "Software services","buyerOrAgency": "Example agency","country": "USA","publishedAt": "2026-11-20","deadline": "2026-12-15T17:00:00-05:00","classificationCodes": [],"sourceUrl": "https://sam.gov/opp/example/view","previousVersionIds": ["notice-1"]}]}
This is a synthetic illustration, not a real opportunity. For normalized rows, opportunityId, versionId, title, sourceUrl and eventType are required. CSV arrays use JSON strings or pipe-delimited values. TED Search exports can be imported directly as an array or {"notices":[...]}. SAM native exports must first be mapped to the normalized contract; arbitrary SAM schemas are not silently guessed. Never supply private or restricted records or personal API keys.
Repeat downloads and billing
Price: $0.005 per unique opportunity-version record ($5 / 1,000). Publisher approved on 2026-11-21. Check the Store pricing before use. No start fee, request fee, error fee or second manual charge is configured.
The only intended PPE event is apify-default-dataset-item. It is charged automatically when a unique row is pushed. Do not enable an additional custom event or paid actor-start event.
A named Apify Request Queue, newapi117-opportunity-version-ledger-v1, atomically reserves each SHA-256(source, opportunityId, versionId) before dataset insertion. Queue uniqueKey dedup works across repeat and concurrent runs in the same owning account. A version already reserved is suppressed and incurs no new output event, even if downloaded again, its title changes or observation time changes. There is deliberately no user reset/namespace switch to accidentally rebill old versions. Keep the ledger; deleting it removes repeat protection. Different user accounts have independent data and billing history.
Interruption tradeoff: an interruption after reservation and before Dataset insertion may suppress a record without delivering it. This favors at-most-once billing. The queue entry contains the originating runId/datasetId for manual reconciliation. Do not clear a reservation unless the original dataset and charging records prove it was never delivered/billed. A paid Dataset item should always correspond to an available row. Platform maximum-charge limits are respected by the SDK; the run stops when reached.
Limits, errors and availability
Only the official TED API is requested. A proven request client is reused from NEWAPI18 with its original hash recorded in evidence/reuse.json; other projects are unchanged. Requests are sequential, spaced at least 0.4 seconds, with <=20 total requests, three attempts for 429/transient 5xx and bounded backoff. TED's published fair usage is 700 HTTP requests/minute and 600 notice views/downloads in six minutes; these limits are well below it.
Search uses PAGE_NUMBER pagination (<=50 records per page, <=60 pages, under TED's 15,000-notice pagination ceiling and 10,000 fields/page limit). Rapid source updates can shift pages; stable per-version dedup prevents repeat billing. A new query starts at page 1 and durable dedup skips completed versions.
SUMMARY records per-source status/error, scanned/filtered/invalid/duplicate/emitted counts, page/request limits and runtime. HTTP 403/404 are not retried or bypassed; 429/5xx receive bounded retries. Exhausted budgets and invalid rows are disclosed. If every source fails, the run is FAILED with SUMMARY retained. Partial runs keep valid results. Neither zero output nor a successful run guarantees comprehensive source coverage.
The default uses 256 MB and a 270-second cloud timeout, targeting under five minutes including normal startup. No proxy or external AI is required. Narrow filters can cost compute while producing no billable rows; assess the measured run cost before approving pricing.
n8n, Make and Clay
n8n: HTTP Request POST https://api.apify.com/v2/acts/afkdigital~newapi117-software-tender-opportunity-filter/runs with an Apify credential stored in n8n's credential manager and the example input JSON. Poll GET /v2/actor-runs/{id} until terminal. Read /v2/datasets/{defaultDatasetId}/items?format=json. Split records, use recordId as your upsert key, and branch on eventType. Do not enable downstream sending without a separate decision.
Make: Apify Run an Actor module → watch/get run completion → Get Dataset Items → Iterator → Data Store Add/Replace Record keyed by recordId. Route cancellation/result separately from initial_notice and correction. Store credentials in Make connections; do not place them in exported blueprints.
Clay: Run via an authenticated HTTP integration and import Dataset JSON/CSV. Map recordId to a unique row ID, title to opportunity, buyerOrAgency to buyer, sourceUrl to evidence, deadline/deadlineTimezone to separate columns, and eventType/status/limitations to review flags. A keyword match is not a qualified lead.
The examples directory contains default input, synthetic FILE input, a credential-free n8n polling outline, Make module mapping and Clay column mapping.
Development
cd /opt/NEWAPI/NEWAPI117.venv/bin/python -m unittest discover -s tests -vnpx apify-cli validate-schema
Dockerfile pins Python-side dependencies. Runtime imports no credentials from the server. Credentials, .venv, local storage, logs and evidence are excluded from upload. Local/cloud evidence is kept on the authorized server.