OpenAny
Get API keyAPI Key
APIData

open-meteo logo
Open-Meteo Weather Forecast (Public Test) API

Get Open-Meteo Weather Forecast (Public Test) data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Open-meteo-free, pass parameters such as current, daily, forecast_days, and retrieve structured data including returned interval field, returned temperature 2m field, returned time field, and returned weather code field for application integration and result review, and integration reference.

Selected price
$0.01 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
3Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Open-Meteo Weather Forecast (Public Test) API

Prepare your request, then continue with your agent.

Selected price

$0.01 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Open-Meteo Weather Forecast (Public Test) API

Open-Meteo Global Weather Forecast API

Use the Open-Meteo Weather Forecast API to retrieve model-based current conditions, hourly and 15-minute forecasts, and daily summaries for locations worldwide. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: latitude, longitude, bounding_box, current, hourly, daily, minutely_15, current_weather, timezone, forecast_days, past_days, forecast_hours, past_hours, forecast_minutely_15, past_minutely_15, initial_hours, initial_minutely_15, start_date, end_date, start_hour, end_hour, start_minutely_15, end_minutely_15, models, temporal_resolution, temperature_unit, wind_speed_unit, windspeed_unit, precipitation_unit, length_unit, timeformat, cell_selection, elevation, tilt, azimuth, location_id, format, location_information
Selected implementation open-meteo-free · Open-Meteo Global Weather Forecast
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Application integration and result review: Keep the request context attached to available returned results.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
current.interval Returned interval field
current.temperature_2m Returned temperature 2m field
current.time Returned time field
current.weather_code Returned weather code field
current_units.interval Returned interval field
current_units.temperature_2m Returned temperature 2m field
current_units.time Returned time field
current_units.weather_code Returned weather code field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/open-meteo-free/v1/forecast?current=temperature_2m%2Cweather_code&daily=temperature_2m_max%2Ctemperature_2m_min&forecast_days=0&hourly=temperature_2m%2Crelative_humidity_2m&latitude=31.23&longitude=121.47&timezone=Asia%2FShanghai' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Open-Meteo Global Weather Forecast API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (38)
WGS84 latitude: one number or comma-separated values, e.g. 31.23,39.90; each value must be -90 to 90. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.
WGS84 longitude: one number or comma-separated values, e.g. 121.47,116.40; each value must be -180 to 180. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.
Optional area query in south,west,north,east order, e.g. 31.20,121.40,31.30,121.50. Use instead of latitude/longitude. South<north, west<east; coordinate ranges apply. Choose an explicit model supporting grid queries; best_match and some grids may reject bounding boxes. One fixed timezone only; auto is unsupported. Subject to upstream location/grid-cell limits.
Comma-separated current variable identifiers, e.g. temperature_2m,relative_humidity_2m,weather_code. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.
Comma-separated hourly variable identifiers, e.g. temperature_2m,relative_humidity_2m,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.
Comma-separated daily variable identifiers, e.g. temperature_2m_max,temperature_2m_min,sunrise,sunset. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Supply timezone when daily is selected.
Comma-separated minutely_15 variable identifiers, e.g. temperature_2m,precipitation,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Native 15-minute coverage is regional; other regions may use hourly interpolation.
Legacy convenience flag: true returns the predefined current-weather group and current_weather response section. Prefer current for explicit variable selection; when both are supplied true takes precedence.
IANA timezone, auto, or a comma-separated list for multiple locations. Default GMT. One timezone applies to all locations, otherwise count must match coordinates. Required with daily. Bounding-box queries allow one fixed timezone and do not allow auto.
Forecast calendar days, default 7; up to 16. Native model coverage may be shorter. Omit when using explicit start/end windows; a nonzero value conflicts with those windows.
Recent past calendar days, default 0; 0–92 for this Forecast API. Omit or set 0 with explicit windows. Earlier data use a separate historical endpoint.
Number of future hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
Number of past hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
Number of future 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
Number of past 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
Optional start hour within the current local day when using forecast_hours, e.g. initial_hours=0 with forecast_hours=12 selects the first 12 hours. Upstream validates the initial-step value.
Optional starting 15-minute step within the current local day when using forecast_minutely_15, e.g. 0 starts at midnight. Upstream validates the initial-step value.
Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with end_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with start_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
One model identifier or a comma-separated list, e.g. best_match or gfs_seamless,ecmwf_ifs025. Omit for automatic selection. All currently supported Forecast model identifiers are forwarded; no best_match-only restriction. Multiple models add model suffixes to returned variable keys and consume more upstream calls. Deprecated or regional models may be unavailable.
Output timestep for hourly variables: native preserves model resolution; minutely_15/minutely_30 may interpolate; hourly/hourly_1, hourly_3 and hourly_6 select fixed steps.
Temperature unit.
Wind-speed unit; use this current spelling.
Legacy alias for wind_speed_unit. Avoid supplying both: this legacy spelling takes precedence upstream.
Precipitation unit; explicit value takes precedence over length_unit fallback.
Compatibility unit selection. imperial provides an inch precipitation fallback when precipitation_unit is omitted; do not assume every length-valued variable is converted.
ISO 8601 local timestamps or Unix seconds. For daylight-saving-aware times, request unixtime and convert using the returned timezone.
Weather grid-cell preference.
Elevation in metres, comma-separated elevations for multiple locations, or the literal string nan to disable statistical elevation downscaling. With a list, supply one entry per location. Omit to use the digital elevation model.
Solar-panel tilt: numeric 0–90 degrees, or literal string nan for a horizontal tracker. Used by global_tilted_irradiance variables. Range and special value are checked upstream.
Solar-panel azimuth: numeric -180–180 degrees (0 south, -90 east, 90 west), or literal string nan for a vertical tracker. Both tilt and azimuth set to nan select a biaxial tracker. Checked upstream.
Optional comma-separated integer location IDs for multi-location response identification. If supplied, count must match coordinates; one ID can be a single integer string.
Response format. Default json. csv is text; xlsx and flatbuffers are binary and must be handled as bytes by the client. JSON response schema and the retained complete example apply to json only. Subject to 8 MiB response size.
Location metadata layout for CSV/XLSX export: section includes a metadata section; omit excludes it. This does not change JSON forecast variable selection.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Open-Meteo Global Weather Forecast · GET · View API reference$0.01 / call3
100.00%successP50685ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · open-meteo-freeUSD / call
Unit price
$0.01

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

