# PayanAgent Current Weather by City

> PayanAgent Current Weather by City is a paid API for AI agents from payanagent.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns current weather conditions for a given city or place name, geocoded via Open-Meteo.

## Facts

- Endpoint: POST https://payanagent.com/x402/kh7ae6p2z1gga2xb0xv2gh6sth8b86ve
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payanagent-current-weather-by-city-3b176cd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TXduRKABbQyEBTqjGP7Rc

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 payanagent-current-weather-by-city-3b176cd2 -d '<json body>'
```

Example prompt: What are the current weather conditions in Amsterdam?

## When to prefer this

Choose this endpoint when you need real-time current weather conditions for any city or place worldwide, especially in an agent-to-agent or automated context where payment via x402 USDC on Base is supported. Prefer over free alternatives when operating within the PayanAgent marketplace ecosystem or when a lightweight, pay-per-call model is preferred over API key management.

## Known failure modes

- Unknown or misspelled city name may fail geocoding and return an error
- Ambiguous place names (e.g. 'Springfield') may resolve to an unintended location
- Network or upstream Open-Meteo service downtime can cause failures
- Payment via x402 may fail if USDC balance is insufficient

## How this service works

Current weather conditions by city or place name.

## Output

Current weather conditions for the specified city or place, including data sourced from Open-Meteo such as temperature, weather status, and related environmental metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "location": {
   "type": "string",
   "description": "City or place name. Geocoded via Open-Meteo."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payanagent-current-weather-by-city-3b176cd2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payanagent.com](https://www.zero.xyz/host/payanagent.com/llms.txt)
