Skip to main content
POST
/comtrade/datasets

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
reporter_code
integer
required
period
string
required
timeout
integer
default:300
Required range: 20 <= x <= 1500
type_code
enum<string>
default:C
Available options:
C,
S
freq_code
enum<string>
default:A
Available options:
A,
M
classification
enum<string>
default:HS
Available options:
HS,
H0,
H1,
H2,
H3,
H4,
H5,
H6,
SITC,
S1,
S2,
S3,
S4,
ST,
BEC,
B4,
B5,
EB,
EB02,
EB10,
EB10S

Response

Successful Response

@type
string
default:ComtradeDataset
dataset_code
string | null
type_code
string | null
freq_code
string | null
period
string | null
reporter_code
integer | null
reporter_iso
string | null
reporter_desc
string | null
classification_code
string | null
classification_search_code
string | null
is_original_classification
boolean | null
is_extended_flow_code
boolean | null
is_extended_partner_code
boolean | null
is_extended_partner2_code
boolean | null
is_extended_cmd_code
boolean | null
is_extended_customs_code
boolean | null
is_extended_mot_code
boolean | null
total_records
integer | null
dataset_checksum
integer | null
first_released
string | null
last_released
string | null