WeatherXM Pro
Interact with the WeatherXM Pro API.
This node is AI Tool enabled: it exposes all WeatherXM Pro API endpoints as actions, making it easy for AI agents to fetch weather data, station info, and forecasts.
Example usage:
- Get the latest observation for a station
- Find stations near a location
- Get weather forecast for a cell
Overview
This node interacts with the WeatherXM Pro API to fetch various types of weather data and station information. It supports multiple actions such as retrieving the latest or historical weather observations for a specific station, finding weather stations near a location or within a bounding box, listing all stations, querying stations within an H3 cell, searching H3 cells by region name, and obtaining weather forecasts for a specific H3 cell. This node is useful for real-time weather monitoring, historical weather analysis, spatial queries, and weather forecasting applications.
Use Case Examples
- Get the latest weather observation for a specific station to display real-time weather data on a dashboard.
- Fetch historical weather observations for a station on a given date for analytics and reporting.
- Find all weather stations within a 1km radius of a given latitude and longitude to identify nearby stations.
- Retrieve weather forecasts (daily or hourly) for a specific H3 cell to support predictive analytics and planning.
Properties
| Name | Meaning |
|---|---|
| Action | Selects the WeatherXM Pro API endpoint to call, determining the type of weather or station data to fetch. |
| Station ID | The unique identifier of the weather station, required for fetching observations. |
| Date | The date (YYYY-MM-DD) for which to fetch historical observations. |
| Latitude | Latitude coordinate for querying stations near a location. |
| Longitude | Longitude coordinate for querying stations near a location. |
| Radius | Radius in meters to define the search area for nearby stations. |
| Min Latitude | Minimum latitude of the bounding box for station queries. |
| Min Longitude | Minimum longitude of the bounding box for station queries. |
| Max Latitude | Maximum latitude of the bounding box for station queries. |
| Max Longitude | Maximum longitude of the bounding box for station queries. |
| Region Name | Name of the region to search for H3 cells. |
| Cell Index | H3 index of the cell to return stations for. |
| Forecast Cell Index | H3 index of the cell to get weather forecast for. |
| From Date | Start date (YYYY-MM-DD) for forecast data. |
| To Date | End date (YYYY-MM-DD) for forecast data. |
| Include | Type of forecast data to include: daily summaries or hourly details. |
Output
JSON
json- The JSON response from the WeatherXM Pro API containing weather data, station information, or forecasts depending on the selected action.
Dependencies
- WeatherXM Pro API
- API key credential for authentication
Troubleshooting
- Ensure that the API key credential is correctly configured and valid; missing or invalid credentials will cause authentication errors.
- Required parameters must be provided for each action, e.g., Station ID for observations, dates for historical data, or cell indices for cell-based queries; missing parameters will cause errors.
- Check network connectivity and API endpoint availability if requests fail.
- Error messages from the API are prefixed with 'WeatherXM Pro API error:' to help identify issues related to the external service.
Links
- WeatherXM Pro API Documentation - Official API documentation for WeatherXM Pro, detailing endpoints and usage.