If you supply software, equipment or consulting services to public bodies, a useful tender feed starts with a specific question: which notices match your sector, and what has appeared since your last check?
You can build that feed from official sources. TED provides published procurement notices through a search API. The UK government's Find a Tender service provides notices as Open Contracting Data Standard (OCDS) JSON. This walkthrough collects notice metadata, remembers delivered IDs and exports new rows to CSV. There is also a no-code option below.
1. Choose the sources and the scope
TED: its public Search API accepts expert queries at POST https://api.ted.europa.eu/v3/notices/search, without authentication. Request only the fields you need. CPV codes describe the procurement category; buyer country and place of performance are separate filters. Official TED Search API documentation.
Find a Tender: the official release-package endpoint is GET https://www.find-tender.service.gov.uk/api/1.0/ocdsReleasePackages. An ocid identifies a procurement process, while a release represents a published notice or update within that process. GOV.UK Open Contracting documentation.
Neither source should be described as a complete list of every public purchasing opportunity. A notice feed is also different from a list of contracts you can still bid for. Check the notice type, current status and submission deadline before treating a result as an opportunity.
2. Collect new notice metadata with Python
Install the dependency with python -m pip install requests, then save this as tender_feed.py.
The example searches TED for recent IT-service competition notices from German buyers. It also collects recent UK releases across all stages, so an award or cancellation is not silently presented as a new invitation to tender. Adjust the TED filters for your market.
import csv import json from datetime import datetime, timedelta, timezone from pathlib import Path import requests TED = "https://api.ted.europa.eu/v3/notices/search" UK = "https://www.find-tender.service.gov.uk/api/1.0/ocdsReleasePackages" STATE = Path("seen-notices.json") MAX_PAGES = 100 def text(value): if isinstance(value, dict): value = value.get("eng") or next(iter(value.values()), "") if isinstance(value, list): value = value[0] if value else "" return str(value or "") def ted_rows(http, since): query = ( f"publication-date>={since:%Y%m%d} " "AND buyer-country=DEU " "AND classification-cpv IN (72000000) " "AND notice-type IN (cn-standard cn-social cn-desg)" ) body = { "query": query, "fields": ["publication-number", "publication-date", "notice-title"], "limit": 100, "paginationMode": "ITERATION", } for _ in range(MAX_PAGES): response = http.post(TED, json=body, timeout=60) response.raise_for_status() data = response.json() notices = data.get("notices", []) for notice in notices: notice_id = notice["publication-number"] yield { "key": f"TED:{notice_id}", "source": "TED", "process_id": "", "notice_id": notice_id, "published": text(notice.get("publication-date"))[:10], "stage": "competition notice", "title": text(notice.get("notice-title")), "url": f"https://ted.europa.eu/en/notice/-/detail/{notice_id}", } token = data.get("iterationNextToken") # TED keeps returning a token: stop on a short or empty page. if not token or len(notices) < body["limit"]: return body["iterationNextToken"] = token raise RuntimeError("TED page cap reached; narrow the date window.") def uk_rows(http, since, until): url = UK params = { "updatedFrom": since.strftime("%Y-%m-%dT%H:%M:%S"), "updatedTo": until.strftime("%Y-%m-%dT%H:%M:%S"), "limit": 100, } for _ in range(MAX_PAGES): response = http.get(url, params=params, timeout=60) response.raise_for_status() data = response.json() for release in data.get("releases", []): ocid, notice_id = release["ocid"], release["id"] yield { "key": f"FTS:{ocid}:{notice_id}", "source": "UK Find a Tender", "process_id": ocid, "notice_id": notice_id, "published": release.get("date", ""), "stage": ", ".join(release.get("tag", [])), "title": (release.get("tender") or {}).get("title", ""), "url": f"https://www.find-tender.service.gov.uk/Notice/{notice_id}", } url = (data.get("links") or {}).get("next") if not url: return params = None # Follow the returned cursor URL unchanged. raise RuntimeError("UK page cap reached; narrow the date window.") def main(): until = datetime.now(timezone.utc).replace(microsecond=0) since = until - timedelta(days=2) seen = set(json.loads(STATE.read_text(encoding="utf-8"))) if STATE.exists() else set() fresh = {} with requests.Session() as http: http.headers["User-Agent"] = "tender-feed-example/1.0" for row in ted_rows(http, since): if row["key"] not in seen: fresh[row["key"]] = row for row in uk_rows(http, since, until): if row["key"] not in seen: fresh[row["key"]] = row # Only replace the output and advance state after both sources succeed. fields = ["key", "source", "process_id", "notice_id", "published", "stage", "title", "url"] output = Path("new-notices.csv") temporary = output.with_suffix(".tmp") with temporary.open("w", newline="", encoding="utf-8") as handle: writer = csv.DictWriter(handle, fieldnames=fields) writer.writeheader() writer.writerows(fresh.values()) temporary.replace(output) state_tmp = STATE.with_suffix(".tmp") state_tmp.write_text(json.dumps(sorted(seen | set(fresh))), encoding="utf-8") state_tmp.replace(STATE) print(f"{len(fresh)} new notice records saved to {output}") if __name__ == "__main__": main() TED's iteration token retrieves subsequent result pages. For the UK endpoint, follow links.next rather than constructing a cursor yourself. The page cap is a safety limit in this example, not an API limit; reaching it stops the export with an error. TED pagination documentation, Find a Tender endpoint reference.
The UK API parameters have no timezone suffix; this example passes a UTC-based window. Verify the publisher's date handling for your integration and keep an overlap. The two-day window is an example setting, not a guarantee against late publication or longer outages.
3. Turn the export into a recurring check
Run python tender_feed.py once and inspect new-notices.csv. Then run it daily with your operating system's scheduler, using the same working directory and persistent seen-notices.json. Avoid overlapping runs. A fresh state file treats every result in the window as new.
The script replaces the CSV on each successful run, including a header-only file when there are no new records. Archive or consume each export before the next run. It does not send notifications. If you add delivery to another system, acknowledge delivery before marking records as delivered, and retain a retryable copy.
For a production monitor, add bounded retries for transient failures, respect Retry-After, and record failed runs. Expand the lookback after an outage. Keep separate IDs for a notice and a procurement process: deduplicating only on ocid would hide later releases.
To answer “is this still open?”, use the current procurement record and inspect deadlines and status. Simply keeping the last release you fetched is not a general substitute for OCDS compilation: a release can contain only part of a process. The OCDS releases and records guide explains the distinction.
4. Things that need a manual check
- Location: a buyer's address does not establish where the work takes place.
- Missing values: an absent budget or deadline is unknown, not zero or unlimited time.
- Language: a keyword in one language can miss notices written in another. Use CPV categories alongside carefully chosen keywords.
- Deadlines: check the original notice, lot and submission portal, including the time and timezone.
- Amendments: a newly delivered notice may amend an existing process. Preserve the relationship instead of counting each notice as a different contract.
The example exports IDs, titles, stages and source links. It does not export contact people, email addresses or award winners.
5. No-code option
I built EU & UK Public Tenders on Apify for a configured search and a flat export. It supports TED and Find a Tender, plus optional US federal tenders via SAM.gov with your own free key, with filters for countries, keywords, CPV categories and a publication window. Deadline and estimated-value fields are included where the source provides them.
Start with a narrow search. For a UK-only search, select UK and keep includeUk enabled. For a recurring discovery feed, enable onlyNew and keep the same monitorName and filters. Save the input as a task, inspect the first result, and add a daily Apify schedule.
Two limits matter:
- The Actor excludes building cleaning, caretaker, winter service and grounds maintenance tenders, as well as award notices. It does not add national opportunities absent from its sources.
- Its current UK “only new” mode remembers procurement IDs. Once a process has been delivered, later releases for that process are skipped. Use a separate update-tracking workflow if deadline changes matter. An unknown deadline also requires manual checking;
onlyOpenis not proof that every returned notice is still actionable.
Review the current Store pricing and run limits before scheduling.
(Disclosure: I built it. The Python example works independently of the Actor.)
Which matters more for your workflow: discovering new opportunities or tracking changes to ones you already follow?
Sources: TED, © European Union; UK Find a Tender. Contains public sector information licensed under the Open Government Licence v3.0.
