# KMDE Korea HS854232 Trade Statistics — Country Slice (HK)

> KMDE Korea HS854232 Trade Statistics — Country Slice (HK) 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 24 months of South Korea's HS 854232 (electronic memory ICs) export trade statistics to a specified destination country as a JSON snapshot.

## Facts

- Endpoint: GET https://kmde-snapshot-candidate.onrender.com/v1/trade/hs854232/HK.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-korea-hs854232-trade-statistics-country-slice-hk-4818fa86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_02OrEJaOH78wluEdWA2aY

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-korea-hs854232-trade-statistics-country-slice-hk-4818fa86
```

Example prompt: Can you pull the latest South Korea export trade stats for electronic memory chips (HS 854232) to Hong Kong — I want the monthly USD FOB figures for the past couple of years?

## When to prefer this

Use this endpoint when you need structured, monthly time-series export trade data for South Korean electronic memory ICs (HS 854232) broken down by a specific destination country (CN, HK, VN, TW, US, JP). It is ideal for semiconductor market analysis, supply chain research, and trade policy monitoring where you need FOB USD values with year-over-year context. Prefer this over general trade databases when you need a low-cost, machine-readable snapshot with cryptographic provenance (SHA256).

## Known failure modes

- Invalid country code returns error or empty records (only CN, HK, VN, TW, US, JP are supported)
- Payment not processed (HTTP 402) if x402 micropayment of $0.005 USDC is not completed
- Snapshot may be stale if source data has not been refreshed recently
- weight_kg field may be null if weight data is not collected for the period
- yoy_percent may be null if no matching prior period exists
- Service unavailable if Render.com hosting is cold-started or down

## How this service works

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

## Output

A JSON object containing: a scope block (HS code, label, direction, period range, destination country, unit), an array of monthly trade records (period, country, HS code, direction, USD FOB amount, YoY percent change, row state, weight), snapshot metadata (ID, SHA256, collection timestamp), product ID, and total record count — covering up to 24 months of export data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "headers": {
     "type": "object",
     "properties": {
      "Idempotency-Key": {
       "type": "string",
       "pattern": "^[!-~]+$",
       "maxLength": 128,
       "minLength": 1,
       "description": "Optional stable key for an exact signed retry."
      }
     },
     "additionalProperties": false
    },
    "pathParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "enum": [
        "CN",
        "HK",
        "VN",
        "TW",
        "US",
        "JP"
       ],
       "type": "string",
       "description": "Destination ISO alpha-2 code."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "format": {
     "type": "string",
     "const": "application/json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json",
 "example": {
  "scope": {
   "hs_code": "854232",
   "hs_label": "Memories (electronic integrated circuits)",
   "direction": "export",
   "period_end": "202608",
   "amount_unit": "USD FOB",
   "period_start": "202409",
   "weight_state": "NOT_COLLECTED",
   "destination_name": "Hong Kong",
   "reporting_country": "KR",
   "destination_country": "HK"
  },
  "records": [
   {
    "period": "202409",
    "country": "HK",
    "hs_code": "854232",
    "direction": "export",
    "row_state": "OBSERVED",
    "weight_kg": null,
    "yoy_state": "NO_MATCHING_PRIOR_PERIOD",
    "amount_usd": "1663230204",
    "yoy_percent": null,
    "amount_basis": "FOB",
    "amount_state": "OBSERVED",
    "source_xml_sha256": "5e1be0075a96f4ccaa9cd6793ef216b53fca200c8772583c78c5b3de70066634",
    "source_detail_count": 6
   }
  ],
  "version": "1.0.0-202608",
  "snapshot": {
   "id": "pc2-20261001T132500Z-hs854232-24m-metadata-v2",
   "sha256": "bc3efe5fceb8379f3540822f9536ffc1acddeb3a88b44fbae1d4e05d766660f7",
   "collected_at": "2026-10-01T13:05:16.471745+00:00",
   "source_published_at": null
  },
  "product_id": "korea-hs854232-country-slice-v1",
  "record_count": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kmde-korea-hs854232-trade-statistics-country-slice-hk-4818fa86/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)
