{
  "openapi": "3.0.1",
  "info": {
    "title": "EU TED Tenders Scraper – Public Procurement & Tender Alerts",
    "description": "EU tenders on TED with daily tender alerts for EU public procurement: calls for tenders, contract awards and RFPs from the official TED API. Filter by keyword, CPV code, country, value and deadline. English summaries. $0.004 per notice.",
    "version": "0.1",
    "x-build-id": "b1MfBddlAM5TXJn6n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wantmannu~eu-ted-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wantmannu-eu-ted-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/wantmannu~eu-ted-tenders/runs": {
      "post": {
        "operationId": "runs-sync-wantmannu-eu-ted-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/wantmannu~eu-ted-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-wantmannu-eu-ted-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": "Full-text keywords or phrases searched in all notice text and all languages (any keyword matches). Example: \"cybersecurity\", \"road maintenance\". Leave empty to get all notices.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Common Procurement Vocabulary codes. Matching is hierarchical: \"72000000\" (IT services) also matches every sub-code like 72212000. Short prefixes like \"72\" or \"4521\" are accepted and padded with zeros.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Buyer countries",
            "type": "array",
            "description": "Country of the contracting authority as ISO codes, e.g. \"DE\", \"FR\", \"PL\" (2- or 3-letter, \"UK\"/\"EL\" also accepted). Leave empty for all EU/EEA countries.",
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Which kinds of notices to return. Pick \"Contract notice\" for open calls for tenders you can bid on, \"Contract award notice\" for winners and prices. Empty = all types.",
            "items": {
              "type": "string",
              "enum": [
                "competition",
                "planning",
                "result",
                "dir-awa-pre",
                "cont-modif",
                "consultation"
              ],
              "enumTitles": [
                "Contract notice (call for tenders)",
                "Prior information / planning notice",
                "Contract award notice (result)",
                "Voluntary ex-ante transparency notice (direct award)",
                "Contract modification notice",
                "Preliminary market consultation"
              ]
            }
          },
          "minValueEur": {
            "title": "Minimum value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only notices whose total estimated (or awarded) value, converted to EUR with ECB reference rates, is at least this amount. Notices without a published value are excluded when a value filter is set."
          },
          "maxValueEur": {
            "title": "Maximum value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only notices whose total value in EUR is at most this amount."
          },
          "deadlineAfter": {
            "title": "Tender deadline on or after",
            "type": "string",
            "description": "Only notices with a tender submission deadline on or after this date (YYYY-MM-DD)."
          },
          "onlyOpenTenders": {
            "title": "Only tenders still open",
            "type": "boolean",
            "description": "Shortcut: only notices whose tender submission deadline is today or later.",
            "default": false
          },
          "lastNDays": {
            "title": "Last N days",
            "minimum": 1,
            "maximum": 732,
            "type": "integer",
            "description": "Publication window ending on \"Published to\" (default today). Ignored if \"Published from\" is set.",
            "default": 7
          },
          "dateFrom": {
            "title": "Published from",
            "type": "string",
            "description": "Start of the publication date range (YYYY-MM-DD). Overrides \"Last N days\"."
          },
          "dateTo": {
            "title": "Published to",
            "type": "string",
            "description": "End of the publication date range (YYYY-MM-DD). Defaults to today."
          },
          "language": {
            "title": "Preferred language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "pt",
              "ro",
              "cs",
              "sk",
              "sl",
              "hr",
              "hu",
              "bg",
              "el",
              "da",
              "sv",
              "fi",
              "et",
              "lv",
              "lt",
              "mt",
              "ga"
            ],
            "type": "string",
            "description": "Language for the translated headline, CPV label and TED links. Titles and descriptions are returned in this language when the buyer published one, otherwise in the original language.",
            "default": "en"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of notices to save (and be charged for) in this run. Default 10 is a cheap sample; raise it for bigger pulls.",
            "default": 10
          },
          "addSummary": {
            "title": "Add one-line English summary",
            "type": "boolean",
            "description": "Adds a \"summary\" field in English, e.g. \"Call for tenders: Carlow County Council (Ireland) is buying archaeological services (CPV 71351914): \\\"N80 Leagh Bends Scheme…\\\", est. €830K, open procedure. Deadline 20 Nov 2026.\" Built from the notice by fixed rules, not an AI model: free, instant and never invents facts. Original-language titles are quoted with their language code.",
            "default": true
          },
          "deltaMode": {
            "title": "Only new notices (delta mode)",
            "type": "boolean",
            "description": "Remember delivered notices and skip them in later runs with the same filters. Ideal for scheduled daily tender alerts.",
            "default": false
          },
          "deltaStoreName": {
            "title": "Delta state store name",
            "type": "string",
            "description": "Named key-value store used to remember delivered notices. Use different names to keep independent alert feeds.",
            "default": "eu-ted-tenders-delta"
          },
          "eformsNoticeTypes": {
            "title": "eForms notice types (advanced)",
            "type": "array",
            "description": "Raw TED eForms notice-type codes, e.g. \"cn-standard\", \"cn-social\", \"can-standard\", \"pin-only\", \"veat\", \"can-modif\".",
            "items": {
              "type": "string"
            }
          },
          "expertQuery": {
            "title": "Extra TED expert query (advanced)",
            "type": "string",
            "description": "Optional TED expert-search expression added with AND, e.g. procedure-type IN (open). See the TED expert search help. Do not include SORT BY."
          },
          "maxRequestsPerSecond": {
            "title": "Max TED requests per second",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Politeness limit toward the TED API (fair use allows 700 requests/minute; each request returns up to 250 notices).",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}