Tenders All docs

Tenders API Reference

3 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Public tenders API page.

GET/v1/tenders2 credits

Search open and recent public procurement notices from the EU (TED), the UK (Find a Tender, Contracts Finder), the US (SAM.gov) and Canada (CanadaBuys) in one shape. Costs 2 credits.

ParameterInTypeRules
qquerystringmax 100 chars · Words to find in the title, description or buyer name. Every word must match (prefix match).
countryquerystringISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 country of the buyer, e.g. DE, FR, GB, US, CA.
cpvquerystringCPV code or prefix, e.g. 72 (IT services) or 45233000. EU and UK notices only.
naicsquerystringNAICS code or prefix. US notices only.
sourcequerystringone of ted, uk-fts, uk-cf, sam, canadabuys · Limit to one source.
statusquerystringone of active, planned, closed, cancelled · active = open for bids now; planned = pre-tender or sources sought; closed = deadline passed.
min_valuequerynumberMinimum estimated value, in the notice currency.
max_valuequerynumberMaximum estimated value, in the notice currency.
currencyquerystringISO 4217 currency of the value, e.g. EUR. Use it with min_value or max_value.
deadline_afterquerystringOnly notices whose bid deadline is on or after this date.
deadline_beforequerystringOnly notices whose bid deadline is on or before this date.
published_afterquerystringOnly notices published on or after this date.
pagequeryintegerdefault 1 · Page number.
limitqueryinteger1 to 100 · default 20 · Results per page.
GET/v1/tenders
curl 'https://api.apifor.dev/v1/tenders' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": [
    {
      "id": "ukfts-ocds-h6vhtk-07c63c",
      "source": "uk-fts",
      "country": "GB",
      "buyer": "Science Museum Group",
      "title": "Station Hall Evaluation Services",
      "description": "Station Hall is a grade II listed building and permanent exhibition space. Following extensive construction works and a new permanent exh...",
      "cpv": [
        "73210000"
      ],
      "naics": [],
      "value": 30000,
      "currency": "GBP",
      "published_at": "2026-11-28T12:24:38.000Z",
      "deadline_at": "2026-12-18T23:59:59.000Z",
      "status": "active",
      "notice_type": "UK4",
      "url": "https://www.find-tender.service.gov.uk/Notice/112826-2026"
    },
    {
      "id": "sam-322338355ae84c6ebabbea545495ac0d",
      "source": "sam",
      "country": "US",
      "buyer": "NATIONAL OCEANIC AND ATMOSPHERIC ADMINISTRATION",
      "title": "S--Landscaping services for Eureka CA WFO",
      "description": "Landscaping services for Eureka CA Weather Forecast Office",
      "cpv": [],
      "naics": [
        "561730"
      ],
      "value": null,
      "currency": null,
      "published_at": "2026-11-27T00:00:00.000Z",
      "deadline_at": "2026-11-30T21:00:00.000Z",
      "status": "active",
      "notice_type": "Solicitation",
      "url": "https://sam.gov/opp/322338355ae84c6ebabbea545495ac0d/view"
    }
  ],
  "meta": {
    "total": 2,
    "page": 1,
    "per_page": 20,
    "total_pages": 1,
    "attribution": {
      "source": "EU TED (Publications Office of the EU); UK Find a Tender and Contracts Finder (Cabinet Office); SAM.gov Contract Opportunities (US GSA); ...",
      "license": "TED: EU reuse policy, Decision 2011/833/EU; UK: Open Government Licence v3.0; Canada: Open Government Licence – Canada; SAM.gov: US publi...",
      "license_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
      "source_url": "https://ted.europa.eu",
      "attribution_page": "https://ted.europa.eu/en/legal-notice",
      "notice": "© European Union (TED notices). Contains public sector information licensed under the Open Government Licence v3.0. Contains information ..."
    }
  }
}
  • 200Matching notices, newest first
  • 400Invalid parameter (not charged)
  • 401Missing or invalid API key
  • 402Not enough credits
GET/v1/tenders/{id}1 credit

The full notice: long description, source id, extra details and the link to the original notice. Costs 1 credit.

