# Cerwal Weather Lookup

> Cerwal Weather Lookup is a paid API for AI agents from cerwal.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns weather data for a given location name via a pay-per-request API using USDC via x402

## Facts

- Endpoint: POST https://cerwal.vercel.app/api/weather
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerwal-weather-lookup-ec3d46a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dWERMMYnO_smQE3Gz5771

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 cerwal-weather-lookup-ec3d46a8 -d '<json body>'
```

Example prompt: What's the current weather in San Francisco? Just give me the location name and fetch the latest conditions.

## When to prefer this

Choose this endpoint when you need a simple, no-auth, no-subscription weather lookup by location name and are comfortable paying per request in USDC via x402. Ideal for AI agents that need occasional weather data without setting up API keys or monthly plans.

## Known failure modes

- Invalid or unrecognized location name returns an error or empty data
- Payment failure via x402 results in 402 response and no data returned
- Network or server errors on the Vercel deployment may cause 500 responses
- Ambiguous location names (e.g. 'Springfield') may return data for an unexpected city

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing weather information for the requested location. The structure of 'data' may vary but typically includes current conditions for the given location name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "location": {
   "type": "string",
   "description": "Location name"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerwal-weather-lookup-ec3d46a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerwal.vercel.app](https://www.zero.xyz/host/cerwal.vercel.app/llms.txt)
