Weather API – Übersicht
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit der Weather API können Sie hyperlokale Wetterdaten in Echtzeit für Standorte auf der ganzen Welt abrufen. Wetterinformationen umfassen unter anderem Temperatur, Niederschlag und Luftfeuchtigkeit.
Für einen Standort mit einem bestimmten Breiten- und Längengrad bietet die API Endpunkte, mit denen Sie Folgendes abfragen können:
- Aktuelles Wetter:Das aktuelle Wetter.
- Vorhersage nach Stunden:Bis zu 240 Stunden mit vorhergesagten Bedingungen für alle Elemente.
- Tagesprognose:Bis zu 10 Tage mit prognostizierten Bedingungen für alle Elemente.
- Stündlicher Verlauf:Bis zu 24 Stunden lang werden die bisherigen Bedingungen für alle Elemente im Cache gespeichert.
Funktionen der Weather API
Die Daten der Weather API umfassen Folgendes:
- Wetterbedingungen und Symbole:Eine Beschreibung und das entsprechende Symbol für die aktuellen Wetterbedingungen (z. B. „Bewölkt“ oder „Vereinzelte Schneeschauer“).
- Temperatur:Mindest-, Höchst- und gefühlte Temperaturen.
- Niederschlag:Gesamtniederschlag und Niederschlagsart (Schnee, Regen, Eis, Mix).
- Wind:Durchschnittlicher Windchill, Windrichtung, maximale Geschwindigkeit und Böe.
- Eisdicke:Dicke des Eises.
- Luftfeuchtigkeit:Taupunkt, Hitzeindex, Kühlgrenztemperatur und relative Luftfeuchtigkeit.
- UV-Index:Ultraviolettindex (UV-Index).
- Gewitterwahrscheinlichkeit:Die prozentuale Wahrscheinlichkeit, dass ein Gewitter auftritt.
- Sichtbarkeit:Die Entfernung, in der ein Objekt deutlich sichtbar ist.
- Luftdruck:Der durchschnittliche Luftdruck auf Meereshöhe.
- Sonnen- und Mondereignisse:Zeiten für Sonnenaufgang, Sonnenuntergang, Mondaufgang und Monduntergang.
- Bewölkung:Der Prozentsatz des Himmels, der von Wolken bedeckt ist.
Weather API verwenden
Nächste Schritte
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-29 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-29 (UTC)."],[],[],null,["# Weather API overview\n\nThe Weather API lets you request real-time, hyperlocal weather data for\nlocations around the world. Weather information includes temperature,\nprecipitation, humidity, and more.\n\nFor a location at a given latitude and longitude, the API provides endpoints\nthat let you query:\n\n- **Current conditions:** The current weather conditions.\n- **Hourly forecast:** Up to 240 hours of forecasted conditions for all elements.\n- **Daily forecast:** Up to 10 days of forecasted conditions for all elements.\n- **Hourly history:** Up to 24 hours of cached past conditions for all elements.\n\nFeatures of the Weather API\n---------------------------\n\nWeather API data includes the following:\n\n- **Weather conditions and icons:** A description and corresponding icon indicating the current weather conditions (for example, \"Cloudy\" or \"Scattered snow showers\").\n- **Temperature:** Minimum, maximum, and apparent (\"feels like\") temperatures.\n- **Precipitation:** Total precipitation and precipitation type (snow, rain, ice, mix).\n- **Wind:** Average windchill, wind direction, maximum speed, and gust.\n- **Ice thickness:** Thickness of ice.\n- **Humidity:** Dew point, heat index, wet-bulb temperature, and relative humidity.\n- **UV index:** Ultraviolet (UV) index.\n- **Thunderstorm probability:** The percent chance of a thunderstorm occurring.\n- **Visibility:** The distance at which an object is clearly visible.\n- **Air pressure:** The average sea level air pressure.\n- **Sun and moon events:** Sunrise, sunset, moonrise, and moonset times.\n- **Cloud cover:** The percentage of the sky covered by clouds.\n\nHow to use the Weather API\n--------------------------\n\n|---|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Get set up** | Start with [Set up your Google Cloud project](/maps/documentation/weather/cloud-setup) and complete the instructions that follow. |\n| 2 | **Get current conditions** | See [Get current conditions](/maps/documentation/weather/current-conditions). |\n| 3 | **Get hourly forecast** | See [Get hourly forecast](/maps/documentation/weather/hourly-forecast). |\n| 4 | **Get daily forecast** | See [Get daily forecast](/maps/documentation/weather/daily-forecast). |\n| 5 | **Get hourly history** | See [Get hourly history](/maps/documentation/weather/hourly-history). |\n\nWhat's next\n-----------\n\n- [Set up your Google Cloud project](/maps/documentation/weather/cloud-setup)\n- [Get current conditions](/maps/documentation/weather/current-conditions)\n- [Get hourly forecast](/maps/documentation/weather/hourly-forecast)\n- [Get daily forecast](/maps/documentation/weather/daily-forecast)\n- [Get hourly history](/maps/documentation/weather/hourly-history)"]]