# x402 Weather API Hub – Yahoo Weather Endpoint

> x402 Weather API Hub – Yahoo Weather Endpoint is a paid API for AI agents from x402-weather.vercel.app, paid per call via x402, $0.075/call, status unknown (last checked 2026-10-20).

Fetches weather data for a given location via Yahoo Weather, paid per-call using x402 USDC micropayments

## Facts

- Endpoint: POST https://x402-weather.vercel.app/api/yahoo-weather/%7Bpath%7D?utm_source=zero.xyz
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-weather-api-hub-yahoo-weather-endpoint-60fccf79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-MEqgBFmqDq0hNGV3Hg8M

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-weather-api-hub-yahoo-weather-endpoint-60fccf79 -d '<json body>'
```

Example prompt: Can you pull the current Yahoo Weather data for San Francisco? The query is 'San Francisco' or you can use its WOEID.

## When to prefer this

Choose this endpoint when you specifically need Yahoo Weather data and are operating in an x402 micropayment environment where per-call USDC billing is acceptable. It is well-suited for agents that need occasional weather lookups without a subscription, leveraging crypto micropayments instead of traditional API keys.

## Known failure modes

- Invalid or unrecognized location query returns an error or empty data
- Payment failure if USDC balance is insufficient for the $0.075 per-call fee
- WOEID not found returns an upstream provider error
- RapidAPI rate limits or downtime cause upstream failures
- Malformed request missing the required 'query' field returns a validation error

## How this service works

21 paid weather API endpoints powered by x402 micropayments

## Output

Returns a data object containing weather information sourced from Yahoo Weather via RapidAPI, including current conditions for the queried location. The exact fields vary by provider response but are nested under a top-level 'data' key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Location query (e.g. 'San Francisco' or WOEID)"
  },
  "location": {
   "type": "string",
   "description": "City name or WOEID"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from the underlying RapidAPI provider"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-weather-api-hub-yahoo-weather-endpoint-60fccf79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-weather.vercel.app](https://www.zero.xyz/host/x402-weather.vercel.app/llms.txt)
