# X402 Hub Yahoo Weather API

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

Fetches weather data from Yahoo Weather for a given location query, protected by x402 micropayments on Base

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/yahoo-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-yahoo-weather-api-7d093be2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-ZmhDGX8bbN5OK-UzSgR

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-yahoo-weather-api-7d093be2 -d '<json body>'
```

Example prompt: Can you get me the current weather conditions for Chicago, Illinois — temperature, conditions, and any forecast available?

## When to prefer this

Choose this endpoint when you need Yahoo Weather data specifically and want to pay per-call using x402 micropayments on Base without managing API keys or subscriptions. Ideal for lightweight, infrequent weather lookups where a $0.075 per-call cost is acceptable and you are already integrated with the x402 payment protocol.

## Known failure modes

- Invalid or unrecognized location query returns an error or empty data object
- Yahoo Weather upstream API unavailability causes failure
- Payment not fulfilled via x402 protocol results in 402 Payment Required response
- Malformed query string causes request rejection
- Rate limits or quota exhaustion on the upstream Yahoo Weather API

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns a weather data object from Yahoo Weather containing current conditions such as temperature, weather description, humidity, wind speed, and forecast information 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-yahoo-weather-api-7d093be2/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)
