{"api":{"id":"api_904d896dc55d54306eee39eb","slug":"us-border-crossing-volumes","name":"US Border Crossing Volumes API","description":"Monthly inbound crossings at US land border ports with Canada and Mexico, from the US Bureau of Transportation Statistics: trucks, containers, vehicles, buses, trains and pedestrians per port and month.","kind":"ready_made","visibility":"public","domain":"data.bts.gov","source_url":"https://data.bts.gov/resource/keg4-3bc2.json","category":"public_data","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":9,"created_at":"2026-12-06T04:45:48.408Z","updated_at":"2026-12-06T04:45:48.408Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"port_name","type":"string","description":"Name of the border port.","required":true,"coverage":1,"example":"Eastport"},{"name":"port_code","type":"string","description":"Customs port code.","required":false,"coverage":1,"example":"0103"},{"name":"state","type":"string","description":"US state of the port.","required":false,"coverage":1,"example":"Maine"},{"name":"border","type":"string","description":"US-Canada Border or US-Mexico Border.","required":false,"coverage":1,"example":"US-Canada Border"},{"name":"date","type":"date","description":"First day of the month the count is for.","required":true,"coverage":1,"example":"2026-10-01"},{"name":"measure","type":"string","description":"What was counted, such as Trucks or Pedestrians.","required":true,"coverage":1,"example":"Trucks"},{"name":"value","type":"integer","description":"Inbound crossings in that month.","required":false,"coverage":1,"example":210},{"name":"lat","type":"number","description":"Latitude of the port.","required":false,"coverage":1,"example":44.8594395785},{"name":"lon","type":"number","description":"Longitude of the port.","required":false,"coverage":1,"example":-66.98007566}],"inputs":[{"name":"border","type":"string","description":"US-Canada Border or US-Mexico Border. Empty means both.","example":"US-Canada Border","enum":["US-Canada Border","US-Mexico Border"]},{"name":"ports","type":"array","description":"Port names to keep, exactly as the source writes them.","example":["Champlain Rouses Point"]},{"name":"measures","type":"array","description":"Measures to keep, such as Trucks, Truck Containers Loaded, Personal Vehicles, Pedestrians, Buses, Trains.","example":["Trucks"]},{"name":"since","type":"string","description":"From this month on, YYYY-MM.","example":"2026-01"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"border":{"description":"US-Canada Border or US-Mexico Border.","type":"string"},"date":{"description":"First day of the month the count is for.","format":"date","type":"string"},"lat":{"description":"Latitude of the port.","type":"number"},"lon":{"description":"Longitude of the port.","type":"number"},"measure":{"description":"What was counted, such as Trucks or Pedestrians.","type":"string"},"port_code":{"description":"Customs port code.","type":"string"},"port_name":{"description":"Name of the border port.","type":"string"},"state":{"description":"US state of the port.","type":"string"},"value":{"description":"Inbound crossings in that month.","type":"integer"}},"required":["port_name","date","measure"],"title":"US Border Crossing Volumes API","type":"object"},"samples":[{"port_name":"Eastport","port_code":"0103","state":"Maine","border":"US-Canada Border","date":"2026-10-01","measure":"Trucks","value":210,"lat":44.8594395785,"lon":-66.98007566},{"port_name":"Jackman","port_code":"0104","state":"Maine","border":"US-Canada Border","date":"2026-10-01","measure":"Trucks","value":5575,"lat":45.805661,"lon":-70.396722},{"port_name":"Vanceboro","port_code":"0105","state":"Maine","border":"US-Canada Border","date":"2026-10-01","measure":"Trucks","value":24,"lat":45.568761,"lon":-67.428541}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"border":1,"date":1,"lat":1,"lon":1,"measure":1,"port_code":1,"port_name":1,"state":1,"value":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_904d896dc55d54306eee39eb/run","openapi":"https://pullrow.dev/v1/apis/api_904d896dc55d54306eee39eb/openapi.json","contract":"https://pullrow.dev/v1/apis/api_904d896dc55d54306eee39eb/contract.json","page":"https://pullrow.dev/catalog/us-border-crossing-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":["Counts are inbound crossings into the United States only; outbound traffic is not included.","Monthly figures, published with a delay of about two months; the newest month is the latest the source has.","One row per port, month and measure (Trucks, Truck Containers Loaded, Personal Vehicles, Buses, Trains, Pedestrians and others the source lists); ports with no traffic for a measure have no row.","US Department of Transportation, Bureau of Transportation Statistics, public domain; the source (Socrata) throttles anonymous use, so runs are spaced out."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"port_name","label":"Port name","description":"Name of the border port.","group":"Basics","shown":true,"written":false},{"name":"port_code","label":"Customs port code","description":"","group":"Basics","shown":true,"written":false},{"name":"state","label":"State","description":"US state of the port.","group":"Location","shown":true,"written":false},{"name":"border","label":"Border","description":"US-Canada Border or US-Mexico Border.","group":"Basics","shown":true,"written":false},{"name":"date","label":"Date","description":"First day of the month the count is for.","group":"Dates","shown":true,"written":false},{"name":"measure","label":"Measure","description":"What was counted, such as Trucks or Pedestrians.","group":"Basics","shown":true,"written":false},{"name":"value","label":"Value","description":"Inbound crossings in that month.","group":"Basics","shown":true,"written":false},{"name":"lat","label":"Latitude","description":"Latitude of the port.","group":"Basics","shown":true,"written":false},{"name":"lon","label":"Longitude","description":"Longitude of the port.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"border","label":"Border","help":"US-Canada Border or US-Mexico Border. Empty means both.","example":"US-Canada Border","written":false},{"name":"ports","label":"Ports","help":"Port names to keep, exactly as the source writes them.","example":"Champlain Rouses Point","written":false},{"name":"measures","label":"Measures","help":"Measures to keep, such as Trucks, Truck Containers Loaded, Personal Vehicles, Pedestrians, Buses, Trains.","example":"Trucks","written":false},{"name":"since","label":"Since","help":"From this month on, YYYY-MM.","example":"2026-01","written":false}]}},"incidents":[]}