# x402-data-bazaar Weather Current Conditions (Query-Based)

> x402-data-bazaar Weather Current Conditions (Query-Based) is a paid API for AI agents from x402-data-bazaar.vercel.app, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Returns an actionable weather decision brief for a lat/lon location, including current conditions, rain timing, outdoor score, commute risk, and what to bring.

## Facts

- Endpoint: GET https://x402-data-bazaar.vercel.app/api/weather/current
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-bazaar-vercel-app-a12cb4c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_phtIhQ0aheobbX-2d87Yx

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-data-bazaar-vercel-app-a12cb4c8
```

Example prompt: What's the weather like right now at latitude 40.7 and longitude -74.0 — should I bring a coat or umbrella, and what's the outdoor score?

## When to prefer this

Use this endpoint when you need a decision-oriented weather brief (what to wear, outdoor score, commute risk) for a specific coordinate pair right now, rather than raw forecast data. Prefer this over the path-based sibling endpoint when passing coordinates as query parameters is more convenient. Choose this over generic weather APIs when you want pre-computed actionable recommendations rather than raw meteorological data.

## Known failure modes

- Missing lat or lon parameter returns a 400 error
- Invalid or out-of-range coordinate values may result in upstream Open-Meteo API errors
- Upstream Open-Meteo API unavailability causes 502/503 responses
- Payment not provided or invalid results in x402 payment-required error
- Extreme or polar coordinates may produce incomplete weather data

## How this service works

Actionable weather decision brief for query-based lat/lon input -- current conditions, rain timing, outdoor score, commute risk, and what to bring. Query: ?lat=40.7&lon=-74.0.

## Output

Returns current temperature (°F), feels-like temperature, humidity, weather condition, plus an AI-style decision brief with outdoor score (0-100), commute risk level, coat and umbrella recommendations, and rain timing summary. Also includes timezone and source attribution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "lat": {
   "type": "string",
   "description": "Latitude in decimal degrees"
  },
  "lon": {
   "type": "string",
   "description": "Longitude in decimal degrees"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "data": {
  "decision": {
   "summary": "Bring a coat; looks dry for the next several hours; commute conditions look manageable",
   "commuteRisk": "low",
   "outdoorScore": 72,
   "coatRecommended": true,
   "umbrellaRecommended": false
  },
  "latitude": 40.7103,
  "timezone": "America/New_York",
  "condition": "Overcast",
  "longitude": -74.0071,
  "feels_like_f": 24.1,
  "humidity_pct": 55,
  "temperature_f": 31.3
 },
 "source": "Open-Meteo API",
 "success": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-bazaar-vercel-app-a12cb4c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-bazaar.vercel.app](https://www.zero.xyz/host/x402-data-bazaar.vercel.app/llms.txt)
