lane
Carrier Search by Lane
endpoint: /api/v1/carrier/search/bylane
method: POST
description: Returns a list of carriers known to operate within the given lane. Supports a wide plethora of optional search filters.
⚠️ Filters are contained in the body of the POST request. See Search Filter documentation.
Query Parameter | Data Type | Descripton | Example |
olat | string | Origin Latitude | olat=35.0843859 |
olng | string | Origin Longitude | olng=-106.650422 |
dlat | string | Destination Latitude | dlat=33.1284047 |
dlng | string | Destination Longitude | dlng=-107.2528069 |
radius | string | The search radius in miles (0-300) | radius=150 |
page (optional) | string | The page number of search results. Each page returns a list of 25 carrier objects. This parameter defaults to 1. | page=1 page=2 etc... |
type (optional) | string | The format of the returned data. This parameter defaults to JSON format. | type=json type=xml |
usage:
Query by Lane:
(POST) https://dashboard.ecarriercheck.com/api/v1/carrier/search/bylane?radius=150&dlat=33.3942655&dlng=-104.5230242&olat=35.0843859&olng=-106.650422
Return Types
Data can be returned as either JSON (Default) or xml. To explicitly specify the returned data type, add the type parameter to your query:
Query returning JSON:
(POST) https://dashboard.ecarriercheck.com/api/v1/carrier/search/bylane?radius=150&dlat=33.3942655&dlng=-104.5230242&olat=35.0843859&olng=-106.650422&type=json
Query returning XML:
(POST) https://dashboard.ecarriercheck.com/api/v1/carrier/search/bylane?radius=150&dlat=33.3942655&dlng=-104.5230242&olat=35.0843859&olng=-106.650422&type=xml