{
  "openapi": "3.0.1",
  "info": {
    "title": "German Public Tenders Scraper – Procurement & Awards",
    "description": "Extract German public tenders from the official CC0 notice portal. Search federal, state and municipal procurement by date, keyword, CPV and region, with deadlines, award suppliers and contract values.",
    "version": "0.1",
    "x-build-id": "LfV8MSn7dgZCiqeCM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrape_api~germany-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrape_api-germany-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/scrape_api~germany-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-scrape_api-germany-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/scrape_api~germany-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-scrape_api-germany-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": {
          "date": {
            "title": "Date",
            "type": "string",
            "description": "Publication day, YYYY-MM-DD. Use either date or date_from/date_to. Available from 2022-12-01 through yesterday UTC."
          },
          "date_from": {
            "title": "Date from",
            "type": "string",
            "description": "Inclusive first publication day, YYYY-MM-DD. At most 31 days. One bound scans a single day."
          },
          "date_to": {
            "title": "Date to",
            "type": "string",
            "description": "Inclusive last publication day, YYYY-MM-DD. Both bounds omitted: yesterday UTC."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Case-insensitive OR match in title, description, lot titles and buyer name.",
            "items": {
              "type": "string"
            }
          },
          "cpv_codes": {
            "title": "Cpv codes",
            "type": "array",
            "description": "CPV digit prefixes, 2 to 8 digits; broad national source codes are preserved.",
            "items": {
              "type": "string"
            }
          },
          "nuts_codes": {
            "title": "Nuts codes",
            "type": "array",
            "description": "German NUTS prefixes matched against buyer and places of performance.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "German states matched against buyer and places of performance.",
            "items": {
              "type": "string"
            }
          },
          "notice_types": {
            "title": "Notice types",
            "type": "array",
            "description": "eForms codes, or groups competition, award, planning and modification. Award includes VEAT and modifications.",
            "items": {
              "type": "string"
            }
          },
          "only_open": {
            "title": "Only open",
            "type": "boolean",
            "description": "Only tender notices with a future deadline. Comparison is pinned at the start of the search."
          },
          "national_only": {
            "title": "National only",
            "type": "boolean",
            "description": "Only national legal bases, excluding EU directives and missing eForms enrichment."
          },
          "max_items": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum rows per API call; Apify follows pages up to this total. Default 200."
          },
          "cursor": {
            "title": "Cursor",
            "maxLength": 4000000,
            "type": "string",
            "description": "Opaque continuation token. Repeat the same dates and filters; max_items may change."
          },
          "pubDay": {
            "title": "Pubday",
            "type": "string",
            "description": "Alias for date. The canonical field takes precedence."
          },
          "dateFrom": {
            "title": "Datefrom",
            "type": "string",
            "description": "Alias for date_from. The canonical field takes precedence."
          },
          "pubDateFrom": {
            "title": "Pubdatefrom",
            "type": "string",
            "description": "Alias for date_from. The canonical field takes precedence."
          },
          "dateTo": {
            "title": "Dateto",
            "type": "string",
            "description": "Alias for date_to. The canonical field takes precedence."
          },
          "pubDateTo": {
            "title": "Pubdateto",
            "type": "string",
            "description": "Alias for date_to. The canonical field takes precedence."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Single keyword alias for keywords."
          },
          "cpvPrefix": {
            "title": "Cpvprefix",
            "type": "array",
            "description": "Alias for cpv_codes. The canonical field takes precedence.",
            "items": {
              "type": "string"
            }
          },
          "cpvPrefixes": {
            "title": "Cpvprefixes",
            "type": "array",
            "description": "Alias for cpv_codes. The canonical field takes precedence.",
            "items": {
              "type": "string"
            }
          },
          "nutsPrefixes": {
            "title": "Nutsprefixes",
            "type": "array",
            "description": "Alias for nuts_codes. The canonical field takes precedence.",
            "items": {
              "type": "string"
            }
          },
          "bundesland": {
            "title": "Bundesland",
            "type": "array",
            "description": "Alias for states. The canonical field takes precedence.",
            "items": {
              "type": "string"
            }
          },
          "noticeKinds": {
            "title": "Noticekinds",
            "type": "array",
            "description": "Alias for notice_types. The canonical field takes precedence.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maxitems",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Alias for max_items. The canonical field takes precedence."
          },
          "maxResults": {
            "title": "Maxresults",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Alias for max_items. The canonical field takes precedence."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}