x402_weatherapi_get_v1_astronomy
Fetches sun and moon astronomy data for a location and date, enabling planning around sunrise, sunset, moon phase, and celestial events.
Instructions
weatherapi — WeatherAPI.com endpoints complementing weathernow (open-meteo): current conditions with AQI/UV/pollen, 14-day forecast, severe weather alerts, sun/moon astronomy, marine forecast with tides, location autocomplete, historical weather. $0.005/call on Base/Polygon/Arbitrum/World. [GET /v1/astronomy] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/astronomy?q=Tokyo&dt=2026-11-26
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": "x402_weatherapi_get_v1_astronomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH/DELETE | |
| query | No | Query parameters, e.g. {base:'USD', quote:'EUR'} | |
| restart | No | Explicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete. | |
| operationId | No | Durable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments. |