calls

Total $1

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/open-meteo-free/v1/forecast
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
latitudeURL query parametersquerystring | numberNo

WGS84 latitude: one number or comma-separated values, e.g. 31.23,39.90; each value must be -90 to 90. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.

longitudeURL query parametersquerystring | numberNo

WGS84 longitude: one number or comma-separated values, e.g. 121.47,116.40; each value must be -180 to 180. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.

bounding_boxURL query parametersquerystringNo

Optional area query in south,west,north,east order, e.g. 31.20,121.40,31.30,121.50. Use instead of latitude/longitude. South<north, west<east; coordinate ranges apply. Choose an explicit model supporting grid queries; best_match and some grids may reject bounding boxes. One fixed timezone only; auto is unsupported. Subject to upstream location/grid-cell limits.

minLength: 1

currentURL query parametersquerystringNo

Comma-separated current variable identifiers, e.g. temperature_2m,relative_humidity_2m,weather_code. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.

minLength: 1

hourlyURL query parametersquerystringNo

Comma-separated hourly variable identifiers, e.g. temperature_2m,relative_humidity_2m,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.

minLength: 1

dailyURL query parametersquerystringNo

Comma-separated daily variable identifiers, e.g. temperature_2m_max,temperature_2m_min,sunrise,sunset. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Supply timezone when daily is selected.

minLength: 1

minutely_15URL query parametersquerystringNo

