/korea_customs/trades/search

POST /api/korea_customs/trades/search

Price: 20 credits

Korean export and import totals from the Korea Customs Service, grouped by HS commodity, partner country, customs office, port, continent, economic bloc, transaction type or the Korean nature classification, for a year or month range

How to use it

Aggregated national trade statistics for South Korea, not shipment or company records. Pick `breakdown` first: it decides the grouping and which filters exist at all, and a filter that belongs to another breakdown is rejected with 422 rather than ignored. Values are thousands of US dollars and weight follows `weight_unit`, so read both off the row instead of assuming units; the country, continent, economic_bloc, customs_office and port breakdowns carry declaration counts and no weight at all. Rows arrive in the source's own order — by code on the commodity breakdowns, by trade value elsewhere — and it cannot be reversed, so on a wide breakdown such as item_country a small `count` returns the lowest HS chapters rather than the largest flows; narrow with hs_codes or countries instead of raising count. Names are Korean, and `hs_name` is absent on 10-digit rows and on some 6-digit ones, so resolve a commodity name through the commodities endpoint rather than reading the gap as an unnamed product. `country_code` is ISO alpha-2 and goes straight back into `countries`.

Parameters

Request body

Response

Errors

Response headers