Trade Data API - Trade Data Pro by CIC

Data Pro API

Build and improve your own software with our updated import/export trade data.
Instruction
Country Code
Search by
Product HS Code
Product Name
Company
Bill of Lading
Welcome to CIC Data Pro API. You can try and view JSON response samples regarding search requests on HS code, product, company and B/L.
If you need any help or request a quote with the API, please contact us .

API Instruction

1. Define the object of public parameter application.properties.Configure public parameters
Return Parameters
2. Input the connection object
@Configuration public class TestConfig { @Value("${platformCode}") private String platformCode; @Value("${privateKey}") private String privateKey; @Value("${serverPublicKey}") private String serverPublicKey; @Value("${serverHost}") private String serverHost; //Bean initialization @Bean public DpClient getDpClient() { ParamConfig paramConfig = new ParamConfig(platformCode, privateKey, serverPublicKey, serverHost, localTempPath); privateKey, serverPublicKey, serverHost); DpClient dpClient = new DpClient(paramConfig); return dpClient; } } @resource private DpClient dpClient;
3. Call the method connect and pass the request parameter object. ApiResult res = dpClient.connect(objectRequest); if(res.getCode().equals(ApiCode.SUCCESS.getCode()) && res.getData() !=null) { //Obtain the return value for processing. ObjectResponseresponse = JSONObject.parseObject(res.getData().toString(), ObjectResponse.class); } 4. Return code description

Country Code

The international standard ISO 3166 is applied for country codes while you may refer to the Alpha-3 code to define the selected country.
暂无数据
*
ISO ALPHA-3 codes (ISO 3166-1 alpha-3 codes) are three-letter country codes from the ISO 3166-1 standard for countries and dependent territories. They are published by the International Organization for Standardization (ISO) as part of its ISO 3166 standard.

Search by Product HS Code

Allow searching over the trade data by product HS code.
Interface parameters https://api.cic-tp.com/testApi/getTradeProduct
Return parameter description
Interface parameters https://api.cic-tp.com/testApi/getTradeMinute
Return parameter description