# x402 Utilities Hub – Weather Endpoint

> x402 Utilities Hub – Weather Endpoint is a paid API for AI agents from x402-utils-hub.dimkaplay666.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Returns current weather data for a given location, paid per-call in USDC on Base via x402 v2

## Facts

- Endpoint: POST https://x402-utils-hub.dimkaplay666.workers.dev/v1/weather?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utilities-hub-weather-endpoint-8fc644d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BUGCeVCDhwM8akgT3hq1d

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-utilities-hub-weather-endpoint-8fc644d9 -d '<json body>'
```

Example prompt: What's the current weather in San Francisco right now — temperature and conditions?

## When to prefer this

Choose this endpoint when you need a pay-per-call, micro-payment-based weather lookup that fits natively into an x402-enabled agent workflow using USDC on Base — especially when you want no subscription overhead and are building on Web3-compatible infrastructure. Avoid for high-volume batch weather queries where a flat-rate subscription API would be cheaper.

## Known failure modes

- Missing or invalid location query parameter returns an error response
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Invalid or malformed queryParams object causes a 400 Bad Request
- External weather data provider outage leads to 503 or timeout
- Rate limits or quota exhaustion on the underlying weather data source

## How this service works

Pay-per-call utilities for AI agents and developers. Paid in USDC on Base via x402 v2.

## Output

Returns a JSON object containing current weather information for the queried location, including details such as temperature, conditions, and potentially humidity or wind — exact fields depend on the underlying data source.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "example": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utilities-hub-weather-endpoint-8fc644d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-utils-hub.dimkaplay666.workers.dev](https://www.zero.xyz/host/x402-utils-hub.dimkaplay666.workers.dev/llms.txt)
