# x402.onchainexpat.com Current Weather

> x402.onchainexpat.com Current Weather is a paid API for AI agents from x402.onchainexpat.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns current weather conditions for a specified location via a paid x402 micropayment API

## Facts

- Endpoint: POST https://x402.onchainexpat.com/api/x402-tools/weather/current
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-onchainexpat-com-b92fb00f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x8e9UMtS76WHml3lGYCC3

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-onchainexpat-com-b92fb00f -d '<json body>'
```

Example prompt: What's the current weather in Tokyo right now — temperature, conditions, and wind?

## When to prefer this

Use this endpoint when you need real-time current weather conditions for a location and are operating in an x402 micropayment-enabled agent environment. Prefer this over forecast endpoints when only present conditions are needed.

## Known failure modes

- Invalid or unrecognized location name returns an error
- Payment of $0.01 USDC not provided or insufficient — request rejected
- Network timeout if weather data provider is unavailable
- Ambiguous location (e.g. 'Springfield') may return wrong city

## How this service works

Pay-per-request AI, crypto, proxy, and utility APIs using x402 protocol

## Output

Returns current weather data for the specified location, including temperature, weather conditions, humidity, wind speed, and related meteorological metrics.

## Example request

```json
{
 "location": "London"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location"
 ],
 "properties": {
  "units": {
   "type": "string",
   "description": "metric (default), imperial, or kelvin"
  },
  "country": {
   "type": "string",
   "description": "ISO country code to disambiguate (e.g. 'MX', 'ES', 'US')"
  },
  "location": {
   "type": "string",
   "description": "City name. Aliases: 'city'. E.g. 'London', 'Tokyo'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cached": {
   "type": "boolean"
  },
  "humidity": {
   "type": "number"
  },
  "location": {
   "type": "string"
  },
  "feels_like": {
   "type": "number"
  },
  "wind_speed": {
   "type": "number"
  },
  "description": {
   "type": "string"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-onchainexpat-com-b92fb00f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.onchainexpat.com](https://www.zero.xyz/host/x402.onchainexpat.com/llms.txt)
