Skip to content
HALOWERK

Live World Data

dwd sunshine first and last

Sunshine timing returns the first and last UTC hourly buckets with positive sunshine. Use it when an agent needs the extent of the observed sunny interval.

POST https://welt.halowerk.com/v1/dwd-sunshine-first-and-last

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latitudestring, numberYes
longitudestring, numberYes
datestringNo
endstringNo
Show full input schema
{
  "type": "object",
  "properties": {
    "latitude": {
      "type": [
        "string",
        "number"
      ]
    },
    "longitude": {
      "type": [
        "string",
        "number"
      ]
    },
    "date": {
      "type": "string",
      "maxLength": 14,
      "minLength": 1
    },
    "end": {
      "type": "string",
      "maxLength": 14,
      "minLength": 1
    }
  },
  "required": [
    "latitude",
    "longitude"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "latitude": 48.15,
  "longitude": 11.57,
  "date": " 2026-08-01 "
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "station": {
          "type": "string"
        },
        "reported_hours": {
          "type": "integer"
        },
        "missing_hours": {
          "type": "integer"
        },
        "first": {
          "type": [
            "string",
            "null"
          ]
        },
        "last": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "station",
        "reported_hours",
        "missing_hours",
        "first",
        "last"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →