# KMDE Data API — Korea Trade Statistics & KOSDAQ OpenDART Bundle

> KMDE Data API — Korea Trade Statistics & KOSDAQ OpenDART Bundle is a paid API for AI agents from kmde-snapshot-candidate.onrender.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-15).

Returns a ZIP archive containing Korean HS854232 trade statistics, KOSDAQ OpenDART 7-day disclosure listings, and Base ERC-20 contract fundamentals as JSON data.

## Facts

- Endpoint: GET https://kmde-snapshot-candidate.onrender.com/v1/bundle.zip?utm_source=zero.xyz
- Price: $0.1/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-trade-statistics-kosdaq-opendart-bundle-7c27bbc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HCVcE-rTYRrdKqF8Sb7oO

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-trade-statistics-kosdaq-opendart-bundle-7c27bbc9
```

Example prompt: Download the latest KMDE data bundle for me — I need the Korean HS854232 trade statistics, the 7-day KOSDAQ OpenDART disclosures, and the Base ERC-20 contract basics all in one ZIP.

## When to prefer this

Choose this endpoint when you need a bundled, pre-packaged snapshot of Korean HS854232 trade statistics combined with KOSDAQ OpenDART recent disclosures and Base ERC-20 contract data in a single low-cost ($0.1 USDC) call. Prefer this over building separate API integrations with OpenDART, Korean customs data providers, and Base blockchain indexers individually. Best for agents that need a cross-domain Korean market + blockchain data snapshot without real-time streaming requirements.

## Known failure modes

- Payment not received or x402 payment protocol failure — endpoint returns 402 Payment Required
- Network timeout from Render hosted service — service may be cold-starting
- Invalid or malformed Idempotency-Key header — may return 400 Bad Request
- ZIP archive may be incomplete or empty if upstream data sources (OpenDART, Korean customs) are unavailable
- Stale data if the snapshot has not been refreshed recently

## How this service works

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

## Output

A binary ZIP archive (application/zip) containing multiple JSON files: Korean HS854232 trade statistics data, KOSDAQ OpenDART disclosures from the last 7 days, and Base ERC-20 contract fundamental facts. The ZIP may also include free sample/list versions alongside the paid x402-gated full versions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "headers": {
     "type": "object",
     "properties": {
      "Idempotency-Key": {
       "type": "string",
       "pattern": "^[!-~]+$",
       "maxLength": 128,
       "minLength": 1,
       "description": "Optional legacy stable key for exact retries."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format"
   ],
   "properties": {
    "type": {
     "const": "binary"
    },
    "format": {
     "const": "application/zip"
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "binary",
 "format": "application/zip"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kmde-data-api-korea-trade-statistics-kosdaq-opendart-bundle-7c27bbc9/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)
