{
  "openapi": "3.0.1",
  "info": {
    "title": "German Tenders Scraper: Ausschreibungen & Vergabe Notices",
    "description": "German public tenders (öffentliche Ausschreibungen) from the official Bekanntmachungsservice (oeffentlichevergabe.de): every Vergabe notice above and below the EU thresholds, awards with winners, buyer email, CPV, deadline, Bundesland. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "nDcCTZoevQ3PO9dtb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~german-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-german-tenders-scraper",
        "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/steadyscrape~german-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-german-tenders-scraper",
        "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/steadyscrape~german-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-german-tenders-scraper",
        "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": {
          "noticeKinds": {
            "title": "Notice kinds",
            "type": "array",
            "description": "Tenders (<code>tender</code>: calls for tenders, Ausschreibungen, with their deadline), awards (<code>award</code>: Vergebene Aufträge, contract award notices with the winning companies, intended direct awards and contract changes) and prior information notices (<code>planning</code>: Vorinformationen). Empty keeps every kind.",
            "items": {
              "type": "string",
              "enum": [
                "tender",
                "award",
                "planning"
              ],
              "enumTitles": [
                "Tenders (Ausschreibungen)",
                "Awards (Vergebene Aufträge, with winners)",
                "Prior information (Vorinformationen)"
              ]
            },
            "default": [
              "tender"
            ]
          },
          "publishedInLastDays": {
            "title": "Published in the last days",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "Notices published in the latest N days the service has exported. A day is exported once it is over (Berlin time), so <code>1</code> is yesterday: a daily schedule with <code>1</code> gets each new notice once. Ignored when <b>Published from</b> or <b>Published to</b> is set.",
            "default": 7
          },
          "publishedFrom": {
            "title": "Published from",
            "type": "string",
            "description": "First publication day (YYYY-MM-DD). One run reads at most 31 days (each day is one export of 100 to 1,000 notices): a longer range is cut to its last 31 days, and the run says so. The export starts on 2022-12-01."
          },
          "publishedTo": {
            "title": "Published to",
            "type": "string",
            "description": "Last publication day (YYYY-MM-DD), included. Empty means the latest exported day (yesterday)."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep notices whose title or description (of the notice or a lot) has any of these keywords, in German: <code>Reinigung</code>, <code>Straßenbau</code>, <code>IT-Dienstleistungen</code>. Case and umlauts do not matter (Gebäude = Gebaeude = Gebaude, ß = ss) and a keyword matches inside compound words (Reinigung finds Gebäudereinigung). A keyword of several words needs all of them; words of 3 letters or fewer (IT, Bau) match whole words only.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Keep notices with a CPV code starting with any of these: <code>45</code> (construction work), <code>4523</code>, <code>72000000</code> (IT services). Trailing zeros and the check digit are ignored (<code>45000000-7</code> means 45).",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "Bundesländer",
            "type": "array",
            "description": "Keep notices whose place of performance is in any of these Länder, or whose buyer is when the notice names no place. A notice that names no NUTS region at all is left out by this filter.",
            "items": {
              "type": "string",
              "enum": [
                "baden-wuerttemberg",
                "bayern",
                "berlin",
                "brandenburg",
                "bremen",
                "hamburg",
                "hessen",
                "mecklenburg-vorpommern",
                "niedersachsen",
                "nordrhein-westfalen",
                "rheinland-pfalz",
                "saarland",
                "sachsen",
                "sachsen-anhalt",
                "schleswig-holstein",
                "thueringen"
              ],
              "enumTitles": [
                "Baden-Württemberg",
                "Bayern",
                "Berlin",
                "Brandenburg",
                "Bremen",
                "Hamburg",
                "Hessen",
                "Mecklenburg-Vorpommern",
                "Niedersachsen",
                "Nordrhein-Westfalen",
                "Rheinland-Pfalz",
                "Saarland",
                "Sachsen",
                "Sachsen-Anhalt",
                "Schleswig-Holstein",
                "Thüringen"
              ]
            }
          },
          "nutsCodes": {
            "title": "NUTS codes",
            "type": "array",
            "description": "Narrower than a Land: keep notices whose place of performance (or buyer) has a NUTS code starting with any of these, like <code>DE212</code> (München) or <code>DEA2</code> (Köln).",
            "items": {
              "type": "string"
            }
          },
          "scope": {
            "title": "EU threshold",
            "enum": [
              "all",
              "eu",
              "national"
            ],
            "type": "string",
            "description": "<code>eu</code>: notices under an EU directive (above the EU thresholds, also on TED). <code>national</code>: below the thresholds (UVgO, VOB/A, VOL/A), published only in Germany. <code>all</code> keeps both.",
            "default": "all"
          },
          "contractNatures": {
            "title": "Contract nature",
            "type": "array",
            "description": "Keep notices for works (Bauleistungen), supplies (Lieferleistungen) or services (Dienstleistungen). Empty keeps all. Most of service.bund.de's national notices print no contract nature and are left out when you set this.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "supplies",
                "services",
                "combined"
              ],
              "enumTitles": [
                "Works (Bauleistungen)",
                "Supplies (Lieferleistungen)",
                "Services (Dienstleistungen)",
                "Combined"
              ]
            }
          },
          "buyers": {
            "title": "Buyers",
            "type": "array",
            "description": "Keep notices whose buyer (Vergabestelle, Auftraggeber) has any of these in its name: <code>Stadt München</code>, <code>Deutsche Bahn</code>, <code>Bundesagentur für Arbeit</code>.",
            "items": {
              "type": "string"
            }
          },
          "onlyOpen": {
            "title": "Only tenders still open",
            "type": "boolean",
            "description": "Keep only tenders whose deadline has not passed: the deadline for requests to participate in a restricted procedure, else the tender deadline. Tenders without a deadline are left out; awards and prior information pass.",
            "default": false
          },
          "minValue": {
            "title": "Minimum value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep notices whose estimated value (for awards, the awarded value) is at least this many euros. Most German notices print no value (about 1 in 13 tenders does), and those are left out when you set this."
          },
          "onlyAwardsWithWinners": {
            "title": "Only awards that name a winner",
            "type": "boolean",
            "description": "Leave out award notices that name no winning company (lots not awarded, and nearly all of service.bund.de's award notices, which name the winner only in their description, if at all).",
            "default": false
          },
          "maxResults": {
            "title": "Maximum notices",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many notices. Each notice is charged once; status rows are free.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}