Both endpoints are completely free and require no API key or account registration.
Geocoding endpoint
Parameters
City name to search for (e.g.
London, Tokyo, New York).Maximum number of results to return. Sky AI Forecast always passes
count=1 to take the single best match.Example request
Example response
Response fields used by the app
The app readsresults[0] and extracts the following fields:
Array of matching locations. The app always reads index
0.Forecast endpoint
Full URL built by the app
Parameters
Latitude of the location, taken from the geocoding result.
Longitude of the location, taken from the geocoding result.
Comma-separated list of current-condition variables to include. The app requests:
temperature_2m, relative_humidity_2m, weather_code.Comma-separated list of hourly variables to include. The app requests:
temperature_2m, weather_code.Comma-separated list of daily aggregate variables to include. The app requests:
temperature_2m_max, temperature_2m_min, weather_code.Number of days of forecast data to return. Fixed at
16.Timezone for time values. Set to
auto so Open-Meteo infers the local timezone from the coordinates.Response fields used by the app
Current weather conditions at the time of the request.
Hourly data arrays. Each array is ordered chronologically and shares the same index with
hourly.time.Daily aggregate arrays. Each array is ordered by date and shares the same index with
daily.time.