/japan_customs/trades/search

POST /api/japan_customs/trades/search

Price: 20 credits

Japan Customs export and import records from one e-Stat dataset: value in thousand yen and quantity per HS commodity, partner country, customs office and period

How to use it

Reads one dataset from the datasets endpoint, so resolve a `dataset_id` there first — this endpoint cannot search across a whole year on its own. Which dimension columns a row carries follows the table the dataset belongs to, and the values_by_* tables drop the dimension their name omits, so a filter on a dimension that table has no column for returns nothing rather than everything. Value is thousand yen; quantity comes in up to two units named by `unit1`/`unit2`, so never compare quantities across rows without checking the unit. `period=year` gives the calendar-year total and `period=all` expands the same rows into thirteen, so a `count` on `all` covers far fewer commodity and country pairs than it looks.

Parameters

Request body

Response

Errors

Response headers