{"api":{"id":"api_d16aa5f6729fb019f93598e6","slug":"us-port-cargo-volumes","name":"US Port Cargo Volumes API","description":"Yearly cargo volumes for US ports from the Bureau of Transportation Statistics: port, state, region, trade type, cargo type, volume with units, national ranking and year-on-year change.","kind":"ready_made","visibility":"public","domain":"data.bts.gov","source_url":"https://data.bts.gov/resource/5rpz-kgm9.json","category":"commerce","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T04:45:48.409Z","updated_at":"2026-12-06T04:45:48.409Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Port id, year, trade type, cargo type and units joined together.","required":true,"coverage":1,"example":"4820|2016|EMPTY|CONTAINER|Container TEUs"},{"name":"port_id","type":"string","description":"The source's port id.","required":false,"coverage":1,"example":"4820"},{"name":"port_name","type":"string","description":"Port name.","required":false,"coverage":1,"example":"Alaska, AK Port of"},{"name":"state","type":"string","description":"State of the port.","required":false,"coverage":1,"example":"Alaska"},{"name":"region","type":"string","description":"Coast or region, such as Pacific Coast.","required":false,"coverage":1,"example":"Pacific Coast"},{"name":"reporting_year","type":"integer","description":"Year the volume is reported for.","required":false,"coverage":1,"example":2016},{"name":"trade_type","type":"string","description":"Imports, exports, empty, total and so on.","required":false,"coverage":1,"example":"EMPTY"},{"name":"cargo_type","type":"string","description":"Cargo type such as CONTAINER.","required":false,"coverage":1,"example":"CONTAINER"},{"name":"volume","type":"number","description":"Volume in the units given in units.","required":false,"coverage":1,"example":58059.2},{"name":"units","type":"string","description":"Unit of the volume, such as Container TEUs.","required":false,"coverage":1,"example":"Container TEUs"},{"name":"port_ranking","type":"number","description":"National rank of the port for that cargo and year.","required":false,"coverage":1,"example":18},{"name":"percent_change","type":"number","description":"Percent change against the year before.","required":false,"coverage":1,"example":42.91847184}],"inputs":[{"name":"state","type":"string","description":"State name as published, such as Texas. Leave empty for all states.","example":"Texas"},{"name":"year","type":"string","description":"Reporting year, such as 2022. Leave empty for all years.","example":"2022"},{"name":"cargo_type","type":"string","description":"Cargo type exactly as published, such as CONTAINER (upper or lower case both work).","example":"Containers"},{"name":"limit","type":"integer","description":"Maximum records to return.","example":25}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cargo_type":{"description":"Cargo type such as CONTAINER.","type":"string"},"id":{"description":"Port id, year, trade type, cargo type and units joined together.","type":"string"},"percent_change":{"description":"Percent change against the year before.","type":"number"},"port_id":{"description":"The source's port id.","type":"string"},"port_name":{"description":"Port name.","type":"string"},"port_ranking":{"description":"National rank of the port for that cargo and year.","type":"number"},"region":{"description":"Coast or region, such as Pacific Coast.","type":"string"},"reporting_year":{"description":"Year the volume is reported for.","type":"integer"},"state":{"description":"State of the port.","type":"string"},"trade_type":{"description":"Imports, exports, empty, total and so on.","type":"string"},"units":{"description":"Unit of the volume, such as Container TEUs.","type":"string"},"volume":{"description":"Volume in the units given in units.","type":"number"}},"required":["id"],"title":"US Port Cargo Volumes API","type":"object"},"samples":[{"id":"4820|2016|EMPTY|CONTAINER|Container TEUs","port_id":"4820","port_name":"Alaska, AK Port of","state":"Alaska","region":"Pacific Coast","reporting_year":2016,"trade_type":"EMPTY","cargo_type":"CONTAINER","volume":58059.2,"units":"Container TEUs","port_ranking":18,"percent_change":42.91847184},{"id":"4820|2016|EXPORTS|CONTAINER|Container TEUs","port_id":"4820","port_name":"Alaska, AK Port of","state":"Alaska","region":"Pacific Coast","reporting_year":2016,"trade_type":"EXPORTS","cargo_type":"CONTAINER","volume":71169.95,"units":"Container TEUs","port_ranking":18,"percent_change":-5.893463975},{"id":"4820|2016|IMPORTS|CONTAINER|Container TEUs","port_id":"4820","port_name":"Alaska, AK Port of","state":"Alaska","region":"Pacific Coast","reporting_year":2016,"trade_type":"IMPORTS","cargo_type":"CONTAINER","volume":205662.3,"units":"Container TEUs","port_ranking":18,"percent_change":-16.02295603}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"cargo_type":1,"id":1,"percent_change":1,"port_id":1,"port_name":1,"port_ranking":1,"region":1,"reporting_year":1,"state":1,"trade_type":1,"units":1,"volume":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_d16aa5f6729fb019f93598e6/run","openapi":"https://pullrow.dev/v1/apis/api_d16aa5f6729fb019f93598e6/openapi.json","contract":"https://pullrow.dev/v1/apis/api_d16aa5f6729fb019f93598e6/contract.json","page":"https://pullrow.dev/catalog/us-port-cargo-volumes"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Data is yearly and published by the US Bureau of Transportation Statistics with a delay of one or more years; it is not live vessel tracking.","One record is one port, year, trade type and cargo type; the same port appears in several rows.","Volume units differ by cargo type (for example container TEUs or tons), so compare volumes only within the same units.","Ranking and percent change are as published by the source and may be empty for some rows.","US government open data: credit the US Bureau of Transportation Statistics when you republish."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Port id, year, trade type, cargo type and units joined together.","group":"Technical","shown":false,"written":false},{"name":"port_id","label":"Port ID","description":"The source's port id.","group":"Technical","shown":false,"written":false},{"name":"port_name","label":"Port name","description":"","group":"Basics","shown":true,"written":false},{"name":"state","label":"State","description":"State of the port.","group":"Location","shown":true,"written":false},{"name":"region","label":"Region","description":"Coast or region, such as Pacific Coast.","group":"Location","shown":true,"written":false},{"name":"reporting_year","label":"Reporting year","description":"Year the volume is reported for.","group":"Dates","shown":true,"written":false},{"name":"trade_type","label":"Trade type","description":"Imports, exports, empty, total and so on.","group":"Basics","shown":true,"written":false},{"name":"cargo_type","label":"Cargo type","description":"Cargo type such as CONTAINER.","group":"Basics","shown":true,"written":false},{"name":"volume","label":"Volume","description":"Volume in the units given in units.","group":"Basics","shown":true,"written":false},{"name":"units","label":"Units","description":"Unit of the volume, such as Container TEUs.","group":"Basics","shown":true,"written":false},{"name":"port_ranking","label":"Port ranking","description":"National rank of the port for that cargo and year.","group":"Basics","shown":true,"written":false},{"name":"percent_change","label":"Percent change","description":"Percent change against the year before.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"state","label":"State","help":"State name as published, such as Texas. Leave empty for all states.","example":"Texas","written":false},{"name":"year","label":"Year","help":"Reporting year, such as 2022. Leave empty for all years.","example":"2022","written":false},{"name":"cargo_type","label":"Cargo type","help":"Cargo type exactly as published, such as CONTAINER (upper or lower case both work).","example":"Containers","written":false},{"name":"limit","label":"Limit","help":"Maximum records to return.","example":"25","written":false}]}},"incidents":[]}