Hourly & 5-Day Weather Forecast
weather_get_forecastGet a verified NOAA weather forecast for any location worldwide — hourly up to 18 hours at high-resolution 3 km across the United States, or multi-day up to 120 hours (5 days) anywhere on Earth. Returns temperature, wind speed, rain, and air pressure at each forecast step. Price: $0.05 with a prepaid API key or USDC.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "weather_get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Forecast length in hours (1 to 18 hours at 3 km in the United States, or up to 120 hours worldwide; default 12). | |
| latitude | No | Latitude in decimal degrees (-90 to 90, anywhere worldwide). | |
| longitude | No | Longitude in decimal degrees (-180 to 180, anywhere worldwide). | |
| spend_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header. | |
| credit_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header. | |
| step_hours | No | Optional hours between forecast points (1 to 12, default 3). | |
| destination | No | Optional featured city shortcut (or supply explicit latitude and longitude anywhere worldwide). | |
| builder_code | No | Optional partner referral code for revenue sharing. | |
| idempotency_key | No | Optional unique request ID so retries are never billed twice. | |
| payment_signature | No | Optional direct payment header when paying per request without a prepaid API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| model | No | ||
| source | No | ||
| coverage | No | ||
| forecast | No | ||
| resolution_km | No |