The UK government publishes every public sector contract opportunity as open data, free, with no API key required. If you build tools for small businesses, bid teams or procurement analysis, this is a rich dataset — and it's all licensed under the Open Government Licence v3.0.

This tutorial shows you how to pull live tender data from the two official UK sources using Python and the OCDS (Open Contracting Data Standard) format.

The two official sources

Source What it covers API endpoint
Find a Tender Central UK platform for most public contracts in England, Wales & Northern Ireland (above threshold) https://www.find-tender.service.gov.uk/api/1.0/ocdsReleasePackages
Contracts Finder Lower-value contracts in England, including below-threshold notices https://www.contractsfinder.service.gov.uk/Published/Notices/OCDS/Search

Both endpoints return OCDS release packages (JSON). The data is published under the Open Government Licence v3.0 — you can reuse it commercially as long as you attribute it.

Fetch the latest tenders from Find a Tender

import requests import time FAT_URL = "https://www.find-tender.service.gov.uk/api/1.0/ocdsReleasePackages" def fetch_find_a_tender(limit=100, stages="tender"): """ Fetch tender notices from Find a Tender. Returns a list of OCDS releases. """ params = { "limit": limit, "stages": stages, # "tender" for open opportunities, "award" for contract awards } headers = {"Accept": "application/json"} r = requests.get(FAT_URL, params=params, headers=headers, timeout=60) r.raise_for_status() data = r.json() releases = data.get("releases", []) next_link = data.get("links", {}).get("next") # Handle pagination (follow next links) while next_link and len(releases) < limit * 5: # safety cap time.sleep(0.5) # be polite — the API can return 429 r = requests.get(next_link, headers=headers, timeout=60) if r.status_code == 429: time.sleep(2) continue r.raise_for_status() data = r.json() releases.extend(data.get("releases", [])) next_link = data.get("links", {}).get("next") return releases[:limit] def parse_release(rel): """Extract the useful fields from an OCDS release.""" tender = rel.get("tender", {}) parties = rel.get("parties", []) # Buyer = party with role "buyer" buyer = next( (p["name"] for p in parties if "buyer" in p.get("roles", [])), "Unknown" ) # Value (may be null for unpublished budgets) value = (tender.get("value") or {}).get("amount") currency = (tender.get("value") or {}).get("currency", "GBP") # Deadline deadline = (tender.get("tenderPeriod") or {}).get("endDate") # CPV category (first two digits = broad sector) cpv = (tender.get("classification") or {}).get("id") # Region (NUTS codes, e.g. UKI = London) regions = [ addr.get("region") for item in tender.get("items", []) for addr in item.get("deliveryAddresses", []) if addr.get("region") ] return { "ocid": rel.get("ocid"), "title": tender.get("title"), "buyer": buyer, "value": value, "currency": currency, "deadline": deadline, "cpv": cpv, "regions": regions, "source": "find-a-tender", } if __name__ == "__main__": releases = fetch_find_a_tender(limit=10) for rel in releases: parsed = parse_release(rel) print( f"{parsed['title']} | {parsed['buyer']} | " f"£{parsed['value']} | closes {parsed['deadline']} | CPV: {parsed['cpv']}" ) 

Sample output (live call, 21 Nov 2026):

Provision of Laptops | Foreign, Commonwealth and Development Office | £241000 | closes 2026-10-12T17:00:00+01:00 | CPV: 30213100 Grounds Maintenance Services | Blackpool Council | £None | closes 2026-11-30T12:00:00+00:00 | CPV: 77310000 ... 

Tip: The API sometimes returns 429 Too Many Requests. Back off and retry rather than hammering it.

Contracts Finder works the same way

CF_URL = "https://www.contractsfinder.service.gov.uk/Published/Notices/OCDS/Search" def fetch_contracts_finder(limit=100, stages="tender"): params = { "size": limit, "orderBy": "publishedDate", "stages": stages, } headers = {"Accept": "application/json"} r = requests.get(CF_URL, params=params, headers=headers, timeout=60) r.raise_for_status() data = r.json() releases = data.get("releases", []) next_link = data.get("links", {}).get("next") while next_link and len(releases) < limit * 5: time.sleep(0.5) r = requests.get(next_link, headers=headers, timeout=60) if r.status_code == 429: time.sleep(2) continue r.raise_for_status() data = r.json() releases.extend(data.get("releases", [])) next_link = data.get("links", {}).get("next") return releases[:limit] 

The parse_release() function above works for Contracts Finder releases too — the OCDS structure is identical.

In practice, Contracts Finder often has more live opportunities for small suppliers, because many of its notices are below the main procurement thresholds and still open.

Useful OCDS fields at a glance

Field Where in OCDS
Title tender.title
Buyer parties[] where roles includes buyer
Value tender.value.amount
Currency tender.value.currency
Deadline tender.tenderPeriod.endDate
Category (CPV) tender.classification.id (first 2 digits = sector)
Region (NUTS) tender.deliveryAddresses[].region
Documents tender.documents[].url

Sector cheat-sheet (CPV first two digits)

  • 45 — Construction works
  • 72 — IT services
  • 77 — Cleaning services
  • 85 — Health & social care
  • 90 — Waste management, cleaning

Deduplication & award notices

  • Dedupe by ocid: the same procurement appears in multiple releases (planning → tender → award).
  • Award notices (stages=award) tell you who won (awards[].suppliers) — great for competitor research.
# Fetch award notices (who won) awards = fetch_find_a_tender(limit=50, stages="award") for rel in awards: for award in rel.get("awards", []): suppliers = [s["name"] for s in award.get("suppliers", [])] value = award.get("value", {}).get("amount") print(f"{rel.get('tender', {}).get('title')} → {suppliers} | £{value}") 

Don't want to write code?

I built a free site that does all of the above every morning: UK Tender Finder — every open UK tender sorted by trade, region and buyer, plus who won past contracts. The guide this article is based on is here: How to find UK public sector tenders (free). There's also a ready-made tender tracker on Apify that exports CSV/JSON if you need the data in a pipeline.

Contains public sector information licensed under the Open Government Licence v3.0. Always check the official notice before bidding.