Census API: Examples for /data/timeseries/intltrade/imports/hsimport
Geography HierarchyGeography LevelExample URLNumber
8 examples
worldW01https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=world:*&time=2019-01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=world:1&time=2019-01&key=YOUR_KEY_GOES_HERE
usitc standard international regionsW04https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20international%20regions:*&time=2019-01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20international%20regions:0020&time=2019-01&key=YOUR_KEY_GOES_HERE
usitc standard countries and areasW16https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20countries%20and%20areas:*&time=2019-01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20countries%20and%20areas:1220&time=2019-01&key=YOUR_KEY_GOES_HERE
usitc standard historical countries and areasW20https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20historical%20countries%20and%20areas:*&time=2019-01&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/timeseries/intltrade/imports/hsimport?get=NAME,I_COMMODITY_LABEL,I_COMMODITY,YEAR,MONTH,GEN_VAL_MO&for=usitc%20standard%20historical%20countries%20and%20areas:4350&time=2019-01&key=YOUR_KEY_GOES_HERE