Skip to main content
POST
/
border-crossings
/
recommendations
Get border crossing recommendations
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.

Authorizations

api-key
string
header
required

Body

application/json

Input for looking up recommended border crossings for one or more routes.

requests
object[]
required

A list of routes to get border crossing recommendations for.

Required array length: 1 - 50 elements

Response

Ok

Output containing border crossing recommendations for each requested route, in the same order as the input requests.

results
object[]
required