{
  "openapi": "3.0.1",
  "info": {
    "title": "Germany Public Tender Alerts - oeffentlichevergabe.de",
    "description": "$1.50 per 1,000 notices. Daily German public tender alerts (Ausschreibungen, öffentliche Aufträge) from the official Bekanntmachungsservice open data (CC0). Filter by keyword, CPV, federal state, contract type, value and deadline; only new notices are returned.",
    "version": "0.1",
    "x-build-id": "hOmVjW1iuwh4scDG1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/orange_briefcase_hrj~germany-tender-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-orange_briefcase_hrj-germany-tender-alerts",
        "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/orange_briefcase_hrj~germany-tender-alerts/runs": {
      "post": {
        "operationId": "runs-sync-orange_briefcase_hrj-germany-tender-alerts",
        "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/orange_briefcase_hrj~germany-tender-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-orange_briefcase_hrj-germany-tender-alerts",
        "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": "Words to look for in the title, description, lot titles and CPV descriptions. Case-, accent- and umlaut-insensitive substring match, so 'reinigung' also finds 'Gebäudereinigung'. Leave empty for every notice that matches the other filters.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Match notices containing ANY of the keywords, or ALL of them.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Skip notices whose text contains any of these words.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Prefix matching on all CPV codes of the notice: 72000000 matches every IT service, 45000000 all construction work, 79000000 business services. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Federal states or NUTS codes",
            "type": "array",
            "description": "Matches the buyer's address or the place of performance. Use federal states in German or English (Bayern/Bavaria, Berlin, Nordrhein-Westfalen/NRW, Baden-Württemberg, Hessen, Sachsen, ...) or NUTS codes (DE21 = Oberbayern, DE300 = Berlin, DEA2 = Köln). Leave empty for all of Germany.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Contract notices (tender) by default. Add award notices to see winners and values, plus prior information, modifications, voluntary ex-ante notices and corrections.",
            "items": {
              "type": "string",
              "enum": [
                "tender",
                "award",
                "planning",
                "modification",
                "directAwardNotice",
                "correction"
              ],
              "enumTitles": [
                "Contract notices (Auftragsbekanntmachung)",
                "Contract award notices (Vergebene Aufträge)",
                "Prior information (Vorinformation)",
                "Contract modifications",
                "Voluntary ex-ante transparency notices",
                "Corrections / changes"
              ]
            },
            "default": [
              "tender"
            ]
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Services, supplies or works. National notices under VOB/A count as works; other national notices may not state a type and are skipped when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "services",
                "supplies",
                "works"
              ],
              "enumTitles": [
                "Services (Dienstleistungen)",
                "Supplies (Lieferleistungen)",
                "Works (Bauleistungen)"
              ]
            },
            "default": []
          },
          "scope": {
            "title": "EU or national",
            "enum": [
              "all",
              "eu",
              "national"
            ],
            "type": "string",
            "description": "EU-wide procedures (above the EU thresholds, also published on TED) or national procedures (UVgO, VOB/A), which never reach TED.",
            "default": "all"
          },
          "openOnly": {
            "title": "Only tenders still open",
            "type": "boolean",
            "description": "Skip contract notices whose submission deadline has already passed.",
            "default": true
          },
          "minEstimatedValue": {
            "title": "Minimum estimated value (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep notices with an estimated value at or above this. Most notices don't publish a value, so this narrows results a lot."
          },
          "buyerContains": {
            "title": "Buyer name contains",
            "type": "array",
            "description": "Only keep notices whose buyer name contains one of these strings (e.g. 'Bundeswehr', 'Stadt München', 'Deutsche Bahn').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "lookbackDays": {
            "title": "Look back (days)",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "How many past publication days to read on a normal run, or on the first run in 'only new' mode (1-31). Each day is one official export file; today's file is complete after midnight German time, so the newest day read is yesterday.",
            "default": 2
          },
          "onlyNew": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Remember notices already delivered (per filter set) and only output new ones. Re-published or corrected versions of a notice you already have are not delivered again. Off by default so one-off searches always return results; switch it on for scheduled alerts.",
            "default": false
          },
          "stateKey": {
            "title": "Alert name (state key)",
            "type": "string",
            "description": "Optional name for this alert's memory. By default it is derived from your filters, so changing filters starts a fresh alert."
          },
          "includeBuyerContacts": {
            "title": "Include buyer contact details",
            "type": "boolean",
            "description": "Add the buyer's published contact email, phone and website. Contact details can be personal data: use them only to take part in the procurement, in line with the GDPR.",
            "default": false
          },
          "includeSummary": {
            "title": "Save a summary",
            "type": "boolean",
            "description": "Save a digest (counts by type and state, top buyers, largest and closing-soonest notices) as SUMMARY in the run's key-value store.",
            "default": true
          },
          "maxResults": {
            "title": "Max notices per run",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many notices (newest first). In 'only new' mode anything left over is picked up on the next run.",
            "default": 200
          },
          "requestIntervalSecs": {
            "title": "Seconds between downloads",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Minimum pause between export downloads.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}