# x402 Multi-Tool API – Weather Endpoint

> x402 Multi-Tool API – Weather Endpoint is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Returns current weather conditions (temperature, humidity, wind speed, condition) for a given location, paid via x402 at $0.005 USDC per call.

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/weather
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-multi-tool-api-weather-endpoint-06a11e14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N4T46qjSSBWJaJw1ObNoj

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-multi-tool-api-weather-endpoint-06a11e14 -d '<json body>'
```

Example prompt: What's the current weather in Tokyo right now — give me the temperature in Celsius, humidity, and wind speed?

## When to prefer this

Choose this endpoint when you need current (real-time) weather conditions for a named city or place with no API key setup, paying only $0.005 USDC per call via x402. It is ideal for lightweight agent workflows that need occasional weather lookups without committing to a weather API subscription. Prefer alternatives if you need forecasts, hourly breakdowns, radar data, or weather alerts.

## Known failure modes

- Unrecognized location name returns an error or empty result
- Missing required 'location' field returns a 400-level error
- Payment not submitted or rejected results in HTTP 402 response
- Invalid units value may default to metric or return a validation error
- Network timeout from upstream weather provider yields a 5xx error

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

A JSON object containing the location name, coordinates (latitude/longitude), current timestamp, temperature, humidity, wind speed, and a plain-English weather condition string (e.g. 'Mainly clear'). Units reflect the requested system (metric or imperial).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "units": {
   "type": "string",
   "description": "'metric' (°C) or 'imperial' (°F)"
  },
  "location": {
   "type": "string",
   "description": "Place name, e.g. 'London' or 'Tokyo, JP'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "units": "metric",
 "current": {
  "time": "2026-07-03T14:30",
  "humidity": 31,
  "condition": "Mainly clear",
  "wind_speed": 7.6,
  "temperature": 25.9
 },
 "latitude": 51.51,
 "location": "London, United Kingdom",
 "longitude": -0.13
}
```

## More

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