Overview
This node retrieves current weather data from the Open-Meteo API based on specified geographic coordinates. It is useful for workflows that require real-time weather information such as temperature, wind speed, and humidity at a given location. Practical applications include environmental monitoring, travel planning, agriculture automation, or any scenario where up-to-date weather conditions influence decision-making.
For example, you can input latitude and longitude of a city to get its current temperature and wind speed, then use this data downstream in your workflow to trigger alerts or adjust operations accordingly.
Properties
| Name | Meaning |
|---|---|
| Latitude | Geographical coordinate specifying the north-south position of the location (latitude). |
| Longitude | Geographical coordinate specifying the east-west position of the location (longitude). |
| Weather Parameters | Select one or more current weather parameters to include in the response: |
| - Temperature (2m) | |
| - Wind Speed (10m) | |
| - Relative Humidity (2m) |
Output
The node outputs JSON data containing the requested current weather parameters for the specified location. The structure corresponds directly to the Open-Meteo API response fields filtered by the selected parameters. Each item in the output array represents the weather data for one input set of coordinates.
No binary data is produced by this node.
Example output snippet:
[
{
"temperature_2m": 15.3,
"wind_speed_10m": 5.4,
"relative_humidity_2m": 72
}
]
Dependencies
- Requires internet access to call the Open-Meteo public API endpoint (
https://api.open-meteo.com/v1/forecast). - No authentication or API key is needed.
- No additional n8n credentials or environment variables are required.
Troubleshooting
Common issues:
- Invalid or missing latitude/longitude values may cause the API request to fail or return empty data.
- Selecting no weather parameters will result in an incomplete or empty response.
- Network connectivity problems will prevent successful API calls.
Error messages:
- If the API returns an error, the node will output an error message in the JSON under an
errorfield if "Continue On Fail" is enabled. - Typical errors include invalid query parameters or rate limiting by the API provider.
- If the API returns an error, the node will output an error message in the JSON under an
Resolutions:
- Ensure latitude and longitude are valid decimal strings within their respective ranges.
- Select at least one weather parameter.
- Check network connection and retry.
- Enable "Continue On Fail" to handle errors gracefully in workflows.
Links and References
- Open-Meteo API Documentation
- n8n Documentation on HTTP Request Node (for understanding underlying HTTP calls)