Weather
weatherCurrent conditions plus a daily forecast (up to 16 days) for any place name or lat/lon via Open-Meteo (key-less, CC BY 4.0); temperature in °C or °F, cached 30 min. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Your EVM wallet address (0x...). Unlocks the free tier (3 free calls per wallet). | |
| api_key | No | Optional AMR enterprise API key. | |
| latitude | No | -90..90. Use with longitude instead of location. | |
| location | No | Place name, e.g. 'Berlin'. Optional if latitude/longitude are given. | |
| longitude | No | -180..180. | |
| x_payment | No | Optional signed x402 payment payload (base64 JSON) for USDC/USDT on Base. | |
| forecast_days | No | 1-16 (default 7). | |
| temperature_unit | No | Default celsius. | celsius |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily | No | ||
| token | No | Token actually used for payment (USDC, USDT or FREE). | USDC |
| source | Yes | ||
| country | No | ||
| current | No | ||
| routing | Yes | How the request was routed (provider, fallback, cache, latency). | |
| latitude | No | ||
| location | No | ||
| timezone | No | ||
| cost_usdc | Yes | Price charged in stablecoin units (USDC/USDT 1:1); 0 on the free tier. | |
| elevation | No | ||
| longitude | No | ||
| fetched_at | No | UTC timestamp when the data was fetched. | |
| attribution | No | ||
| temperature_unit | No | ||
| freshness_seconds | Yes | Age of the underlying data in seconds (0 = fetched live). | |
| x_payment_response | No | Base64-encoded x402 settlement receipt (mirrors the X-PAYMENT-RESPONSE header). Only present when the call was paid with `x_payment`. |