# Monid X402 Weather API (Pay-Per-Call)

> Monid X402 Weather API (Pay-Per-Call) is a paid API for AI agents from x402-proxy.monid.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns current weather conditions for a given city via a micropayment-gated proxy on Base/USDC

## Facts

- Endpoint: GET https://x402-proxy.monid.workers.dev/api/weather/:city
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/monid-x402-weather-api-pay-per-call-59914365
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BDTCXdMUBhpYkoNldjhzH

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 monid-x402-weather-api-pay-per-call-59914365
```

Example prompt: What is the current weather in San Francisco — temperature, humidity, wind speed, and conditions?

## When to prefer this

Choose this endpoint when you need quick, per-call weather lookups without a subscription, especially in crypto-native or x402-payment-enabled agent workflows. It is ideal for AI agents that already handle x402 micropayments on Base/USDC and need lightweight, pay-as-you-go weather data without API key management. Prefer alternatives if you need forecast data, historical weather, or bulk city queries at lower per-call cost.

## Known failure modes

- Payment not made or rejected: 402 Payment Required response before data is returned
- Invalid or unrecognized city slug: may return an error or empty result
- City slug malformed (e.g. spaces instead of hyphens): parameter parsing failure
- Network or worker timeout on Cloudflare Workers edge
- Upstream Monid data source unavailable: proxy may return 502 or empty payload

## How this service works

Pay-per-call API proxy reselling Monid tools via x402 payments on Base. Each endpoint requires a USDC micropayment before returning data.

## Output

A JSON object containing the city slug, current temperature (likely in Fahrenheit), humidity percentage, weather condition string (e.g. 'Partly Cloudy'), and wind speed — all for the requested city at the time of call, returned after a $0.05 USDC micropayment via x402 on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "city": {
      "type": "string",
      "description": "City name slug"
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "city": {
       "type": "string"
      },
      "humidity": {
       "type": "number"
      },
      "condition": {
       "type": "string"
      },
      "windSpeed": {
       "type": "number"
      },
      "temperature": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "san-francisco",
  "humidity": 45,
  "condition": "Partly Cloudy",
  "windSpeed": 8,
  "temperature": 72
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/monid-x402-weather-api-pay-per-call-59914365/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-proxy.monid.workers.dev](https://www.zero.xyz/host/x402-proxy.monid.workers.dev/llms.txt)
