{
  "openapi": "3.0.1",
  "info": {
    "title": "Germany Public Tenders Feed - Ausschreibungen (no key)",
    "description": "Daily German public tenders (Ausschreibungen) and contract awards from the official Bekanntmachungsservice open data (CC0): EU and national notices with deadline, CPV, value, buyer, Bundesland, document links and winners. No API key.",
    "version": "0.1",
    "x-build-id": "0VyQuhZLpuXvpYClk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moment-data~germany-public-tenders-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moment-data-germany-public-tenders-feed",
        "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/moment-data~germany-public-tenders-feed/runs": {
      "post": {
        "operationId": "runs-sync-moment-data-germany-public-tenders-feed",
        "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/moment-data~germany-public-tenders-feed/run-sync": {
      "post": {
        "operationId": "run-sync-moment-data-germany-public-tenders-feed",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "window",
              "sinceLastRun"
            ],
            "type": "string",
            "description": "'window' returns the newest matching notices of the last daysBack days. 'sinceLastRun' remembers delivered notices in a named key-value store (per stateKey) and returns only new ones - use it for daily schedules.",
            "default": "window"
          },
          "recordTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Which notice types to return. Default: tenders and awards (maxItems is split evenly).",
            "items": {
              "type": "string",
              "enum": [
                "tender",
                "award",
                "planning",
                "modification",
                "correction",
                "directAwardIntent",
                "other"
              ],
              "enumTitles": [
                "Tender / call for competition (Ausschreibung)",
                "Contract award (Vergabebekanntmachung)",
                "Prior information / planning",
                "Contract modification",
                "Correction / change notice",
                "Intention to award directly (VEAT)",
                "Other"
              ]
            },
            "default": [
              "tender",
              "award"
            ]
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "Publication days to scan, ending yesterday (Berlin time; today's notices are exported after midnight). Ignored when fromDate is set.",
            "default": 3
          },
          "fromDate": {
            "title": "From date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional start publication date (Europe/Berlin). Max 31 days per run."
          },
          "toDate": {
            "title": "To date (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional end publication date. Defaults to yesterday."
          },
          "regions": {
            "title": "German states / NUTS codes",
            "type": "array",
            "description": "Bundesländer (Bayern, NRW, Berlin, Baden-Württemberg, Sachsen ...) or NUTS prefixes (DE2, DEA1, DE300). Matches buyer address or place of performance.",
            "items": {
              "type": "string"
            }
          },
          "regionScope": {
            "title": "Region applies to",
            "enum": [
              "any",
              "buyer"
            ],
            "type": "string",
            "description": "Where the region filter is applied.",
            "default": "any"
          },
          "cpvPrefixes": {
            "title": "CPV code prefixes",
            "type": "array",
            "description": "e.g. 45 (construction), 72 (IT services), 4526 (roof works), 79 (business services). Matches main or additional CPV codes.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (any)",
            "type": "array",
            "description": "Case-insensitive words in title, description or lot titles (German text), e.g. Software, Dach, Reinigung, Photovoltaik.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop notices containing any of these words.",
            "items": {
              "type": "string"
            }
          },
          "buyerKeywords": {
            "title": "Buyer name contains",
            "type": "array",
            "description": "e.g. Stadt München, Deutsche Bahn, Bundeswehr, Universität.",
            "items": {
              "type": "string"
            }
          },
          "mainNatures": {
            "title": "Contract nature",
            "type": "array",
            "description": "Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "services",
                "supplies"
              ],
              "enumTitles": [
                "Works (Bauleistungen)",
                "Services (Dienstleistungen)",
                "Supplies (Lieferungen)"
              ]
            }
          },
          "scope": {
            "title": "EU / national",
            "enum": [
              "all",
              "EU",
              "national"
            ],
            "type": "string",
            "description": "National below-threshold notices are not on TED - this is where this feed adds most.",
            "default": "all"
          },
          "minValueEur": {
            "title": "Minimum value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep notices whose awarded value (awards) or estimated value (tenders) is at least this. Notices without a published value are dropped when set."
          },
          "onlyOpen": {
            "title": "Only tenders still open",
            "type": "boolean",
            "description": "Keep only notices whose submission (or participation) deadline is today or later.",
            "default": false
          },
          "smeSuitableOnly": {
            "title": "Only SME-suitable",
            "type": "boolean",
            "description": "Keep only notices the buyer marked as suitable for SMEs.",
            "default": false
          },
          "includeDescription": {
            "title": "Include description",
            "type": "boolean",
            "description": "Include the notice description (contacts masked).",
            "default": true
          },
          "descriptionMaxChars": {
            "title": "Description max characters",
            "minimum": 100,
            "maximum": 20000,
            "type": "integer",
            "description": "Longer descriptions are truncated.",
            "default": 1500
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum notices delivered (and charged) in this run.",
            "default": 30
          },
          "stateKey": {
            "title": "State key (sinceLastRun)",
            "type": "string",
            "description": "Separate memory per saved search, e.g. 'bayern-bau'. Only used in sinceLastRun mode.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}