Cargado API is in beta. The API may change in breaking ways.
curl --request POST \
--url https://api.cargado.com/border-crossings/recommendations \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"requests": [
{
"stops": [
{
"type": "PICKUP",
"placeDetails": {
"place": {
"address": "<string>",
"type": "ADDRESS_STRING"
}
}
}
],
"trailerRequirements": {
"allowedTypes": [
"DRY_VAN"
]
}
}
]
}
'{
"results": [
{
"type": "DATA",
"stops": [
{
"type": "PICKUP",
"placeDetails": {
"place": {
"address": "<string>",
"type": "ADDRESS_STRING"
},
"coordinates": {
"latitude": 0,
"longitude": 0
}
}
}
],
"trailerRequirements": {
"allowedTypes": [
"DRY_VAN"
]
},
"recommendedBorderCrossings": [
"LAREDO_INTL_BRIDGE"
]
}
]
}Get recommended US-Mexico border crossings for one or more routes. Returns recommended crossings filtered by confidence threshold, in the same order as the input requests. Routes that do not cross the US-Mexico border will return an error result.
curl --request POST \
--url https://api.cargado.com/border-crossings/recommendations \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"requests": [
{
"stops": [
{
"type": "PICKUP",
"placeDetails": {
"place": {
"address": "<string>",
"type": "ADDRESS_STRING"
}
}
}
],
"trailerRequirements": {
"allowedTypes": [
"DRY_VAN"
]
}
}
]
}
'{
"results": [
{
"type": "DATA",
"stops": [
{
"type": "PICKUP",
"placeDetails": {
"place": {
"address": "<string>",
"type": "ADDRESS_STRING"
},
"coordinates": {
"latitude": 0,
"longitude": 0
}
}
}
],
"trailerRequirements": {
"allowedTypes": [
"DRY_VAN"
]
},
"recommendedBorderCrossings": [
"LAREDO_INTL_BRIDGE"
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cargado.com/llms.txt
Use this file to discover all available pages before exploring further.
Input for looking up recommended border crossings for one or more routes.
A list of routes to get border crossing recommendations for.
1 - 50 elementsShow child attributes
Ok
Output containing border crossing recommendations for each requested route, in the same order as the input requests.
Show child attributes