{
  "openapi": "3.0.1",
  "info": {
    "title": "German Weather Warnings (DWD) – Storm, Snow, Ice",
    "description": "Official weather warnings for Germany from the Deutscher Wetterdienst (DWD) open data server: storm, thunderstorm, heavy rain, snow, ice, fog, frost, heat and more. Filter by severity, type, federal state, town or exact coordinates. English or German. CC BY 4.0.",
    "version": "1.0",
    "x-build-id": "jtwXjlgJlX77n3ED3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/opendata-souce2026~german-weather-warnings-dwd/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-opendata-souce2026-german-weather-warnings-dwd",
        "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/opendata-souce2026~german-weather-warnings-dwd/runs": {
      "post": {
        "operationId": "runs-sync-opendata-souce2026-german-weather-warnings-dwd",
        "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/opendata-souce2026~german-weather-warnings-dwd/run-sync": {
      "post": {
        "operationId": "run-sync-opendata-souce2026-german-weather-warnings-dwd",
        "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": {
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de"
            ],
            "type": "string",
            "description": "Language of event names, headlines, descriptions and instructions.",
            "default": "en"
          },
          "minSeverity": {
            "title": "Minimum severity",
            "enum": [
              "Minor",
              "Moderate",
              "Severe",
              "Extreme"
            ],
            "type": "string",
            "description": "Only warnings at this level or higher. DWD levels: 1 weather warning (Minor), 2 significant weather (Moderate), 3 severe weather / Unwetter (Severe), 4 extreme weather (Extreme).",
            "default": "Minor"
          },
          "eventGroups": {
            "title": "Event types (optional)",
            "type": "array",
            "description": "Only these kinds of weather. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "THUNDERSTORM",
                "WIND",
                "TORNADO",
                "RAIN",
                "HAIL",
                "SNOWFALL",
                "SNOWDRIFT",
                "FOG",
                "FROST",
                "GLAZE",
                "THAW",
                "HEAT",
                "UV",
                "POWERLINE_VIBRATION"
              ],
              "enumTitles": [
                "Thunderstorm",
                "Wind / storm",
                "Tornado",
                "Heavy rain",
                "Hail",
                "Snowfall",
                "Snow drifts",
                "Fog",
                "Frost",
                "Black ice / glaze",
                "Thaw",
                "Heat",
                "UV",
                "Power line vibration"
              ]
            }
          },
          "states": {
            "title": "Federal states (optional)",
            "type": "array",
            "description": "Only warnings affecting at least one municipality in these states. Leave empty for all of Germany.",
            "items": {
              "type": "string",
              "enum": [
                "BW",
                "BY",
                "BE",
                "BB",
                "HB",
                "HH",
                "HE",
                "MV",
                "NI",
                "NW",
                "RP",
                "SL",
                "SN",
                "ST",
                "SH",
                "TH"
              ],
              "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"
              ]
            }
          },
          "place": {
            "title": "Town or municipality (optional)",
            "type": "string",
            "description": "Part of a municipality name, e.g. \"Köln\", \"Muenchen\" or \"Bad Ems\". Umlauts can be typed as ae/oe/ue or left out."
          },
          "latitude": {
            "title": "Latitude (optional)",
            "type": "string",
            "description": "Only warnings whose warning area contains this point, e.g. 50.94 for Cologne. Give longitude too."
          },
          "longitude": {
            "title": "Longitude (optional)",
            "type": "string",
            "description": "Longitude of the point, e.g. 6.96 for Cologne."
          },
          "radiusKm": {
            "title": "Radius around the point (km)",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Also include warnings whose area is within this distance of the point. 0 = only warnings covering the point itself.",
            "default": 0
          },
          "warnCellIds": {
            "title": "DWD warn cell ids (optional)",
            "type": "array",
            "description": "Exact 9-digit DWD warn cell ids of municipalities (as returned in the warnCellIds field), for precise monitoring of known sites.",
            "items": {
              "type": "string"
            }
          },
          "activeNowOnly": {
            "title": "Only warnings in force right now",
            "type": "boolean",
            "description": "Leave off to also get warnings announced for later today or tomorrow.",
            "default": false
          },
          "includePreliminary": {
            "title": "Include advance information (Vorabinformation)",
            "type": "boolean",
            "description": "DWD issues advance information hours before a possible severe weather warning.",
            "default": true
          },
          "outputMode": {
            "title": "Output rows",
            "enum": [
              "perWarning",
              "perArea"
            ],
            "type": "string",
            "description": "One row per warning (with a list of affected municipalities), or one row per warning and municipality (for joining with your own site list).",
            "default": "perWarning"
          },
          "includeGeometry": {
            "title": "Include warning area polygons",
            "type": "boolean",
            "description": "Adds a GeoJSON MultiPolygon of the warning area to each row (for maps).",
            "default": false
          },
          "maxRows": {
            "title": "Maximum rows",
            "minimum": 1,
            "type": "integer",
            "description": "Safety limit, mainly for per-municipality output during large weather events.",
            "default": 10000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}