weatherpeek: get an hourly weather forecast for a place or coordinates
get_weatherGet hourly weather forecasts for any city or latitude/longitude point, with up to 48 hours of data. Use place names or coordinates; not for safety-critical decisions.
Instructions
weatherpeek: hourly weather forecast for a point or a city. For airport observations use get_metar. Input: either lat and lon together, or place alone, plus optional hours. place matches cities of 15,000+ people offline ("City" or "City, CC" with an ISO country code); no match is a 404 place_not_found (not charged). Upstream errors are a 5xx and are not charged. Typically 0.1-2 s. Price: USD 0.002. Free: 5 weather forecasts per IP per UTC day. Data: MET Norway and GeoNames, both CC BY 4.0; credit them when you show or republish it (see attribution). Forecasts are numerical weather model output and can be wrong: not for safety-critical decisions (aviation, marine, severe-weather warnings); use official services for those. Docs: https://tanod.dev/learn/weather-api-no-key.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (-90..90); give lat and lon together, or place. | |
| lon | No | Longitude (-180..180); give lat and lon together, or place. | |
| hours | No | Hourly rows to return (1-48, default 24). | |
| place | No | City name, optionally "City, CC" with an ISO country code (cities with 15,000+ people); give place alone, or lat and lon. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| hours | No | ||
| units | No | ||
| cached | No | ||
| hourly | No | ||
| location | No | ||
| updated_at | No | ||
| attribution | No |