1gateway
Use when you need South Korea's monthly trade for a product by HS code (e.g. 8542 chips, 870323 cars, 2710 petroleum). Data: Korea Customs Service, finalized monthly. Input: hs (2-10 digit prefix), optional month (YYYYMM, default latest), limit (1-100), sort (exports, imports, balance, total). Output: JSON totals (exports FOB, imports CIF, balance in USD, kg) with YoY % and 10-digit HSK lines with English HS descriptions and YoY. Example: ?hs=8542&month=202608
Offering
- Provider
- 1gateway.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Financial Analysis
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://1gateway.dev/v1/trade/hs- MIME type
- application/json
- First seen
- 2026-10-16T01:50:32.458Z
- Last seen
- Tags
- korea, trade-statistics, hs-code, imports-exports, korea-customs
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.0045 USDC
Atomic price: 4500 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.0045 USDC
Atomic price: 4500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4500",
"payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "4500",
"payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
}
]Observed health
- Status
- Healthy
- Latest latency
- 518 ms
- Average latency
- 940 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET"
]
},
"queryParams": {
"type": "object",
"properties": {
"hs": {
"type": "string",
"description": "HS code prefix, 2-10 digits (e.g. 8542 integrated circuits, 870323 passenger cars)",
"pattern": "^\\d{2,10}$",
"examples": [
"8542"
]
},
"month": {
"type": "string",
"description": "Month YYYYMM (default: latest finalized month)",
"pattern": "^(19|20)\\d{2}(0[1-9]|1[0-2])$",
"examples": [
"202608"
]
},
"limit": {
"type": "integer",
"description": "Max 10-digit lines returned (1-100, default 20)",
"minimum": 1,
"maximum": 100,
"default": 20,
"examples": [
20
]
},
"sort": {
"type": "string",
"description": "Line order (default exports)",
"enum": [
"exports",
"imports",
"balance",
"total"
],
"default": "exports",
"examples": [
"exports"
]
}
},
"required": [
"hs"
],
"additionalProperties": false
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"hs": {
"description": "HS code prefix, 2-10 digits (e.g. 8542 integrated circuits, 870323 passenger cars)",
"examples": [
"8542"
],
"pattern": "^\\d{2,10}$",
"type": "string"
},
"limit": {
"default": 20,
"description": "Max 10-digit lines returned (1-100, default 20)",
"examples": [
20
],
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"month": {
"description": "Month YYYYMM (default: latest finalized month)",
"examples": [
"202608"
],
"pattern": "^(19|20)\\d{2}(0[1-9]|1[0-2])$",
"type": "string"
},
"sort": {
"default": "exports",
"description": "Line order (default exports)",
"enum": [
"exports",
"imports",
"balance",
"total"
],
"examples": [
"exports"
],
"type": "string"
}
},
"required": [
"hs"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"attribution": {
"type": "string"
},
"compareMonth": {
"type": "string"
},
"descriptionEn": {
"type": "string"
},
"descriptionLevel": {
"type": "string"
},
"hs": {
"type": "string"
},
"lineCount": {
"type": "integer"
},
"lines": {
"items": {
"properties": {
"balanceUsd": {
"type": "integer"
},
"descriptionEn": {
"type": "string"
},
"exportsKg": {
"type": "integer"
},
"exportsUsd": {
"type": "integer"
},
"exportsYoyPct": {
"type": "number"
},
"hs6": {
"type": "string"
},
"hsCode": {
"type": "string"
},
"importsKg": {
"type": "integer"
},
"importsUsd": {
"type": "integer"
},
"importsYoyPct": {
"type": "number"
},
"nameKo": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"month": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"sort": {
"type": "string"
},
"total": {
"properties": {
"balanceUsd": {
"type": "integer"
},
"exportsKg": {
"type": "integer"
},
"exportsUsd": {
"type": "integer"
},
"exportsYoyPct": {
"type": "number"
},
"importsKg": {
"type": "integer"
},
"importsUsd": {
"type": "integer"
},
"importsYoyPct": {
"type": "number"
},
"prevYearExportsUsd": {
"type": "integer"
},
"prevYearImportsUsd": {
"type": "integer"
}
},
"type": "object"
},
"unit": {
"type": "string"
}
},
"required": [
"hs",
"descriptionEn",
"descriptionLevel",
"month",
"compareMonth",
"unit",
"total",
"lineCount",
"sort",
"lines",
"notes",
"attribution"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}