{"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},"version":"1.0","contract_hash":"d30de281676dbbc11906a3c0bdb663fdcf8b49ae6ac65decc008af82d3a8959e","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.409Z","activated_at":"2026-12-06T04:45:48.409Z","active":true,"contract_hash":"d30de281676dbbc11906a3c0bdb663fdcf8b49ae6ac65decc008af82d3a8959e","fields_count":12}]}