# Tollkit Weather Forecast

> Tollkit Weather Forecast is a paid API for AI agents from web.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns a multi-period weather forecast for a given location specified by coordinates or US street address

## Facts

- Endpoint: POST https://web.tollkit.dev/weather?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-weather-forecast-7b6d7dd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d0LLlaVhe943c_QJJCqfN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tollkit-weather-forecast-7b6d7dd3 -d '<json body>'
```

Example prompt: What's the weather going to be like at 38.98 latitude, -76.49 longitude for the next 7 periods — give me a 12-hour forecast breakdown?

## When to prefer this

Choose this endpoint when you need a quick, no-signup weather forecast and can pay micro-amounts per call in USDC via x402. Ideal for agents that need weather data on demand without managing API keys or subscriptions. Best suited for US addresses or precise coordinate-based lookups with up to 14 12-hour forecast periods.

## Known failure modes

- Invalid or out-of-range latitude/longitude values return an error
- Address cannot be geocoded or resolved returns an error
- Periods value outside 1–14 range is rejected
- Payment not included or insufficient USDC amount results in 402 Payment Required response
- Network or upstream weather data provider unavailability causes 5xx errors

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

A list of up to 14 12-hour forecast periods for the specified location, including weather conditions and related meteorological data for each period. Response is keyed by the requested latitude/longitude or resolved address coordinates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "description": "Latitude, e.g. 38.98"
  },
  "lon": {
   "type": "number",
   "description": "Longitude, e.g. -76.49"
  },
  "address": {
   "type": "string",
   "maxLength": 200,
   "description": "US street address instead of lat/lon, e.g. \"1600 Pennsylvania Ave NW, Washington, DC 20500\"."
  },
  "periods": {
   "type": "integer",
   "default": 14,
   "maximum": 14,
   "minimum": 1,
   "description": "How many 12-hour periods to return."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-weather-forecast-7b6d7dd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web.tollkit.dev](https://www.zero.xyz/host/web.tollkit.dev/llms.txt)
