Skip to main content

location

Carrier Search By Location

endpoint: /api/v1/carrier/search/bylocation/geographic
method: POST
description: Returns a list of carriers that are physically located near the given location. Supports a wide plethora of optional search filters.

⚠️ Filters are contained in the body of the POST request. See Search Filter documentation.

Query ParameterData TypeDescriptonExample
olatstringOrigin Latitudeolat=35.0843859
olngstringOrigin Longitudeolng=-106.650422
radiusstringThe search radius in miles (0-300)radius=150
page (optional)stringThe 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)stringThe format of the returned data. This parameter defaults to JSON format.type=json
type=xml

usage:

Query by Location:
(POST) https://dashboard.ecarriercheck.com/api/v1/carrier/search/bylocation/geographic?radius=150&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/bylocation/geographic?radius=150&olat=35.0843859&olng=-106.650422&type=json

Query returning XML:
(POST) https://dashboard.ecarriercheck.com/api/v1/carrier/search/bylocation/geographic?radius=150&olat=35.0843859&olng=-106.650422&type=xml