<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "WeatherKitRESTAPI",
  "identifier" : "/documentation/WeatherKitRESTAPI",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service",
  "symbol" : {
    "kind" : "Web Service",
    "modules" : [
      "WeatherKit REST API"
    ],
    "preciseIdentifier" : "WeatherKitRESTAPI"
  },
  "title" : "WeatherKit REST API"
}
-->

# WeatherKit REST API

Obtain historical, current, and predictive weather for your app or service.

## Overview

Use the WeatherKit REST API web service to provide weather data to your apps and services that offer both current and forecasted weather information to your users.

To provide weather information to a web app or other platform, like Android, use the WeatherKit REST API. For native iOS, macOS, tvOS, and watchOS apps, use <doc://com.apple.documentation/documentation/WeatherKit>.

> Important:
> Using this API requires attribution. See [WeatherKit - Data Sources](https://developer.apple.com/weatherkit/data-source-attribution/) to learn more.

## Topics

### Fundamentals

[Request authentication for WeatherKit REST API](/documentation/WeatherKitRESTAPI/request-authentication-for-weatherkit-rest-api)

Create a developer token to access weather data.

### Obtaining weather information for a location

[`GET /api/v1/availability/{latitude}/{longitude}`](/documentation/WeatherKitRESTAPI/GET-api-v1-availability-_latitude_-_longitude_)

Determine the data sets available for the specified location.

[`GET /api/v1/weather/{language}/{latitude}/{longitude}`](/documentation/WeatherKitRESTAPI/GET-api-v1-weather-_language_-_latitude_-_longitude_)

Obtain weather data for the specified location.

[`Weather`](/documentation/WeatherKitRESTAPI/Weather)

The collection of all requested weather data.

[`Latitude`](/documentation/WeatherKitRESTAPI/Latitude)

A numeric value indicating the latitude of the coordinate between `-90` and `90`.

[`Longitude`](/documentation/WeatherKitRESTAPI/Longitude)

A numeric value indicating the longitude of the coordinate between `-180` and `180`.

[`DataSet`](/documentation/WeatherKitRESTAPI/DataSet)

The collection of weather information for a location.

### Obtaining current weather information

[`CurrentWeather`](/documentation/WeatherKitRESTAPI/CurrentWeather)

The current weather conditions for the specified location.

[`Metadata`](/documentation/WeatherKitRESTAPI/Metadata)

Descriptive information about the weather data.

[`ProductData`](/documentation/WeatherKitRESTAPI/ProductData)

A base type for all weather data.

### Obtaining minute-to-minute forecast weather

[`ForecastPeriodSummary`](/documentation/WeatherKitRESTAPI/ForecastPeriodSummary)

The summary for a specified period in the minute forecast.

[`ForecastMinute`](/documentation/WeatherKitRESTAPI/ForecastMinute)

The precipitation forecast for a specified minute.

### Obtaining hourly weather information

[`HourWeatherConditions`](/documentation/WeatherKitRESTAPI/HourWeatherConditions)

The historical or forecasted weather conditions for a specified hour.

[`HourlyForecast`](/documentation/WeatherKitRESTAPI/HourlyForecast)

A collection of hour forecasts for a specified range of hours.

[`NextHourForecast`](/documentation/WeatherKitRESTAPI/NextHourForecast)

A minute-by-minute forecast for the next hour.

### Obtaining daily weather information

[`DayWeatherConditions`](/documentation/WeatherKitRESTAPI/DayWeatherConditions)

The historical or forecasted weather conditions for a specified day.

[`DayPartForecast`](/documentation/WeatherKitRESTAPI/DayPartForecast)

A summary forecast for a daytime or overnight period.

[`DailyForecast`](/documentation/WeatherKitRESTAPI/DailyForecast)

A collection of day forecasts for a specified range of days.

### Obtaining weather alerts

[`GET /api/v1/weatherAlert/{language}/{id}`](/documentation/WeatherKitRESTAPI/GET-api-v1-weatherAlert-_language_-_id_)

Receive an active weather alert.

[`WeatherAlert`](/documentation/WeatherKitRESTAPI/WeatherAlert)

An official message indicating severe weather from a reporting agency.

[`WeatherAlertCollection`](/documentation/WeatherKitRESTAPI/WeatherAlertCollection)

A collection of severe weather alerts for a specified location.

[`WeatherAlertSummary`](/documentation/WeatherKitRESTAPI/WeatherAlertSummary)

Detailed information about the weather alert.

[`ResponseType`](/documentation/WeatherKitRESTAPI/ResponseType)

The recommended action from a reporting agency.

[`Severity`](/documentation/WeatherKitRESTAPI/Severity)

The level of danger to life and property.

[`Urgency`](/documentation/WeatherKitRESTAPI/Urgency)

An indication of urgency of action from the reporting agency.

### Identifying weather events

[`UnitsSystem`](/documentation/WeatherKitRESTAPI/UnitsSystem)

The system of units that the weather data is reported in.

[`MoonPhase`](/documentation/WeatherKitRESTAPI/MoonPhase)

The shape of the moon as seen by an observer on the ground at a given time.

[`PrecipitationType`](/documentation/WeatherKitRESTAPI/PrecipitationType)

The type of precipitation forecasted to occur during the day.

[`PressureTrend`](/documentation/WeatherKitRESTAPI/PressureTrend)

The direction of change of the sea level air pressure.

### Obtaining event information

[`EventText`](/documentation/WeatherKitRESTAPI/EventText)

The official text describing a severe weather event from the agency.

[`Certainty`](/documentation/WeatherKitRESTAPI/Certainty)

How likely the event is to occur.

### Performing attribution

[`GET /attribution/{language}`](/documentation/WeatherKitRESTAPI/GET-attribution-_language_)

Receive attribution information.

[`Attribution`](/documentation/WeatherKitRESTAPI/Attribution)

A list of image asset URLs for attribution.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
