# agentx.sale Live Weather by City

> agentx.sale Live Weather by City is a paid API for AI agents from agentx.sale, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Returns live current weather conditions for any city using Open-Meteo data

## Facts

- Endpoint: GET https://agentx.sale/x402/weather?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentx-sale-live-weather-by-city-d69db8e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KeiJD1F5sf0f5OB8M1ao2

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 agentx-sale-live-weather-by-city-d69db8e4
```

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

## When to prefer this

Choose this endpoint when you need live, real-time current weather for a city by name and want a simple, pay-per-call model at $0.01 USDC with no API key management. Prefer this over subscription-based weather APIs for low-volume or agent-driven ad-hoc weather lookups where simplicity and x402 micropayment compatibility matter.

## Known failure modes

- City name not recognized or ambiguous — returns an error or empty result
- Open-Meteo upstream outage causes service unavailability
- Missing required 'city' query parameter returns a validation error
- Payment of $0.01 USDC not provided or insufficient — 402 Payment Required response

## How this service works

Live current weather for any city (Open-Meteo)

## Output

Returns current weather data for the requested city including temperature, weather conditions, humidity, wind speed, and other real-time meteorological readings sourced from Open-Meteo.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "city"
     ],
     "properties": {
      "city": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "Aberdeen",
  "conditions": "partly cloudy",
  "temperature_c": 12.6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentx-sale-live-weather-by-city-d69db8e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
