Open-Meteo Weather
Vand ID: vand-b94925c2-748a-4811-abce-aedd89190663
Learn how to easily use the Open-Meteo Weather tool with the OpenAI API.
Open-Meteo offers current weather and weather forecast information using latitude and longitude.
OpenAI function calls:
{ "name": "getWeather", "description": "current weather and 7-day weather variables in hourly and daily resolution for given WGS84 latitude and longitude coordinates. Available worldwide.", "parameters": { "type": "object", "properties": { "hourly": { "items": { "type": "string", "enum": [ "weather_code", "temperature_2m" ] }, "type": "array", "description": "If an hourly forecast is desired, these are the parameters that will be supplied; recommendation is to include all of them." }, "daily": { "items": { "type": "string", "enum": [ "weather_code", "temperature_2m_max", "temperature_2m_min" ] }, "type": "array", "description": "If a daily forecast is desired, these are the parameters that will be supplied; recommendation is to include all of them." }, "latitude": { "type": "number", "schema_format": "float", "description": "The WGS84 latitude coordinate for the location." }, "longitude": { "type": "number", "schema_format": "float", "description": "The WGS84 longitude coordinate for the location." }, "current_weather": { "type": "boolean", "description": "A boolean indicating if current weather data should be fetched; results include World Meteorological Organization Codes (WMO) code for the current condition." } }, "required": [ "latitude", "longitude" ] } }
Auth Type
noneServers
https://api.open-meteo.com
OpenAPI:
{ "openapi": "3.0.0", "servers": [ { "url": "https://api.open-meteo.com" } ], "info": { "title": "Open-Meteo Weather", "description": "Open-Meteo offers current weather and weather forecast information using latitude and longitude.", "version": "1.0", "contact": { "name": "Open-Meteo", "url": "https://open-meteo.com", "email": "info@open-meteo.com" }, "license": { "name": "Attribution 4.0 International (CC BY 4.0)", "url": "https://creativecommons.org/licenses/by/4.0/" }, "termsOfService": "https://open-meteo.com/en/features#terms" }, "paths": { "/v1/forecast": { "get": { "tags": [ "Weather Forecast APIs" ], "summary": "current weather and 7-day weather forecast for coordinates", "description": "current weather and 7-day weather variables in hourly and daily resolution for given WGS84 latitude and longitude coordinates. Available worldwide.", "operationId": "getWeather", "parameters": [ { "name": "hourly", "in": "query", "required": false, "description": "If an hourly forecast is desired, these are the parameters that will be supplied; recommendation is to include all of them.", "schema": { "type": "array", "items": { "type": "string", "enum": [ "weather_code", "temperature_2m" ] } } }, { "name": "daily", "in": "query", "required": false, "description": "If a daily forecast is desired, these are the parameters that will be supplied; recommendation is to include all of them.", "schema": { "type": "array", "items": { "type": "string", "enum": [ "weather_code", "temperature_2m_max", "temperature_2m_min" ] } } }, { "name": "latitude", "in": "query", "required": true, "description": "The WGS84 latitude coordinate for the location.", "schema": { "type": "number", "format": "float" } }, { "name": "longitude", "in": "query", "required": true, "description": "The WGS84 longitude coordinate for the location.", "schema": { "type": "number", "format": "float" } }, { "name": "current_weather", "in": "query", "description": "A boolean indicating if current weather data should be fetched; results include World Meteorological Organization Codes (WMO) code for the current condition.", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "latitude": { "type": "number", "example": 52.52, "description": "WGS84 of the center of the weather grid-cell which was used to generate this forecast. This coordinate might be up to 5 km away." }, "longitude": { "type": "number", "example": "13.419.52", "description": "WGS84 of the center of the weather grid-cell which was used to generate this forecast. This coordinate might be up to 5 km away." }, "elevation": { "type": "number", "example": 44.812, "description": "The elevation in meters of the selected weather grid-cell. In mountain terrain, it might differ from the location you would expect." }, "generationtime_ms": { "type": "number", "example": 2.2119, "description": "Generation time of the weather forecast in milliseconds. This is mainly used for performance monitoring and improvements." }, "utc_offset_seconds": { "type": "integer", "example": 3600, "description": "Applied timezone offset from the \u0026timezone= parameter." }, "hourly": { "description": "For each selected weather variable, data will be returned as a floating-point array. Additionally, a `time` array will be returned with ISO8601 timestamps." }, "hourly_units": { "type": "object", "additionalProperties": { "type": "string" }, "description": "For each selected weather variable, the unit will be listed here." }, "daily": { "description": "For each selected daily weather variable, data will be returned as a floating-point array. Additionally, a `time` array will be returned with ISO8601 timestamps." }, "daily_units": { "type": "object", "additionalProperties": { "type": "string" }, "description": "For each selected daily weather variable, the unit will be listed here." }, "current_weather": { "description": "current weather" } } } } } } } } } } }