Shipping API Integration
TRT International service offerings include an Internet Application Program Interface (API). Our proprietary, platform-independent tools will provide you with instant, near real-time access to freight data.
Getting Started.
The Shipping API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, basic authentication, and verbs.
Authentication
Shipping API uses Basic Authentication over HTTPs plus API key authenticate requests. You need to request an API key and a dedicated user account for API Access from our team.
All API requests must be made over a secured HTTPs connection. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Retrieve Freight Details
Retrieve the details of an existing freight. You need to provide the unique freight identifier provided by Freight List API
GET https://api.usatrt.com/api/freight/{freight_vin}?api_key={API_KEY}
Response Example
{
"Id": 364730,
"Vin": "KL7CJKSB1LB330630",
"Make": "CHEVROLET",
"Model": "Trax",
"Year": 2020,
"Color": "",
"LotNumber": null,
"Description": null,
"AssemblyCountry": "SOUTH KOREA",
"BodyStyle": "Sport Utility Vehicle (SUV)/Multi-Purpose Vehicle ",
"EngineType": "",
"EngineLiters": "",
"EngineCyl": "",
"PortOfExportId": 1,
"PortOfExport": "NEW YORK"
}
Retrieve Freight Pictures
Retrieve a list of a picture of an existing freight.
GET https://api.usatrt.com/api/freight/{freight_vin}/pictures?api_key={API_KEY}
Response Example
[
"https://d1tafjgr3ktuku.cloudfront.net/Documents/4421/4421275.bin?content=image%2fjpeg&filename=Captu222re.JPG&Expires=1621249147&Signature=NGlpRCJ-H68VttqYDe7r-RXjj7k3BHxf9GNrEa9LOxHH2jUqyKT3JowrYWarmfVJGcEDgqAVDn1YFScehVDaL3-T8UC2iT7nEUHROo2UnYX0DUu7DxFoI9MZ2-l5MIEhkEPAnprqXQdA7EQ855ehE0LlmYhOOXXNMULxRHqN78MKgIfMW8vEZ5HQV6nIpnGmvYTnGY-KiM5svuLakVhlF3K3WieU3HbxvsPLOdbjE-scyyAKDP3loyO2jbaXb5umMg4xkvzEpGRCxCFfvYyLrYqKqftv79v47b0HXlEf3Ws6uerZgq6-7QLbHX2jYsMSBWLen2Cu~W8oZ-ePReoSMA__&Key-Pair-Id=APKAJ2DQ3CF4KTDIH5HQ"
]