Real time Capabilities of the Carrier Recommendations Endpoint
With GenLogs' Real-Time API, you can instantly identify carriers with the right equipment who are currently within a 150-mile radius of your origin and are likely seeking backhauls to your destination. Integrate Real-Time GenLogs data into your TMS and internal systems to unlock new opportunities, increase efficiency, and reduce empty miles.
When the real_time parameter is set to 'True', the recommendation system prioritizes real-time data by applying additional weight to recent detections near the origin of the search. While the recommendations still incorporate historical data and follow the usual logic, the real-time information takes precedence, resulting in a more dynamic focus on current activity.
Permissions
The realtime-api permission is required to use this parameter.
The real_time parameter is available exclusively to premium users. Reach out to us at [email protected] now to unlock Real-Time freight data.
Access-Token: token (string, required): The access token obtained from the "Create Access Token" endpoint.
x-api-key (string, required): The API key provided by GenLogs. This header must be included in the request
Query Parameters
Use the real_time parameter in addition to the required and optional base parameters described in the Carrier Recommendations document.
real_time (boolean, optional): Indicates whether to return recommendations that include real-time detections. If enabled, carriers recently seen within 150-mi of your search radius will be returned.
Tip: A 403 error received while using the real_time parameter signifies that your user account lacks access to this premium feature. To resolve this, please verify your access level. If you require further assistance, don't hesitate to contact our support team at [email protected].
Response Body
real_time_locs (dictionary of locations where real time carrier observations)
dot_number: string, usdot of the detected carrier.
current_lon: float, longitude of the detection location.
current_lat: float, latitude of the detection location.
is_inbound (bool): flag indicates when a carrier is currently inbound to the origin
recommendations (array of CarrierRecommendation objects): List of recommended carriers. See Carrier Recommendation docs for more.
Request Example
Get carrier recommendations based on location
get
Query parameters
origin_citystringRequired
Origin city for the recommendation
Default: NashvilleExample: Tennessee City
origin_statestringRequired
Origin state for the recommendation
Default: TNExample: Tennessee
destination_citystringRequired
Destination city for the recommendation
Default: DallasExample: Tascosa
destination_statestringRequired
Destination state for the recommendation
Default: TXExample: Texas
origin_radiusnumberOptional
Search radius around the origin location in miles
Default: 50Example: 50
destination_radiusnumberOptional
Search radius around the destination location in miles
Default: 50Example: 50
carrier_score_minnumberOptional
Minimum carrier score
Default: 0Example: 0
carrier_score_maxnumberOptional
Maximum carrier score
Default: 100Example: 100
fleet_size_minnumberOptional
Minimum fleet size
Default: 1Example: 1
fleet_size_maxnumberOptional
Maximum fleet size
Default: 500Example: 500
carried_cargostringOptional
Type of cargo carried
Default: general goodsExample: general goods
equipment_typesstringOptional
Type of equipment used by carriers
Default: flatbedExample: flatbed
preferred_carriersbooleanOptional
Filter for preferred carriers
Default: falseExample: true
real_timebooleanOptional
Request real-time data if available
Default: falseExample: true
auth_months_minnumberOptional
Minimum number of months a carrier has an active common or contract authority with FMCSA