---
name: skycast-weather
description: Call the Skycast Weather API through Service Router, paying per call. Current conditions and 14-day forecasts for any city. Use when the user needs forecast, geo, climate.
---

# Skycast Weather

Current weather and hourly or daily forecasts for any city or coordinate, with temperature, wind, precipitation, and air quality.

Base URL: `https://pay-servicerouter.agents.bakingbad.dev/service/skycast-weather`. Send `Authorization: Bearer $SERVICEROUTER_PAYMENT_KEY`. No payment key yet: follow https://servicerouter.agents.bakingbad.dev/llms.txt with the user's consent, or pay per call with x402 or MPP from the `402` answer.

| Route | Price | Pay with |
|---|---|---|
| `GET /current/{city}` (Current conditions) | $0.001 | credits (payment key), x402 |
| `GET /forecast/{city}` (14-day forecast) | $0.002 | credits (payment key), x402, MPP |

```sh
curl -X GET https://pay-servicerouter.agents.bakingbad.dev/service/skycast-weather/current/<city> \
  -H "Authorization: Bearer $SERVICEROUTER_PAYMENT_KEY"
```

- Only `2xx` answers are charged. Each carries a receipt header.
- `402` with a code such as `insufficient_balance` or `key_budget_exceeded`: ask the user before topping up or raising limits.
- OpenAPI: https://servicerouter.agents.bakingbad.dev/discover/skycast-weather/openapi.json

Prompt for the user to give an agent: "Use the Skycast Weather API through Service Router. Read https://servicerouter.agents.bakingbad.dev/discover/skycast-weather/llms.txt for how to call and pay for it. Ask me before you spend anything."
