# Axol x402 Weather Worker

> Axol x402 Weather Worker is a paid API for AI agents from axol-x402-worker.axol.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a simple JSON weather report (condition and temperature) for a specified region and unit system, billed at $0.01 USDC per call via the x402 payment protocol.

## Facts

- Endpoint: POST https://axol-x402-worker.axol.workers.dev/weather
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axol-x402-worker-axol-workers-dev-df44008a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bioKdFBXm2mYtS6cS6dye

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 axol-x402-worker-axol-workers-dev-df44008a -d '<json body>'
```

Example prompt: What's the current weather in the Northeast region? Give me the temperature in Fahrenheit.

## When to prefer this

Use this endpoint when you need a quick, lightweight weather lookup for a demo or simple use case and are operating within an x402-compatible micropayment workflow. Ideal for agents that can handle pay-per-call USDC billing and need a minimal weather condition plus temperature response without complex forecast data.

## Known failure modes

- Missing required fields 'region' or 'units' returns a validation error
- Invalid or unrecognized region value may return an error or fallback demo data
- Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response
- Network timeout or Cloudflare Worker downtime returns a 5xx error

## How this service works

Returns a simple JSON weather report for the demo region.

## Output

A JSON object containing a 'report' field with two properties: 'weather' (a short text description such as 'sunny' or 'rainy') and 'temperature' (a numeric air temperature value in Fahrenheit or the requested unit).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axol-x402-worker-axol-workers-dev-df44008a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from axol-x402-worker.axol.workers.dev](https://www.zero.xyz/host/axol-x402-worker.axol.workers.dev/llms.txt)
