# Japan Meteorological Agency (JMA) Weather Forecast by Prefecture

> Japan Meteorological Agency (JMA) Weather Forecast by Prefecture is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns a 3-day official JMA text weather forecast (weather, wind, waves) for a Japanese prefecture identified by area code

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/weather/forecast
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japan-meteorological-agency-jma-weather-forecast-by-prefecture-2a50a9c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p1KWPD5lytY0uKVffDxqV

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 japan-meteorological-agency-jma-weather-forecast-by-prefecture-2a50a9c9
```

Example prompt: Can you get me the official Japan Meteorological Agency 3-day weather forecast for Osaka (area code 270000), including wind and wave conditions?

## When to prefer this

Use this endpoint when you need official, authoritative Japanese weather forecasts sourced directly from the Japan Meteorological Agency, particularly for travel planning, logistics, event scheduling, or daily briefings in Japan. Prefer this over generic weather APIs when accuracy and official sourcing for Japanese prefectures is required, especially when wave and wind data specific to JMA regions is needed.

## Known failure modes

- Invalid or unsupported JMA area code returns an error or empty result
- Network/service downtime on Railway hosting causes 5xx errors
- Payment not completed via x402 protocol returns HTTP 402
- JMA upstream data unavailable or delayed causes stale or missing forecast
- Missing 'area' parameter defaults to Tokyo (130000) — may return unexpected region data if caller intended a different area

## How this service works

Japan weather forecast from JMA (Japan Meteorological Agency, official source) by prefecture area code: 3-day text forecast with weather, wind, waves. Use for travel planning in Japan, logistics, event scheduling, daily briefings. Default Tokyo (130000); Osaka 270000, Hokkaido 016000, Fukuoka 400000, Okinawa 471000.

## Output

A 3-day text-based weather forecast for the requested Japanese prefecture, sourced from the Japan Meteorological Agency. Includes weather description, wind conditions, and wave information for each forecast period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "area": {
       "type": "string",
       "description": "JMA area code, default 130000 (Tokyo)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/japan-meteorological-agency-jma-weather-forecast-by-prefecture-2a50a9c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-data-api-production.up.railway.app](https://www.zero.xyz/host/jp-data-api-production.up.railway.app/llms.txt)
