Weather now, forecast, or alerts
weatherCurrent conditions for a named place or coordinate. view='forecast' returns the hourly series; view='alerts' returns active severe-weather alerts (US coverage). Paid: call without x_payment to receive this call's exact terms (amount, asset, network), sign them, then call again with x_payment. The free pricing tool lists every price at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (with lon). | |
| lon | No | Longitude (with lat). | |
| view | No | Which weather read to perform. | current |
| hours | No | Forecast horizon in hours. | |
| place | No | Place name — resolved via the built-in gazetteer. Use this or lat+lon. | |
| x_payment | No | Optional signed x402 payment payload (base64, what the X-PAYMENT header carries). Omit to receive the exact payment terms; sign them (e.g. @x402/fetch) and call again with this argument to settle and get the data. |