# x402 Weather API

> x402 Weather API is a paid API for AI agents from x402-api-production-bd43.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Returns current weather data for a specified city, paid per-call via x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-api-production-bd43.up.railway.app/weather?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-weather-api-03593cba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BVZ4ZY8MSENYrdSmS-boX

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 x402-weather-api-03593cba
```

Example prompt: What's the current weather in San Francisco right now?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call weather lookups without a subscription, especially in agent workflows using the x402 micropayment protocol. Ideal for low-frequency queries where a full weather API subscription would be overkill. Best when you already support x402-compatible payment flows.

## Known failure modes

- City name not found or misspelled — may return an error or empty result
- No city parameter provided — returns weather for a default location or an error
- Upstream weather data provider unavailable — may return 503 or timeout
- Payment failure via x402 — request rejected if micropayment not processed
- Rate limiting if too many requests are made in quick succession

## How this service works

Paid API endpoints for prices, weather, FX, news, gas, dominance, fear/greed, ATH, and more

## Output

Returns current weather conditions for the requested city, likely including temperature, weather description, and related meteorological data in JSON format. Charged at $0.01 USDC per call via x402 payment protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "string",
   "description": "Latitude"
  },
  "lon": {
   "type": "string",
   "description": "Longitude"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-weather-api-03593cba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-bd43.up.railway.app](https://www.zero.xyz/host/x402-api-production-bd43.up.railway.app/llms.txt)