Comma-separated minutely_15 variable identifiers, e.g. temperature_2m,precipitation,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Native 15-minute coverage is regional; other regions may use hourly interpolation.

minLength: 1

current_weatherURL query parametersquerybooleanNo

Legacy convenience flag: true returns the predefined current-weather group and current_weather response section. Prefer current for explicit variable selection; when both are supplied true takes precedence.

timezoneURL query parametersquerystringNo

IANA timezone, auto, or a comma-separated list for multiple locations. Default GMT. One timezone applies to all locations, otherwise count must match coordinates. Required with daily. Bounding-box queries allow one fixed timezone and do not allow auto.

minLength: 1

forecast_daysURL query parametersqueryintegerNo

Forecast calendar days, default 7; up to 16. Native model coverage may be shorter. Omit when using explicit start/end windows; a nonzero value conflicts with those windows.

minimum: 0 · maximum: 16

past_daysURL query parametersqueryintegerNo

Recent past calendar days, default 0; 0–92 for this Forecast API. Omit or set 0 with explicit windows. Earlier data use a separate historical endpoint.

minimum: 0 · maximum: 92

forecast_hoursURL query parametersqueryintegerNo

Number of future hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.

minimum: 0

past_hoursURL query parametersqueryintegerNo

Number of past hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.

minimum: 0

forecast_minutely_15URL query parametersqueryintegerNo

Number of future 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.

minimum: 0

past_minutely_15URL query parametersqueryintegerNo

Number of past 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.

minimum: 0

initial_hoursURL query parametersqueryintegerNo

Optional start hour within the current local day when using forecast_hours, e.g. initial_hours=0 with forecast_hours=12 selects the first 12 hours. Upstream validates the initial-step value.

initial_minutely_15URL query parametersqueryintegerNo

Optional starting 15-minute step within the current local day when using forecast_minutely_15, e.g. 0 starts at midnight. Upstream validates the initial-step value.

start_dateURL query parametersquerystringNo

Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with end_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

end_dateURL query parametersquerystringNo

Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with start_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

start_hourURL query parametersquerystringNo

Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

end_hourURL query parametersquerystringNo

Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

start_minutely_15URL query parametersquerystringNo

15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

end_minutely_15URL query parametersquerystringNo

15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.

minLength: 1

modelsURL query parametersquerystringNo

One model identifier or a comma-separated list, e.g. best_match or gfs_seamless,ecmwf_ifs025. Omit for automatic selection. All currently supported Forecast model identifiers are forwarded; no best_match-only restriction. Multiple models add model suffixes to returned variable keys and consume more upstream calls. Deprecated or regional models may be unavailable.

minLength: 1

temporal_resolutionURL query parametersquerystringNo

Output timestep for hourly variables: native preserves model resolution; minutely_15/minutely_30 may interpolate; hourly/hourly_1, hourly_3 and hourly_6 select fixed steps.

enum: "native", "minutely_15", "minutely_30", "hourly", "hourly_1", "hourly_3", "hourly_6"

temperature_unitURL query parametersquerystringNo

Temperature unit.

enum: "celsius", "fahrenheit"

wind_speed_unitURL query parametersquerystringNo

Wind-speed unit; use this current spelling.

enum: "kmh", "ms", "mph", "kn"

windspeed_unitURL query parametersquerystringNo

Legacy alias for wind_speed_unit. Avoid supplying both: this legacy spelling takes precedence upstream.

enum: "kmh", "ms", "mph", "kn"

precipitation_unitURL query parametersquerystringNo

Precipitation unit; explicit value takes precedence over length_unit fallback.

enum: "mm", "inch"

length_unitURL query parametersquerystringNo

Compatibility unit selection. imperial provides an inch precipitation fallback when precipitation_unit is omitted; do not assume every length-valued variable is converted.

enum: "metric", "imperial"

timeformatURL query parametersquerystringNo

ISO 8601 local timestamps or Unix seconds. For daylight-saving-aware times, request unixtime and convert using the returned timezone.