ParameterInTypeRules
id *pathstringTender id from search, e.g. ted-820475-2026 or sam-322338355ae84c6ebabbea545495ac0d.
GET/v1/tenders/{id}
curl 'https://api.apifor.dev/v1/tenders/ID' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "id": "sam-322338355ae84c6ebabbea545495ac0d",
    "source": "sam",
    "country": "US",
    "buyer": "NATIONAL OCEANIC AND ATMOSPHERIC ADMINISTRATION",
    "title": "S--Landscaping services for Eureka CA WFO",
    "description": "Landscaping services for Eureka CA Weather Forecast Office",
    "cpv": [],
    "naics": [
      "561730"
    ],
    "value": null,
    "currency": null,
    "published_at": "2026-11-27T00:00:00.000Z",
    "deadline_at": "2026-11-30T21:00:00.000Z",
    "status": "active",
    "notice_type": "Solicitation",
    "url": "https://sam.gov/opp/322338355ae84c6ebabbea545495ac0d/view",
    "source_id": "322338355ae84c6ebabbea545495ac0d",
    "details": {
      "solicitation_number": "1305M327Q0051",
      "department": "COMMERCE, DEPARTMENT OF",
      "office": "DEPT OF COMMERCE NOAA",
      "psc_code": "S208",
      "set_aside": "Small Business Set Aside - Total",
      "place_of_performance": "Eureka, CA, USA"
    },
    "first_seen_at": "2026-11-28T15:45:00.000Z",
    "updated_at": "2026-11-28T15:45:00.000Z"
  },
  "meta": {
    "attribution": {
      "source": "EU TED (Publications Office of the EU); UK Find a Tender and Contracts Finder (Cabinet Office); SAM.gov Contract Opportunities (US GSA); ...",
      "license": "TED: EU reuse policy, Decision 2011/833/EU; UK: Open Government Licence v3.0; Canada: Open Government Licence – Canada; SAM.gov: US publi...",
      "license_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
      "source_url": "https://ted.europa.eu",
      "attribution_page": "https://ted.europa.eu/en/legal-notice",
      "notice": "© European Union (TED notices). Contains public sector information licensed under the Open Government Licence v3.0. Contains information ..."
    }
  }
}
  • 200The tender
  • 400Invalid parameter (not charged)
  • 401Missing or invalid API key
  • 402Not enough credits
  • 404No tender with that id (not charged)
GET/v1/tenders/changes2 credits

Poll for notices that were added or changed since a timestamp. Use next_cursor while has_more is true, then poll again later with since=next_since. Data refreshes once a day (01:20 UTC). Costs 2 credits.

ParameterInTypeRules
since *querystringISO 8601 time. Returns notices changed after it.
qquerystringmax 100 chars · Words to find in the title, description or buyer name. Every word must match (prefix match).
countryquerystringISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 country of the buyer, e.g. DE, FR, GB, US, CA.
cpvquerystringCPV code or prefix, e.g. 72 (IT services) or 45233000. EU and UK notices only.
naicsquerystringNAICS code or prefix. US notices only.
sourcequerystringone of ted, uk-fts, uk-cf, sam, canadabuys · Limit to one source.
statusquerystringone of active, planned, closed, cancelled · active = open for bids now; planned = pre-tender or sources sought; closed = deadline passed.
limitqueryinteger1 to 200 · default 100 · Results per page.
cursorquerystringnext_cursor from the previous response.
GET/v1/tenders/changes
curl 'https://api.apifor.dev/v1/tenders/changes?since=' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": [
    {
      "id": "ca-MX-243100859354",
      "source": "canadabuys",
      "country": "CA",
      "buyer": "Defence Construction Canada - Ontario Region",
      "title": "Request for Expression of Interest (RFEOI) for New CADSS/MAJAID Facility",
      "description": "DEFENCE CONSTRUCTION CANADA (DCC) – TRS18081_73944 – New CADSS/MAJAID Facility, Trenton, Ontario Defence Construction Canada ...",
      "cpv": [],
      "naics": [],
      "value": null,
      "currency": null,
      "published_at": "2026-11-19T00:00:00.000Z",
      "deadline_at": "2026-12-21T19:00:00.000Z",
      "status": "active",
      "notice_type": null,
      "url": "https://www.merx.com/public/solicitations/4205294574/abstract?language=EN",
      "change": "new",
      "changed_at": "2026-11-28T15:45:00.000Z"
    }
  ],
  "meta": {
    "since": "2026-11-28T00:00:00.000Z",
    "count": 1,
    "has_more": false,
    "next_cursor": null,
    "next_since": "2026-11-28T15:45:00.000Z",
    "attribution": {
      "source": "EU TED (Publications Office of the EU); UK Find a Tender and Contracts Finder (Cabinet Office); SAM.gov Contract Opportunities (US GSA); ...",
      "license": "TED: EU reuse policy, Decision 2011/833/EU; UK: Open Government Licence v3.0; Canada: Open Government Licence – Canada; SAM.gov: US publi...",
      "license_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
      "source_url": "https://ted.europa.eu",
      "attribution_page": "https://ted.europa.eu/en/legal-notice",
      "notice": "© European Union (TED notices). Contains public sector information licensed under the Open Government Licence v3.0. Contains information ..."
    }
  }
}
  • 200Changed notices, oldest change first
  • 400Invalid parameter (not charged)
  • 401Missing or invalid API key
  • 402Not enough credits

Error handling · Rate limits · Prices