{
  "openapi": "3.0.1",
  "info": {
    "title": "UK & EU Public Tenders: Find a Tender & TED",
    "description": "UK and EU public tenders from the official Find a Tender, TED and Contracts Finder APIs in one table: buyer, value, CPV, deadline and UK award winners. Filter by keyword, CPV, country and value; schedule it daily with only-new mode for bid alerts. No login. $3 per 1,000 notices.",
    "version": "0.1",
    "x-build-id": "dI1OgzSeKyoQhzx2J"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/oldjard~uk-eu-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-oldjard-uk-eu-public-tenders",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/oldjard~uk-eu-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-oldjard-uk-eu-public-tenders",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/oldjard~uk-eu-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-oldjard-uk-eu-public-tenders",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "A notice matches if it contains any of these words or phrases (case and accents ignored). UK notices are matched on title, description and buyer; TED searches the whole notice in every language, so add translations (e.g. \"cleaning\", \"nettoyage\", \"Reinigung\") for wider EU coverage. Leave empty for every notice.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Common Procurement Vocabulary codes. A code covers everything under it: 72000000 (IT services) also matches 72212000, 72400000 and so on. With or without the check digit (72000000-8).",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Buyer countries",
            "type": "array",
            "description": "Two-letter codes of the buyer's country, e.g. GB, IE, DE, FR, NL. GB (or UK) searches Find a Tender; any other country searches TED. Empty = the UK and every country on TED.",
            "items": {
              "type": "string"
            }
          },
          "noticeKinds": {
            "title": "Notice kinds",
            "type": "array",
            "description": "Which notices to return. Default: open opportunities only.",
            "items": {
              "type": "string",
              "enum": [
                "tender",
                "planning",
                "award"
              ],
              "enumTitles": [
                "Open opportunities (contract notices)",
                "Early notices (prior information, pipeline, market engagement)",
                "Contract awards"
              ]
            },
            "default": [
              "tender"
            ]
          },
          "dateFrom": {
            "title": "Published from",
            "type": "string",
            "description": "First publication date: YYYY-MM-DD, or relative such as \"yesterday\", \"3 days\", \"2 weeks\", \"1 month\". Default: 3 days ago."
          },
          "dateTo": {
            "title": "Published to",
            "type": "string",
            "description": "Last publication date (inclusive). Default: today."
          },
          "minValue": {
            "title": "Minimum value",
            "minimum": 0,
            "type": "integer",
            "description": "Estimated contract value (awarded value for awards), in the notice's own currency (GBP for the UK, mostly EUR on TED). Setting a value range leaves out notices that don't state a value."
          },
          "maxValue": {
            "title": "Maximum value",
            "minimum": 0,
            "type": "integer",
            "description": "Upper limit, same rules as the minimum."
          },
          "onlyOpen": {
            "title": "Still open only",
            "type": "boolean",
            "description": "Leave out opportunities whose deadline has passed. Notices without a deadline are kept.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "Return only notices this search hasn't returned before (and charge only for those). Made for a daily schedule: each run gives you just what's new. The memory is kept per search (same keywords, CPV codes, countries, kinds and values) in a key-value store named public-tenders-state in your account.",
            "default": false
          },
          "savedSearchName": {
            "title": "Saved search name (optional)",
            "type": "string",
            "description": "With \"Only new\", give the search a name to keep its memory when you change its filters, or to run two copies of one search separately."
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Official APIs to search. Contracts Finder is off by default: since the Procurement Act 2023 new UK notices are published on Find a Tender, and on 5 October 2026 Contracts Finder's search returned no notices.",
            "items": {
              "type": "string",
              "enum": [
                "fts",
                "ted",
                "contractsFinder"
              ],
              "enumTitles": [
                "Find a Tender (UK)",
                "TED (EU, EEA and others)",
                "Contracts Finder (UK, legacy)"
              ]
            },
            "default": [
              "fts",
              "ted"
            ]
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many notices in total (0 = no limit). A run also stops at your maximum cost per run. Default 100 keeps a first run cheap; 0 = no limit.",
            "default": 100
          },
          "failOnError": {
            "title": "Fail the run if a source fails",
            "type": "boolean",
            "description": "By default a run that gets results from one source succeeds even if another source is down (the run's OUTPUT record says which). Turn on to make the run fail instead.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}