# x402 APIs - Weather Data (Pay-Per-Request)

> x402 APIs - Weather Data (Pay-Per-Request) is a paid API for AI agents from x402-apis-eta.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns current weather data for a given city or lat/lon coordinate via a single micropayment, no API key required.

## Facts

- Endpoint: GET https://x402-apis-eta.vercel.app/api/data/weather
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-apis-weather-data-pay-per-request-491e0591
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__LZVNyCgHnNMucUtS4RJ4

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-apis-weather-data-pay-per-request-491e0591
```

Example prompt: What's the current weather in Austin, Texas? Just pay the per-request fee and give me temperature and conditions — no API key setup.

## When to prefer this

Choose this endpoint when your AI agent needs weather data without going through API key registration or account setup, and you are comfortable with small per-call USDC micropayments via the x402 protocol. Ideal for low-frequency, on-demand weather lookups in agent workflows where frictionless access matters more than bulk pricing.

## Known failure modes

- Payment not included or insufficient — returns HTTP 402 with payment requirements
- Invalid or unrecognized city name — may return empty or error response
- Missing both city and lat/lon parameters — likely returns a 400 bad request
- Network or Vercel hosting downtime — 503 or timeout
- Invalid coordinate values — may produce unexpected results or errors

## How this service works

AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.

## Output

Returns current weather information for the requested location, including temperature, weather conditions, and related meteorological data. Payment of $0.005 USDC is deducted per call via the x402 protocol.

## Example request

```json
{
 "city": "London"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "string",
   "description": "Latitude (optional)"
  },
  "lon": {
   "type": "string",
   "description": "Longitude (optional)"
  },
  "city": {
   "type": "string",
   "description": "City name"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-apis-weather-data-pay-per-request-491e0591/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-apis-eta.vercel.app](https://www.zero.xyz/host/x402-apis-eta.vercel.app/llms.txt)
