{
  "openapi": "3.0.1",
  "info": {
    "title": "DACH & EU Public Tenders Monitor (Official Open Data)",
    "description": "Public tenders from Germany, Austria and Switzerland incl. national tenders below the EU threshold, plus EU tenders from TED. Keyword, CPV and region filters, deadlines, values, monitor mode for new notices only. Official open data, no proxies, no login.",
    "version": "1.1",
    "x-build-id": "q7VvdtustPmXz9xNr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lupenfrei~german-eu-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lupenfrei-german-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/lupenfrei~german-eu-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-lupenfrei-german-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/lupenfrei~german-eu-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-lupenfrei-german-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": {
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "germany = all notices of the official German Bekanntmachungsservice (oeffentlichevergabe.de), including national tenders below the EU thresholds. austria = Austrian notices from the official open-data feeds (Kerndaten) registered on data.gv.at under the Bundesvergabegesetz, incl. below-threshold tenders. switzerland = all public notices of simap.ch, the official platform of the Swiss Confederation, cantons and municipalities. ted = EU-wide notices from TED (Tenders Electronic Daily). National notices that also appear on TED are delivered once. Default: germany + ted.",
            "items": {
              "type": "string",
              "enum": [
                "germany",
                "austria",
                "switzerland",
                "ted"
              ],
              "enumTitles": [
                "Germany – oeffentlichevergabe.de (federal, state & municipal, incl. below EU threshold)",
                "Austria – Kerndaten via data.gv.at (incl. below EU threshold)",
                "Switzerland – simap.ch (Confederation, cantons, municipalities)",
                "EU – TED (all EU/EEA countries, above EU threshold)"
              ]
            },
            "default": [
              "germany",
              "ted"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Return notices whose title or description contains ANY of these words (case-insensitive). Use the language of the notices: German for Germany and Austria; German, French or Italian for Switzerland, e.g. \"Software\", \"Informatik\", \"logiciel\", \"Reinigung\". Leave empty for all notices.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop notices whose title or description contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV code prefixes",
            "type": "array",
            "description": "Common Procurement Vocabulary prefixes. A prefix matches all sub-codes, e.g. \"72\" = IT services, \"48\" = software packages, \"45\" = construction work, \"909\" = cleaning services.",
            "items": {
              "type": "string"
            }
          },
          "nutsCodes": {
            "title": "Region (NUTS code prefixes)",
            "type": "array",
            "description": "Place of performance or buyer region as NUTS prefix, e.g. \"DE2\" = Bavaria, \"DEA\" = North Rhine-Westphalia, \"DE3\" = Berlin, \"AT13\" = Vienna, \"AT33\" = Tyrol, \"CH04\" = Zurich, \"CH01\" = Lake Geneva region (Swiss cantons are mapped to their NUTS codes).",
            "items": {
              "type": "string"
            }
          },
          "noticeCategories": {
            "title": "Notice categories",
            "type": "array",
            "description": "competition = open calls for tenders (default). planning = prior information notices. result = contract award notices. change = corrections. cont-modif = contract modifications. dir-awa-pre = intended direct awards.",
            "items": {
              "type": "string",
              "enum": [
                "competition",
                "planning",
                "result",
                "change",
                "cont-modif",
                "dir-awa-pre"
              ],
              "enumTitles": [
                "Calls for tenders",
                "Prior information / planning",
                "Contract awards",
                "Corrections",
                "Contract modifications",
                "Intended direct awards"
              ]
            },
            "default": [
              "competition"
            ]
          },
          "onlyOpen": {
            "title": "Only tenders with a future deadline",
            "type": "boolean",
            "description": "Skip calls for tenders whose submission deadline has already passed.",
            "default": true
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Publication window in days, ending today. Ignored when Date from is set. The German export for a day is available from the next day. Swiss notices of the current day are released from 08:00 Swiss time (simap.ch terms).",
            "default": 3
          },
          "dateFrom": {
            "title": "Date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional start of the publication date range."
          },
          "dateTo": {
            "title": "Date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional end of the publication date range (max. 90 days after Date from)."
          },
          "tedCountries": {
            "title": "TED buyer countries (ISO 3166 alpha-3)",
            "type": "array",
            "description": "Countries of the contracting authority for the TED source, e.g. DEU, AUT, CHE, FRA, NLD, POL. Empty list = all countries.",
            "default": [
              "DEU",
              "AUT"
            ],
            "items": {
              "type": "string"
            }
          },
          "legalBasis": {
            "title": "Threshold",
            "enum": [
              "all",
              "national",
              "eu"
            ],
            "type": "string",
            "description": "national = only national procedures below the EU threshold (UVgO, VOB/A, BVergG below threshold …). eu = only EU-directive procedures. For Switzerland, eu means the international WTO-GPA scope (Staatsvertragsbereich).",
            "default": "all"
          },
          "minEstimatedValue": {
            "title": "Minimum estimated value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only notices with a published estimated value of at least this amount. Many notices publish no value – they are dropped when this is set."
          },
          "onlyNew": {
            "title": "Monitor mode: only new notices",
            "type": "boolean",
            "description": "Remember delivered notices and skip them in later runs. Schedule the Actor daily to get a feed of new tenders only – you pay only for new results.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Separate memory per monitor, so several schedules with different filters do not interfere.",
            "default": "default"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many tenders.",
            "default": 1000
          },
          "preferredLanguages": {
            "title": "Preferred languages (TED, Switzerland)",
            "type": "array",
            "description": "Language order for multilingual TED and simap.ch fields (ISO 639-2/B codes such as deu, eng, fra, ita).",
            "default": [
              "deu",
              "eng"
            ],
            "items": {
              "type": "string"
            }
          },
          "descriptionMaxLength": {
            "title": "Max description length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate long descriptions to this many characters (0 = no limit).",
            "default": 2000
          },
          "includeLots": {
            "title": "Include lot details",
            "type": "boolean",
            "description": "Add a lots array (title, CPV, value, deadline, contract period per lot) for German, Austrian and Swiss notices.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}