{
  "openapi": "3.0.1",
  "info": {
    "title": "EU TED Tenders API – Czech, Slovak, Hungarian & Prozorro",
    "description": "EU public tenders from TED (EU-27 + NO, IS, LI, CH) and CEE national feeds: Czech, Slovak Vestník, Hungarian and Ukrainian Prozorro. CPV, value, deadline, status, daily only-new alerts, MCP. CSV, JSON, Excel.",
    "version": "0.2",
    "x-build-id": "ZwHEIwWfb5HF0kiYs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/enterprising_hamster~cee-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-enterprising_hamster-cee-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/enterprising_hamster~cee-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-enterprising_hamster-cee-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/enterprising_hamster~cee-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-enterprising_hamster-cee-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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries to collect. Czechia, Slovakia, Hungary and Ukraine are the default. Slovakia (Vestník, including below-threshold calls) and Ukraine (Prozorro) come from national open data; every other country, including Czechia and Hungary, comes from TED and covers only tenders above the EU thresholds (plus voluntary EU-wide notices). maxItems applies per country.",
            "items": {
              "type": "string",
              "enum": [
                "CZ",
                "SK",
                "HU",
                "UA",
                "AT",
                "BE",
                "BG",
                "HR",
                "CY",
                "DK",
                "EE",
                "FI",
                "FR",
                "DE",
                "GR",
                "IE",
                "IT",
                "LV",
                "LT",
                "LU",
                "MT",
                "NL",
                "PL",
                "PT",
                "RO",
                "SI",
                "ES",
                "SE",
                "NO",
                "IS",
                "LI",
                "CH"
              ],
              "enumTitles": [
                "Czechia (TED)",
                "Slovakia (Vestník verejného obstarávania)",
                "Hungary (TED)",
                "Ukraine (Prozorro)",
                "Austria (TED, above EU thresholds)",
                "Belgium (TED, above EU thresholds)",
                "Bulgaria (TED, above EU thresholds)",
                "Croatia (TED, above EU thresholds)",
                "Cyprus (TED, above EU thresholds)",
                "Denmark (TED, above EU thresholds)",
                "Estonia (TED, above EU thresholds)",
                "Finland (TED, above EU thresholds)",
                "France (TED, above EU thresholds)",
                "Germany (TED, above EU thresholds)",
                "Greece (TED, above EU thresholds)",
                "Ireland (TED, above EU thresholds)",
                "Italy (TED, above EU thresholds)",
                "Latvia (TED, above EU thresholds)",
                "Lithuania (TED, above EU thresholds)",
                "Luxembourg (TED, above EU thresholds)",
                "Malta (TED, above EU thresholds)",
                "Netherlands (TED, above EU thresholds)",
                "Poland (TED, above EU thresholds)",
                "Portugal (TED, above EU thresholds)",
                "Romania (TED, above EU thresholds)",
                "Slovenia (TED, above EU thresholds)",
                "Spain (TED, above EU thresholds)",
                "Sweden (TED, above EU thresholds)",
                "Norway (TED, above EU thresholds)",
                "Iceland (TED, above EU thresholds)",
                "Liechtenstein (TED, above EU thresholds)",
                "Switzerland (TED, above EU thresholds)"
              ]
            },
            "default": [
              "CZ",
              "SK",
              "HU",
              "UA"
            ]
          },
          "lastDays": {
            "title": "Published in the last N days",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Window of publication dates, counted back from now. Slovakia uses the date a bulletin was released as open data.",
            "default": 7
          },
          "onlyOpen": {
            "title": "Only tenders open for bids",
            "type": "boolean",
            "description": "Keep only calls for competition whose submission deadline is still in the future. Turn off to also get awards, cancellations, corrections and closed tenders.",
            "default": true
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. Keep tenders whose title, description or lot titles contain any of these words (case- and accent-insensitive, in the source language, e.g. software, stavba, építés, ремонт).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Optional. CPV codes or prefixes; 45000000-7 matches every code starting with 45, 7226 matches 72260000 etc. A tender matches when any of its CPV codes starts with any prefix.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Add description, lots with values and CPV codes, places of performance (NUTS or region), document and submission links and EU-funding flag. Charged as tender-with-details.",
            "default": false
          },
          "maxItems": {
            "title": "Max tenders per country",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit of dataset items for each selected country.",
            "default": 10
          },
          "onlyNew": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Skip (and do not charge) tenders already delivered by a previous run with the same state key. Use with a schedule for daily alerts.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the remembered set of delivered tenders. Use different keys for different monitors."
          },
          "maxRequestsPerSecond": {
            "title": "Max requests per second",
            "minimum": 0.2,
            "maximum": 5,
            "type": "number",
            "description": "Polite rate limit per source. Defaults to 3.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}