# KMDE Data API — Korea HS854232 Trade Statistics (US Export, Versioned Snapshot)

> KMDE Data API — Korea HS854232 Trade Statistics (US Export, Versioned Snapshot) 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 JSON snapshot of South Korea's HS854232 (semiconductor/electronic integrated circuits) export trade statistics to the United States, including USD FOB values, month-over-month and year-over-year changes.

## Facts

- Endpoint: GET https://kmde-snapshot-candidate.onrender.com/v1/trade/hs854232/changes/20261007T045335Z/US.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-us-export-versioned-e0f900d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YXXqq7peUvLyOMRMIuXQ_

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-us-export-versioned-e0f900d0
```

Example prompt: Pull the versioned snapshot of South Korea's HS854232 semiconductor export statistics to the US — the fixed version from October 2026 — and give me the latest USD FOB value plus the month-over-month and year-over-year changes.

## When to prefer this

Choose this endpoint when you need a fixed, reproducible (immutable versioned) snapshot of South Korea's HS854232 semiconductor export statistics specifically to the United States, priced at a low per-call micropayment via x402. Prefer this over general trade databases when you need machine-readable JSON with explicit MoM/YoY deltas, or when building reproducible research pipelines where version pinning matters.

## Known failure modes

- Version not found: requesting a version timestamp that does not exist returns an error or 404
- Country mismatch: only 'US' is supported as destination in this endpoint path
- Payment failure: x402 micropayment of $0.005 USDC not completed results in 402 response with partial/free data only
- Service unavailability: hosted on Render free tier which may cold-start or go to sleep, causing latency or 503 errors
- Stale data: versioned snapshots are fixed and will not reflect more recent trade releases

## How this service works

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

## Output

A JSON object containing: scope metadata (HS code 854232, reporting country KR, destination US, USD FOB unit), the snapshot version timestamp, product ID, the latest reporting period (e.g. 202608), and — behind the paywall — latest export value in USD, month-over-month change, year-over-year change, revisions, and source observations. Free fields include scope and period metadata.

## 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": "US"
      },
      "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": "United States",
   "country_selection": "selected destination; not global rank",
   "reporting_country": "KR",
   "destination_country": "US"
  },
  "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-us-export-versioned-e0f900d0/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)
