# X402 Hub – OpenWeather Proxy

> X402 Hub – OpenWeather Proxy is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.075/call, status unknown (last checked 2026-09-15).

Returns current weather or forecast data for a given location query, proxied through an x402 micropayment-gated endpoint on Base.

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/open-weather
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-openweather-proxy-89726caa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__vOXTH_p_8OaY9Yz-5nDB

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-hub-openweather-proxy-89726caa -d '<json body>'
```

Example prompt: What's the current weather in London — temperature, conditions, and humidity?

## When to prefer this

Choose this endpoint when your agent needs weather data without managing a traditional OpenWeatherMap API key subscription, and your workflow already supports x402 micropayments on Base. Ideal for pay-per-use agent pipelines that want to avoid API key management overhead and pay only $0.075 USDC per call.

## Known failure modes

- Invalid or unrecognized location query returns empty or error data from upstream
- Payment failure on Base network results in 402 response before data is returned
- Upstream OpenWeatherMap API outage causes delayed or failed response
- Malformed query string may cause upstream parse error
- Network timeout if Base micropayment settlement is slow

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a JSON object with a 'data' field containing the upstream OpenWeatherMap response, which typically includes current temperature, weather conditions description, humidity, wind speed, and related meteorological data for the queried location.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-openweather-proxy-89726caa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
