Get a US import bill of lading by number
Fetch a single US import bill of lading (shipment document) by its BOL number. Costs 0.1 data credits per BOL returned.
Parameters#
Path parameters
numberstringrequired
Query parameters
fieldsstringoptionalComma-separated list of fields to keep on each returned record, e.g.
bol_number,arrival_date,supplier_name. Everything else is omitted. Names that the record does not carry are ignored. The envelope (requestCost,creditsRemaining,executionTime,totalCount) is always returned in full. Cannot be combined withexclude. Omit for the full record.excludestringoptionalComma-separated list of fields to drop from each returned record, e.g.
containers,shipping_rate. Every other field is kept. Cannot be combined withfields. Omit for the full record.formatstringoptionaldefaultjsonResponse encoding. Defaults to
json. Passtoonto receive TOON — the same data in a compact, token-efficient text form intended for LLM prompts. Error responses are always JSON.one ofjsontoon
fields, exclude, and format work the same way on every endpoint — Response shaping has worked examples.
Response#
One US import bill of lading — the shipment document for that number.
{
"requestCost": 0.1,
"creditsRemaining": 9998.5,
"data": {
"bol_number": "CCLLMILS17011590",
"bol_type": "H",
"inbond_type": "61 - IT: Immediate Transportation",
"master_bol_number": "NYKSMILT12616400",
"has_master_data": true,
"company_manifest_confidentiality": false,
"supplier_manifest_confidentiality": false,
"arrival_date": "08/21/2017"
// …95 more fields
},
"executionTime": "224ms"
}Top-level fields#
data— the result object for this endpointrequestCost— Data credits used for this call (0 if none)creditsRemaining— Your data credit balance after the callexecutionTime— How long the request took
Fields in data#
bol_numberstringCCLLMILS17011590bol_typestringHWhich filing this is: “R” for a regular (carrier-filed) bill, “H” for a house bill filed by a forwarder.
inbond_typestring61 - IT: Immediate Transportationmaster_bol_numberstringNYKSMILT12616400The carrier-level bill this house bill rolls up to. House bills covering one master shipment share this value.
has_master_databooleantruecompany_manifest_confidentialitybooleanfalsesupplier_manifest_confidentialitybooleanfalsearrival_datestring08/21/2017company_first_shipment_datestring07/04/2015supplier_first_shipment_datestring08/01/2015lat, lon
lat, lon
Errors#
Failures come back as JSON with a statusCode and message. The ones worth handling here are 401 (bad or missing key), 403 (out of credits), and 404 (no such record). See all error responses.