Skip to main content
Tracking starts with a request. Send a carrier SCAC together with a container number or a master bill of lading, and PrimeFreight begins tracking the shipment. When the data resolves it becomes available as a shipment and container you can retrieve, and any webhooks you’ve registered begin firing. POST /v2/tracking_requests

Request body

Send the carrier scac plus at least one identifier — bill_of_lading or container_number.
string
required
Carrier SCAC code — e.g. MAEU.
string
Master bill of lading number. Provide this or container_number.
string
Container number — e.g. ABCU1234567. Provide this or bill_of_lading.
string
Your own reference, echoed back on the resulting shipment.

Response

Returns the created tracking request. status is pending until the carrier returns data — follow its progress with webhooks or the status check below. When it succeeds, shipment_id links to the shipment.

Check a request’s status

Retrieve a request at any time to see whether tracking has resolved. status becomes succeeded (with a shipment_id) or failed. GET /v2/tracking_requests/{id}