enum: "iso8601", "unixtime"

cell_selectionURL query parametersquerystringNo

Weather grid-cell preference.

enum: "land", "sea", "nearest"

elevationURL query parametersquerystring | numberNo

Elevation in metres, comma-separated elevations for multiple locations, or the literal string nan to disable statistical elevation downscaling. With a list, supply one entry per location. Omit to use the digital elevation model.

tiltURL query parametersquerystring | numberNo

Solar-panel tilt: numeric 0–90 degrees, or literal string nan for a horizontal tracker. Used by global_tilted_irradiance variables. Range and special value are checked upstream.

azimuthURL query parametersquerystring | numberNo

Solar-panel azimuth: numeric -180–180 degrees (0 south, -90 east, 90 west), or literal string nan for a vertical tracker. Both tilt and azimuth set to nan select a biaxial tracker. Checked upstream.

location_idURL query parametersquerystringNo

Optional comma-separated integer location IDs for multi-location response identification. If supplied, count must match coordinates; one ID can be a single integer string.

minLength: 1

formatURL query parametersquerystringNo

Response format. Default json. csv is text; xlsx and flatbuffers are binary and must be handled as bytes by the client. JSON response schema and the retained complete example apply to json only. Subject to 8 MiB response size.

enum: "json", "csv", "xlsx", "flatbuffers"

location_informationURL query parametersquerystringNo

Location metadata layout for CSV/XLSX export: section includes a metadata section; omit excludes it. This does not change JSON forecast variable selection.

