# Japan Earthquake Recent Activity API (JMA)

> Japan Earthquake Recent Activity API (JMA) is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns real-time recent earthquake data in Japan sourced from JMA (Japan Meteorological Agency), including magnitude, JMA shindo intensity, epicenter, and occurrence time.

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/quake/recent
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/japan-earthquake-recent-activity-api-jma-ed0c42c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oORkPuR_L1pri_JPR6JPK

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-earthquake-recent-activity-api-jma-ed0c42c8
```

Example prompt: What are the 20 most recent earthquakes in Japan right now? I need the magnitude, shindo intensity, and epicenter for each one.

## When to prefer this

Use this endpoint when you need authoritative, real-time earthquake data specifically for Japan from the official government source (JMA). Preferred over generic global seismic APIs when JMA shindo intensity scale values are required, or when you need Japan-specific disaster monitoring, travel safety checks, supply chain alerts, or news verification of seismic events.

## Known failure modes

- limit parameter out of range (must be 1-50) returns validation error
- JMA upstream data temporarily unavailable causing 503 or empty response
- No recent earthquakes in the window returns empty array
- Exceeding rate limits or missing x402 payment returns 402 Payment Required

## How this service works

Real-time earthquakes in Japan from JMA (Japan Meteorological Agency, official government source): magnitude, JMA seismic intensity (shindo), epicenter, time. Use for disaster monitoring, risk assessment, insurance, supply chain alerts, travel safety, news verification.

## Output

A list of recent Japanese earthquake events (up to 50), each with magnitude, JMA shindo seismic intensity scale value, epicenter coordinates or region name, and exact occurrence timestamp — all sourced from the official Japan Meteorological Agency feed.

## 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": {
      "limit": {
       "type": "string",
       "description": "1-50, default 10"
      }
     }
    }
   },
   "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-earthquake-recent-activity-api-jma-ed0c42c8/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)
