OpenWeather API
openweather_apiProvides access to current weather data, forecasts, and historical weather data for any location worldwide.
Acciones disponibles (17)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Delete Weather StationOPENWEATHER_API_DELETE_WEATHER_STATIONAcciónTool to delete a registered weather station. use after identifying a station to remove. returns confirmation message upon success.
OPENWEATHER_API_DELETE_WEATHER_STATIONAcciónTool to delete a registered weather station. use after identifying a station to remove. returns confirmation message upon success.
Parámetros de entrada
station_idstringObligatorioThe unique ID of the weather station to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get 5 Day ForecastOPENWEATHER_API_GET5_DAY_FORECASTAcciónTool to get a 5-day forecast every 3 hours. use after specifying location.
OPENWEATHER_API_GET5_DAY_FORECASTAcciónTool to get a 5-day forecast every 3 hours. use after specifying location.
Parámetros de entrada
qstringCity name and optional country code, e.g. 'London,uk'
idintegerOpenWeatherMap city ID
latnumberLatitude in degrees
lonnumberLongitude in degrees
zipstringZip code with country code, e.g. '94040,us'
langstringLanguage code (ISO 639-1)
modestringenumResponse format
jsonxmlhtmlunitsstringenumUnits of measurement (standard, metric, imperial)
standardmetricimperial
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current Air Pollution DataOPENWEATHER_API_GET_AIR_POLLUTION_CURRENTAcciónTool to fetch current air pollution data for a location. use when you need real-time air quality details by latitude and longitude.
OPENWEATHER_API_GET_AIR_POLLUTION_CURRENTAcciónTool to fetch current air pollution data for a location. use when you need real-time air quality details by latitude and longitude.
Parámetros de entrada
latnumberObligatorioLatitude of the location, between -90 and 90
lonnumberObligatorioLongitude of the location, between -180 and 180
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Air Pollution ForecastOPENWEATHER_API_GET_AIR_POLLUTION_FORECASTAcciónTool to get forecasted air pollution data for a specific location. use after confirming latitude and longitude.
OPENWEATHER_API_GET_AIR_POLLUTION_FORECASTAcciónTool to get forecasted air pollution data for a specific location. use after confirming latitude and longitude.
Parámetros de entrada
latnumberObligatorioGeographical latitude in decimal degrees (range -90 to 90)
lonnumberObligatorioGeographical longitude in decimal degrees (range -180 to 180)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Air Pollution HistoryOPENWEATHER_API_GET_AIR_POLLUTION_HISTORYAcciónTool to retrieve historical air pollution data. use when you need past air quality levels for a specific latitude/longitude and time range.
OPENWEATHER_API_GET_AIR_POLLUTION_HISTORYAcciónTool to retrieve historical air pollution data. use when you need past air quality levels for a specific latitude/longitude and time range.
Parámetros de entrada
endintegerObligatorioEnd UNIX timestamp (UTC seconds); must be >= start
latnumberObligatorioLatitude of the location (range: -90 to 90)
lonnumberObligatorioLongitude of the location (range: -180 to 180)
startintegerObligatorioStart UNIX timestamp (UTC seconds); must be <= end
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Circle City WeatherOPENWEATHER_API_GET_CIRCLE_CITY_WEATHERAcciónTool to search for current weather data in cities around a geographic point. use when you need to fetch weather within a radius circle after confirming latitude and longitude.
OPENWEATHER_API_GET_CIRCLE_CITY_WEATHERAcciónTool to search for current weather data in cities around a geographic point. use when you need to fetch weather within a radius circle after confirming latitude and longitude.
Parámetros de entrada
cntintegerNumber of cities to return within the circle (1–50). Default is 10.
latnumberObligatorioLatitude of the circle center in degrees (-90 to 90)
lonnumberObligatorioLongitude of the circle center in degrees (-180 to 180)
langstringLanguage of the response (ISO 639-1)
modestringenumResponse format: 'json' or 'xml'
jsonxmlunitsstringenumUnits of measurement: standard, metric, or imperial
standardmetricimperial
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current WeatherOPENWEATHER_API_GET_CURRENT_WEATHERAcciónTool to retrieve current weather data for a location. use when you need up-to-the-minute weather info.
OPENWEATHER_API_GET_CURRENT_WEATHERAcciónTool to retrieve current weather data for a location. use when you need up-to-the-minute weather info.
Parámetros de entrada
qstringCity name, state code and country code, e.g., 'London,uk'
idintegerCity ID, e.g., 2172797
latnumberGeographic coordinate latitude, e.g., 35.0
lonnumberGeographic coordinate longitude, e.g., 139.0
zipstringZip code and country code, e.g., '94040,us'
langstringLanguage for the response (ISO 639-1 code, e.g., 'en')
unitsstringenumUnits of measurement. 'standard' (default), 'metric', or 'imperial'
standardmetricimperial
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Direct GeocodingOPENWEATHER_API_GET_GEOCODING_DIRECTAcciónTool to convert a location name into geographic coordinates. use when you need latitude and longitude for a given location after confirming the precise name.
OPENWEATHER_API_GET_GEOCODING_DIRECTAcciónTool to convert a location name into geographic coordinates. use when you need latitude and longitude for a given location after confirming the precise name.
Parámetros de entrada
qstringObligatorioLocation query including city name, state code and country code separated by commas (e.g., 'London,UK').
limitintegerNumber of results to return (1 to 5). Defaults to 5.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Reverse GeocodingOPENWEATHER_API_GET_GEOCODING_REVERSEAcciónTool to convert geographic coordinates into a location name. use when you need city, state, and country info from latitude and longitude.
OPENWEATHER_API_GET_GEOCODING_REVERSEAcciónTool to convert geographic coordinates into a location name. use when you need city, state, and country info from latitude and longitude.
Parámetros de entrada
latnumberObligatorioLatitude of the location in decimal degrees
lonnumberObligatorioLongitude of the location in decimal degrees
limitintegerNumber of results to return (1 to 5)
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current UV IndexOPENWEATHER_API_GET_UV_INDEXAcciónTool to retrieve current uv index for a location. use when you need up-to-the-minute uv index by latitude and longitude.
OPENWEATHER_API_GET_UV_INDEXAcciónTool to retrieve current uv index for a location. use when you need up-to-the-minute uv index by latitude and longitude.
Parámetros de entrada
latnumberObligatorioLatitude of the location, between -90 and 90
lonnumberObligatorioLongitude of the location, between -180 and 180
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UV Index ForecastOPENWEATHER_API_GET_UV_INDEX_FORECASTAcciónTool to retrieve uv index forecast for a specific location. use when you need upcoming uv index values after confirming latitude and longitude. returns up to 8 days of data.
OPENWEATHER_API_GET_UV_INDEX_FORECASTAcciónTool to retrieve uv index forecast for a specific location. use when you need upcoming uv index values after confirming latitude and longitude. returns up to 8 days of data.
Parámetros de entrada
cntintegerNumber of days to return (1-8); defaults to 8 if not specified
latnumberObligatorioLatitude of the location, between -90 and 90
lonnumberObligatorioLongitude of the location, between -180 and 180
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UV Index HistoryOPENWEATHER_API_GET_UV_INDEX_HISTORYAcciónTool to retrieve historical uv index data for a specified location and time range. use when you need to analyze past uv exposure trends after confirming coordinates and time period.
OPENWEATHER_API_GET_UV_INDEX_HISTORYAcciónTool to retrieve historical uv index data for a specified location and time range. use when you need to analyze past uv exposure trends after confirming coordinates and time period.
Parámetros de entrada
endintegerObligatorioEnd UNIX timestamp (UTC seconds); must be >= start
latnumberObligatorioLatitude of the location (range: -90 to 90)
lonnumberObligatorioLongitude of the location (range: -180 to 180)
startintegerObligatorioStart UNIX timestamp (UTC seconds); must be <= end
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Weather Map Tile (2.0)OPENWEATHER_API_GET_WEATHER_MAP_TILEAcciónTool to fetch weather maps 2.0 tile images. use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.
OPENWEATHER_API_GET_WEATHER_MAP_TILEAcciónTool to fetch weather maps 2.0 tile images. use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.
Parámetros de entrada
xintegerObligatorioTile X coordinate (non-negative integer).
yintegerObligatorioTile Y coordinate (non-negative integer).
zintegerObligatorioZoom level of the tile (non-negative integer).
fillstringColor for empty-data fill areas (hex or named).
colorstringColor schema of the tiles, e.g., 'original', 'black'.
layerstringObligatorioenumWeather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.
cloudsclouds_newprecipitationprecipitation_newpressurepressure_newwindwind_newtemptemp_newscaleintegerenumTile scale factor: 1 or 2 for retina.
12formatstringImage format; only 'png' is supported.
opacitynumberTile opacity value between 0.0 and 1.0.
palettestringCustom palette definition (comma-separated or JSON).
fill_boundbooleanFill tiles outside data coverage if true.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Weather StationsOPENWEATHER_API_GET_WEATHER_STATIONSAcciónTool to list all weather stations added to your account. use after setting up your openweather api key.
OPENWEATHER_API_GET_WEATHER_STATIONSAcciónTool to list all weather stations added to your account. use after setting up your openweather api key.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Weather TriggersOPENWEATHER_API_GET_WEATHER_TRIGGERSAcciónTool to retrieve weather triggers for specific conditions. use after defining trigger criteria.
OPENWEATHER_API_GET_WEATHER_TRIGGERSAcciónTool to retrieve weather triggers for specific conditions. use after defining trigger criteria.
Parámetros de entrada
triggersobject[]ObligatorioList of weather trigger definitions
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add Weather StationOPENWEATHER_API_POST_ADD_WEATHER_STATIONAcciónTool to add a new weather station to your account. use when you need to register a station before sending custom data.
OPENWEATHER_API_POST_ADD_WEATHER_STATIONAcciónTool to add a new weather station to your account. use when you need to register a station before sending custom data.
Parámetros de entrada
namestringObligatorioStation name
altitudenumberObligatorioStation altitude in meters above sea level
latitudenumberObligatorioStation latitude, range -90 to 90 degrees
longitudenumberObligatorioStation longitude, range -180 to 180 degrees
external_idstringObligatorioExternal station ID (your own reference)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Weather StationOPENWEATHER_API_UPDATE_WEATHER_STATIONAcciónTool to update weather station details. use when you need to modify the name, location, or external id of an existing station.
OPENWEATHER_API_UPDATE_WEATHER_STATIONAcciónTool to update weather station details. use when you need to modify the name, location, or external id of an existing station.
Parámetros de entrada
namestringHuman-readable name for the station
altitudenumberAltitude of the station above sea level in meters
latitudenumberObligatorioLatitude of the station in degrees, between -90 and 90
longitudenumberObligatorioLongitude of the station in degrees, between -180 and 180
station_idstringObligatorioUnique identifier of the weather station to update
external_idstringCustom user-provided external identifier for the station
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not