enum: "section", "omit"

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • currentobject
    • intervalinteger
    • temperature_2mnumber
    • timestring
    • weather_codeinteger
  • current_unitsobject
    • intervalstring
    • temperature_2mstring
    • timestring
    • weather_codestring
  • dailyobject
    • temperature_2m_maxnumber[]
    • temperature_2m_minnumber[]
    • timestring[]
  • daily_unitsobject
    • temperature_2m_maxstring
    • temperature_2m_minstring
    • timestring
  • elevationnumber
  • generationtime_msnumber
  • hourlyobject
    • relative_humidity_2minteger[]
    • temperature_2mnumber[]
    • timestring[]
  • hourly_unitsobject
    • relative_humidity_2mstring
    • temperature_2mstring
    • timestring
  • latitudenumber
  • longitudenumber
  • timezonestring
  • timezone_abbreviationstring
  • utc_offset_secondsinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Shanghai — complete public evaluation respons

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 38

    Review these request fields before running. Keep the published provider and request method unchanged.

    latitude
    WGS84 latitude: one number or comma-separated values, e.g. 31.23,39.90; each value must be -90 to 90. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.
    longitude
    WGS84 longitude: one number or comma-separated values, e.g. 121.47,116.40; each value must be -180 to 180. Required with its coordinate counterpart unless bounding_box is used. Latitude and longitude counts must match. Range and list alignment are checked by Open-Meteo.
    bounding_box
    Optional area query in south,west,north,east order, e.g. 31.20,121.40,31.30,121.50. Use instead of latitude/longitude. South<north, west<east; coordinate ranges apply. Choose an explicit model supporting grid queries; best_match and some grids may reject bounding boxes. One fixed timezone only; auto is unsupported. Subject to upstream location/grid-cell limits.
    current
    Comma-separated current variable identifiers, e.g. temperature_2m,relative_humidity_2m,weather_code. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.
    hourly
    Comma-separated hourly variable identifiers, e.g. temperature_2m,relative_humidity_2m,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies.
    daily
    Comma-separated daily variable identifiers, e.g. temperature_2m_max,temperature_2m_min,sunrise,sunset. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Supply timezone when daily is selected.
    minutely_15
    Comma-separated minutely_15 variable identifiers, e.g. temperature_2m,precipitation,wind_speed_10m. Accepts all identifiers supported by this operation and selected models, not just these examples. Variable availability depends on model, region and horizon. No former 256-character selection cap; total request size still applies. Native 15-minute coverage is regional; other regions may use hourly interpolation.
    current_weather
    Legacy convenience flag: true returns the predefined current-weather group and current_weather response section. Prefer current for explicit variable selection; when both are supplied true takes precedence.
    timezone
    IANA timezone, auto, or a comma-separated list for multiple locations. Default GMT. One timezone applies to all locations, otherwise count must match coordinates. Required with daily. Bounding-box queries allow one fixed timezone and do not allow auto.
    forecast_days
    Forecast calendar days, default 7; up to 16. Native model coverage may be shorter. Omit when using explicit start/end windows; a nonzero value conflicts with those windows.
    past_days
    Recent past calendar days, default 0; 0–92 for this Forecast API. Omit or set 0 with explicit windows. Earlier data use a separate historical endpoint.
    forecast_hours
    Number of future hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
    past_hours
    Number of past hourly steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
    forecast_minutely_15
    Number of future 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
    past_minutely_15
    Number of past 15-minute steps, anchored at the current hour or current 15-minute interval rather than midnight. Supply a positive integer; 0 can suppress that component. Available dates and maximum horizon are enforced upstream. Omit or set 0 with explicit start/end windows.
    initial_hours
    Optional start hour within the current local day when using forecast_hours, e.g. initial_hours=0 with forecast_hours=12 selects the first 12 hours. Upstream validates the initial-step value.
    initial_minutely_15
    Optional starting 15-minute step within the current local day when using forecast_minutely_15, e.g. 0 starts at midnight. Upstream validates the initial-step value.
    start_date
    Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with end_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    end_date
    Daily window boundary in YYYY-MM-DD; the end boundary is inclusive. Supply together with start_date. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    start_hour
    Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    end_hour
    Hourly window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_hour. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    start_minutely_15
    15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with end_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    end_minutely_15
    15-minute window boundary in YYYY-MM-DDTHH:MM; the end boundary is inclusive. Supply together with start_minutely_15. Repeated windows can be encoded as comma-separated values. Omit nonzero past/forecast length parameters when specifying explicit windows. Only dates available to this Forecast operation are allowed; this does not unlock an unlimited archive. Syntax, ordering, window counts and model availability are checked upstream.
    models
    One model identifier or a comma-separated list, e.g. best_match or gfs_seamless,ecmwf_ifs025. Omit for automatic selection. All currently supported Forecast model identifiers are forwarded; no best_match-only restriction. Multiple models add model suffixes to returned variable keys and consume more upstream calls. Deprecated or regional models may be unavailable.
    temporal_resolution
    Output timestep for hourly variables: native preserves model resolution; minutely_15/minutely_30 may interpolate; hourly/hourly_1, hourly_3 and hourly_6 select fixed steps.
    temperature_unit
    Temperature unit.
    wind_speed_unit
    Wind-speed unit; use this current spelling.
    windspeed_unit
    Legacy alias for wind_speed_unit. Avoid supplying both: this legacy spelling takes precedence upstream.
    precipitation_unit
    Precipitation unit; explicit value takes precedence over length_unit fallback.
    length_unit
    Compatibility unit selection. imperial provides an inch precipitation fallback when precipitation_unit is omitted; do not assume every length-valued variable is converted.
    timeformat
    ISO 8601 local timestamps or Unix seconds. For daylight-saving-aware times, request unixtime and convert using the returned timezone.
    cell_selection
    Weather grid-cell preference.
    elevation
    Elevation in metres, comma-separated elevations for multiple locations, or the literal string nan to disable statistical elevation downscaling. With a list, supply one entry per location. Omit to use the digital elevation model.
    tilt
    Solar-panel tilt: numeric 0–90 degrees, or literal string nan for a horizontal tracker. Used by global_tilted_irradiance variables. Range and special value are checked upstream.
    azimuth
    Solar-panel azimuth: numeric -180–180 degrees (0 south, -90 east, 90 west), or literal string nan for a vertical tracker. Both tilt and azimuth set to nan select a biaxial tracker. Checked upstream.
    location_id
    Optional comma-separated integer location IDs for multi-location response identification. If supplied, count must match coordinates; one ID can be a single integer string.
    format
    Response format. Default json. csv is text; xlsx and flatbuffers are binary and must be handled as bytes by the client. JSON response schema and the retained complete example apply to json only. Subject to 8 MiB response size.
    location_information
    Location metadata layout for CSV/XLSX export: section includes a metadata section; omit excludes it. This does not change JSON forecast variable selection.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/open-meteo-free/v1/forecast?current=temperature_2m%2Cweather_code&daily=temperature_2m_max%2Ctemperature_2m_min&forecast_days=1&hourly=temperature_2m%2Crelative_humidity_2m&latitude=31.23&longitude=121.47&timezone=Asia%2FShanghai' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "current": {
        "interval": 900,
        "temperature_2m": 8.9,
        "time": "2026-11-18T21:30",
        "weather_code": 0
      },
      "current_units": {
        "interval": "seconds",
        "temperature_2m": "°C",
        "time": "iso8601",
        "weather_code": "wmo code"
      },
      "daily": {
        "temperature_2m_max": [
          14.9
        ],
        "temperature_2m_min": [
          7.5
        ],
        "time": [
          "2026-11-18"
        ]
      },
      "daily_units": {
        "temperature_2m_max": "°C",
        "temperature_2m_min": "°C",
        "time": "iso8601"
      },
      "elevation": 3.0,
      "generationtime_ms": 0.3647804260253906,
      "hourly": {
        "relative_humidity_2m": [
          85,
          85,
          89,
          91,
          92,
          94,
          93,
          92,
          85,
          76,
          67,
          61,
          58,
          57,
          64,
          63,
          64,
          68,
          67,
          63,
          61,
          59,
          58,
          58
        ],
        "temperature_2m": [
          13.3,
          13.2,
          13.1,
          12.5,
          12.4,
          12.1,
          11.6,
          11.4,
          12.1,
          13.1,
          14.0,
          14.6,
          14.9,
          14.8,
          13.5,
          13.2,
          12.8,
          11.6,
          11.2,
          10.8,
          10.0,
          9.3,
          8.5,
          7.9
        ],
        "time": [
          "2026-11-18T00:00",
          "2026-11-18T01:00",
          "2026-11-18T02:00",
          "2026-11-18T03:00",
          "2026-11-18T04:00",
          "2026-11-18T05:00",
          "2026-11-18T06:00",
          "2026-11-18T07:00",
          "2026-11-18T08:00",
          "2026-11-18T09:00",
          "2026-11-18T10:00",
          "2026-11-18T11:00",
          "2026-11-18T12:00",
          "2026-11-18T13:00",
          "2026-11-18T14:00",
          "2026-11-18T15:00",
          "2026-11-18T16:00",
          "2026-11-18T17:00",
          "2026-11-18T18:00",
          "2026-11-18T19:00",
          "2026-11-18T20:00",
          "2026-11-18T21:00",
          "2026-11-18T22:00",
          "2026-11-18T23:00"
        ]
      },
      "hourly_units": {
        "relative_humidity_2m": "%",
        "temperature_2m": "°C",
        "time": "iso8601"
      },
      "latitude": 31.247803,
      "longitude": 121.5,
      "timezone": "Asia/Shanghai",
      "timezone_abbreviation": "GMT+8",
      "utc_offset_seconds": 28800
    }

Common questions

Does this implementation require business input parameters?

No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

Which pagination or result-size inputs are exposed?

start_date is string; start_hour is string; start_minutely_15 is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

Which values can I use for temporal_resolution?

The selected schema accepts native, minutely_15, minutely_30, hourly, hourly_1, hourly_3, hourly_6. Keep the documented string type and exact spelling for this input.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Open-Meteo Weather Forecast (Public Test) API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.