# API Japan — Tokyo Weather API

> API Japan — Tokyo Weather API is a paid API for AI agents from apijapan.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns current weather data for Tokyo including temperature, wind speed, and humidity

## Facts

- Endpoint: GET https://apijapan.vercel.app/api/weather/tokyo
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-japan-tokyo-weather-api-980cb52c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lm7KYmD-ncB6JNo8fjeYB

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 api-japan-tokyo-weather-api-980cb52c
```

Example prompt: What's the current temperature, wind speed, and humidity in Tokyo right now?

## When to prefer this

Choose this endpoint when you need real-time weather data specifically for Tokyo without requiring an API key, and you are operating in an x402 micropayment-enabled environment. Ideal for AI agents that need lightweight, per-call weather lookups billed in USDC.

## Known failure modes

- Payment failure: 402 response if USDC payment not included or insufficient
- Upstream weather data unavailable: possible 503 or empty response
- Rate limiting or provider downtime
- Malformed response if upstream data source is unreachable

## How this service works

x402対応の日本データAPI。天気・為替・株価をAIエージェントに提供。APIキー不要・USDC決済。

## Output

A JSON object containing Tokyo's current temperature in Celsius (temperature_2m), wind speed in m/s (wind_speed_10m), and relative humidity percentage (relative_humidity_2m), along with the city name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "tokyo",
  "temperature_2m": 22.5,
  "wind_speed_10m": 5.2,
  "relative_humidity_2m": 60
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-japan-tokyo-weather-api-980cb52c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apijapan.vercel.app](https://www.zero.xyz/host/apijapan.vercel.app/llms.txt)
