commodity_total_create
POST request for Commodity_total with timeframe and option in body.
POST request for Commodity_total with timeframe and option in body.
commodity_total/ endpoint accepts a timeframe and an option specifying either state or region. It returns a CSV file detailing the difference between the tonnage of each commodity imported and exported from each area by year. Currently, this endpoint supports domestic trade only, with plans for future updates to include international import and export data related to the U.S.
Populates data choices based on keyword received (POST method)
Populates data choices based on keyword received (GET method)
Submit export request with POST body
imports_exports_details/ takes in a region or state with a year or year frame and returns all exported commodities from that area. The endpoint returns the commodity type, the transportation type, the area the commodity was sent to, and the year's ton and value.
get_mode_details/ takes in a region or state with a year or year frame and returns all mode details.
get_mode_details/ takes in a region or state with a year or year frame and returns all mode details.
The endpoint provides detailed information about foreign and domestic exports and imports for the past five years
Populates data choices based on keyword recieved
Populates data choices based on keyword recieved
Populates data choices based on keyword recieved
get_table_data/ retrieves one of six fully populated tables based on the year timeframe provided. The return is a downloadable CSV file. The data will contain the origin, destination, commodity type, transportation type, distance traveled, tonnage, and value based on the timeframe provided.
import_export_sum/ takes a region or state and a timeframe, then sums up each commodity
Returns a CAV file detailing all one-way trade between two specified locations. The data includes:
Returns a CAV file detailing all one-way trade between two specified locations. The data includes: