# X402 Hub – OpenWeatherMap Proxy

> X402 Hub – OpenWeatherMap 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-14).

Fetches weather data from OpenWeatherMap via an x402 micropayment-gated proxy endpoint on Base

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/open-weather-map
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-openweathermap-proxy-f8c709fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ulJDynyCRfRCdqqw-ntVV

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-openweathermap-proxy-f8c709fc -d '<json body>'
```

Example prompt: Can you get me the current weather for London, UK — temperature, conditions, and humidity?

## When to prefer this

Use this endpoint when you need pay-per-use weather data without managing your own OpenWeatherMap API key, or when operating in an x402 micropayment environment on Base where per-call USDC billing is preferred over subscription keys. Ideal for agents that query weather infrequently and want zero-setup access to OpenWeatherMap data.

## Known failure modes

- Invalid or unrecognized query string returns empty or error data object
- Payment failure if USDC balance is insufficient or x402 handshake fails
- Upstream OpenWeatherMap API errors propagated through the proxy
- Ambiguous location names may return results for unintended cities
- Network timeout if upstream API is slow

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a JSON object containing weather data from OpenWeatherMap, including current conditions such as temperature, humidity, wind speed, and weather description 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-openweathermap-proxy-f8c709fc/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)
