# X402 Hub Weather DB

> X402 Hub Weather DB 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).

Queries a weather database via a natural language or structured query string, returning weather data through an x402 micropayment-protected endpoint on Base.

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/weather-db
- 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-weather-db-f60f153a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LNnFtRoFy1nOtJkSPznlD

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-weather-db-f60f153a -d '<json body>'
```

Example prompt: Can you query the weather database for current conditions and temperature in Denver, Colorado?

## When to prefer this

Choose this endpoint when you need to query weather data via a flexible natural language or structured query string and are operating in an x402 micropayment-enabled environment on Base. It is well-suited for agents that already handle x402 payment flows and need lightweight, pay-per-call weather database access without a subscription or API key.

## Known failure modes

- Missing or empty query parameter returns validation error
- Ambiguous query string may return empty or irrelevant data
- Micropayment failure (402) if wallet has insufficient USDC balance on Base
- Upstream weather database unavailability causes 5xx errors
- Query too broad or malformed may return generic or null data

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a data object containing weather information retrieved from the database in response to the submitted query string. The exact fields depend on the query but typically include weather metrics such as temperature, precipitation, humidity, or conditions for the specified location or time period.

## 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-weather-db-f60f153a/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)
