# KMDE Data API — Korea HS854232 Trade Statistics (Japan Export Changes)

> KMDE Data API — Korea HS854232 Trade Statistics (Japan Export Changes) is a paid API for AI agents from kmde-snapshot-candidate.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-15).

Returns a versioned snapshot of South Korea's HS 854232 semiconductor export trade change statistics to Japan, including period-over-period metrics (MoM, YoY) and revision history.

## Facts

- Endpoint: GET https://kmde-snapshot-candidate.onrender.com/v1/trade/hs854232/changes/20261007T045335Z/JP.json?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kmde-data-api-korea-hs854232-trade-statistics-japan-export-changes-ccfa7801
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hOmE5hZV9uJ5wC3mkFRbk

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 kmde-data-api-korea-hs854232-trade-statistics-japan-export-changes-ccfa7801
```

Example prompt: Pull the versioned KMDE snapshot for South Korea's HS 854232 semiconductor export changes to Japan — I need the MoM and YoY figures for the latest period.

## When to prefer this

Use this endpoint when you need a fixed, versioned snapshot of South Korea's HS 854232 (semiconductor/integrated circuit) export trade change statistics specifically to Japan, with MoM and YoY metrics. It is ideal for reproducible research or time-stamped comparisons since the version is pinned. Prefer this over generic trade databases when you need structured, machine-readable JSON with revision history and a low per-call cost via x402 micropayment.

## Known failure modes

- Version not found: requesting an invalid or future snapshot version returns an error
- Country code mismatch: only JP is valid for this endpoint path
- Payment not processed: without x402 payment, paid fields (exports_usd, MoM, YoY, revisions) are withheld or null
- Service unavailable: hosted on Render free tier, may experience cold start latency or downtime
- Rate limiting: repeated calls without valid payment headers may be rejected

## How this service works

한국 HS854232 무역 통계, 코스닥 OpenDART 7일 공시 목록과 Base ERC-20 계약 기초 사실의 무료 목록·샘플 및 x402 고정 버전 JSON API.

## Output

A JSON object containing: the trade scope metadata (HS code 854232, Korea-to-Japan export direction, USD FOB unit), the snapshot version timestamp, the product ID, a list of paid fields (exports_usd, MoM, YoY, revisions, source_observation), and the latest reporting period (e.g. 202608). Full numeric values for exports, MoM and YoY changes, and revision data are gated behind payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "headers": {
     "type": "object",
     "properties": {
      "Idempotency-Key": {
       "type": "string",
       "pattern": "^[!-~]+$",
       "maxLength": 128,
       "minLength": 1
      }
     },
     "additionalProperties": false
    },
    "pathParams": {
     "type": "object",
     "required": [
      "version",
      "country"
     ],
     "properties": {
      "country": {
       "const": "JP"
      },
      "version": {
       "const": "20261007T045335Z"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "format": {
     "const": "application/json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json",
 "example": {
  "scope": {
   "unit": "USD FOB",
   "hs_code": "854232",
   "direction": "export",
   "destination_name": "Japan",
   "country_selection": "selected destination; not global rank",
   "reporting_country": "KR",
   "destination_country": "JP"
  },
  "version": "20261007T045335Z",
  "product_id": "korea-hs854232-trade-changes-v1",
  "paid_fields": [
   "latest.exports_usd",
   "latest.mom",
   "latest.yoy",
   "revisions",
   "source_observation"
  ],
  "latest_period": "202608"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kmde-data-api-korea-hs854232-trade-statistics-japan-export-changes-ccfa7801/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kmde-snapshot-candidate.onrender.com](https://www.zero.xyz/host/kmde-snapshot-candidate.onrender.com/llms.txt)
