{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Public Tenders (TED) - official procurement notices search",
    "description": "Search EU public tenders on TED, the official EU journal: country, CPV, keywords, deadline, value. Clean rows, no contact names. $1.50 per 1,000 notices.",
    "version": "1.0",
    "x-build-id": "1yDc2kcAG5Ac4dDUT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/edgarfinance~eu-public-tenders-ted/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-edgarfinance-eu-public-tenders-ted",
        "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/edgarfinance~eu-public-tenders-ted/runs": {
      "post": {
        "operationId": "runs-sync-edgarfinance-eu-public-tenders-ted",
        "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/edgarfinance~eu-public-tenders-ted/run-sync": {
      "post": {
        "operationId": "run-sync-edgarfinance-eu-public-tenders-ted",
        "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 (full text)",
            "maxItems": 20,
            "type": "array",
            "description": "Words or exact phrases searched in the full text of the notice (title, description, buyer, lots), in any of the 24 EU languages. Each entry is searched as an exact phrase. Example: [\"cloud\", \"data center\"]. 2 to 100 characters per entry, 20 entries max. Leave empty to not filter by text.",
            "items": {
              "type": "string"
            }
          },
          "keywordsMatch": {
            "title": "Keyword logic",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "\"any\": a notice matches if it contains at least one keyword (OR). \"all\": it must contain every keyword (AND).",
            "default": "any"
          },
          "buyerCountries": {
            "title": "Buyer countries",
            "maxItems": 60,
            "type": "array",
            "description": "Country of the contracting authority (the buyer), as ISO 3166-1 codes: alpha-2 (FR, DE, PL) or alpha-3 (FRA, DEU, POL). Greece can be GR or EL. Several countries are combined with OR. Example: [\"FR\", \"BE\"]. Leave empty for all countries.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes (procurement categories)",
            "maxItems": 100,
            "type": "array",
            "description": "Common Procurement Vocabulary codes, 8 digits, with or without the check digit (72000000 or 72000000-5). A code also matches all its sub-codes: 45000000 (construction work) matches 45210000 (building construction). Several codes are combined with OR. Example: [\"72000000\"] for IT services. 100 codes max.",
            "items": {
              "type": "string"
            }
          },
          "noticeCategories": {
            "title": "Notice categories",
            "type": "array",
            "description": "Broad family of notice (TED field \"form-type\"). \"competition\" = open calls for tenders you can still answer when the deadline is in the future; \"result\" = contract award notices (who won); \"planning\" = prior information notices. Several values are combined with OR. Leave empty for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "planning",
                "competition",
                "result",
                "dir-awa-pre",
                "cont-modif",
                "consultation",
                "completion"
              ],
              "enumTitles": [
                "planning: Planning: prior information notices",
                "competition: Competition: calls for tenders and contract notices",
                "result: Result: contract award notices",
                "dir-awa-pre: Direct award prenotification (VEAT)",
                "cont-modif: Contract modification",
                "consultation: Pre-market consultation",
                "completion: Contract completion"
              ]
            }
          },
          "noticeTypes": {
            "title": "Exact notice types (advanced)",
            "type": "array",
            "description": "Exact eForms notice type (TED field \"notice-type\"), for finer control than \"Notice categories\". Example: [\"cn-standard\"] for standard contract notices only. Several values are combined with OR. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "pin-only",
                "pin-buyer",
                "pin-rtl",
                "pin-tran",
                "pin-cfc-standard",
                "pin-cfc-social",
                "qu-sy",
                "cn-standard",
                "cn-social",
                "cn-desg",
                "can-standard",
                "can-social",
                "can-desg",
                "can-tran",
                "can-modif",
                "veat",
                "compl",
                "pmc"
              ],
              "enumTitles": [
                "pin-only: Prior information notice (information only)",
                "pin-buyer: Prior information notice published on a buyer profile",
                "pin-rtl: Prior information notice used to shorten time limits",
                "pin-tran: Prior information notice (public passenger transport)",
                "pin-cfc-standard: Prior information notice used as a call for competition",
                "pin-cfc-social: Prior information notice used as a call for competition (social and other specific services)",
                "qu-sy: Notice on the existence of a qualification system",
                "cn-standard: Contract notice",
                "cn-social: Contract notice (social and other specific services)",
                "cn-desg: Design contest notice",
                "can-standard: Contract award notice",
                "can-social: Contract award notice (social and other specific services)",
                "can-desg: Design contest result notice",
                "can-tran: Contract award notice (public passenger transport)",
                "can-modif: Contract modification notice",
                "veat: Voluntary ex-ante transparency notice",
                "compl: Contract completion notice",
                "pmc: Pre-market consultation notice"
              ]
            }
          },
          "contractNatures": {
            "title": "Contract nature",
            "type": "array",
            "description": "Main nature of the contract: works (construction), supplies (goods) or services. Several values are combined with OR. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "supplies",
                "services"
              ],
              "enumTitles": [
                "works: Works",
                "supplies: Supplies (goods)",
                "services: Services"
              ]
            }
          },
          "procedureTypes": {
            "title": "Procedure types",
            "type": "array",
            "description": "Type of procurement procedure. Several values are combined with OR. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "open",
                "restricted",
                "neg-w-call",
                "neg-wo-call",
                "comp-dial",
                "innovation",
                "comp-tend",
                "oth-single",
                "oth-mult"
              ],
              "enumTitles": [
                "open: Open procedure",
                "restricted: Restricted procedure",
                "neg-w-call: Competitive procedure with negotiation (negotiated with prior call for competition)",
                "neg-wo-call: Negotiated procedure without prior call for competition",
                "comp-dial: Competitive dialogue",
                "innovation: Innovation partnership",
                "comp-tend: Competitive tendering (public passenger transport)",
                "oth-single: Other single stage procedure",
                "oth-mult: Other multiple stage procedure"
              ]
            }
          },
          "publishedFrom": {
            "title": "Published on or after (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "First publication date in the Official Journal (TED), included, written YYYY-MM-DD. Example: 2026-10-01. When empty, \"Published in the last N days\" is used instead."
          },
          "publishedTo": {
            "title": "Published on or before (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Last publication date, included, written YYYY-MM-DD. Example: 2026-10-31. Leave empty for no upper limit."
          },
          "publishedInLastDays": {
            "title": "Published in the last N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Used only when \"Published on or after\" is empty: keep notices published in the last N days (UTC). 0 = no date limit. Example: 7 for one week.",
            "default": 7
          },
          "onlyOpenForTenders": {
            "title": "Only notices still open for tenders",
            "type": "boolean",
            "description": "Keep only notices whose tender submission deadline (any lot) is today or later. Notices without a tender deadline (for example award notices, or restricted procedures that only give a deadline for requests to participate) are then excluded.",
            "default": false
          },
          "deadlineFrom": {
            "title": "Tender deadline on or after (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Keep notices with at least one lot whose tender submission deadline is on or after this date, written YYYY-MM-DD. Example: 2026-12-01."
          },
          "deadlineTo": {
            "title": "Tender deadline on or before (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Keep notices with at least one lot whose tender submission deadline is on or before this date, written YYYY-MM-DD. Example: 2026-12-31."
          },
          "minEstimatedValue": {
            "title": "Minimum estimated value",
            "minimum": 0,
            "type": "integer",
            "description": "Keep notices whose estimated total value of the procedure is at least this amount, in the currency of the notice (EUR for most notices; no currency conversion). Notices without an estimated value are then excluded. Example: 100000."
          },
          "maxEstimatedValue": {
            "title": "Maximum estimated value",
            "minimum": 0,
            "type": "integer",
            "description": "Keep notices whose estimated total value of the procedure is at most this amount, in the currency of the notice (no currency conversion). Notices without an estimated value are then excluded. Example: 5000000."
          },
          "language": {
            "title": "Language of titles and links",
            "enum": [
              "bg",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "es",
              "et",
              "fi",
              "fr",
              "ga",
              "hr",
              "hu",
              "it",
              "lt",
              "lv",
              "mt",
              "nl",
              "pl",
              "pt",
              "ro",
              "sk",
              "sl",
              "sv"
            ],
            "type": "string",
            "description": "Preferred language (ISO 639-1 code) for the \"title\" field and the notice links. TED translates titles into all 24 EU languages; if a title is missing in this language, English is used, then the official language of the notice.",
            "default": "en"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "\"newest\": most recent publication first. \"oldest\": oldest publication first.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Maximum number of notices",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many notices (each notice returned is one billed result). Example: 100. Maximum 100,000 per run.",
            "default": 100
          },
          "additionalQuery": {
            "title": "Extra TED expert query (advanced)",
            "type": "string",
            "description": "Optional clause in the official TED expert search syntax, added with AND to the filters above. Example: buyer-city = Lyon. Field names and syntax: https://ted.europa.eu/en/search/expert-search . Do not include SORT BY. 2,000 characters max."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}