Genlogs API Docs
  • Genlogs API
  • Getting started
  • AUTH
    • Create token
  • Carrier
    • Carrier Recommendations
      • Real time Capabilities
  • Shipper
    • Shipper Lanes
    • Shipper Facilities
  • VISUAL SIGHTINGS
    • Verify
  • Asset Locator
    • Alert Run Summary
    • Create alert
      • Trailer logos
Powered by GitBook
On this page
  1. Carrier
  2. Carrier Recommendations

Real time Capabilities

Real time Capabilities of the Carrier Recommendations Endpoint

PreviousCarrier RecommendationsNextShipper Lanes

Last updated 21 days ago

With the new 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. This unique capability allows you to see which carriers are nearby right now, providing a significant advantage in the spot market. 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

Make sure that your api user is created with a role that has realtime-api permission

The is_real_time parameter is available exclusively to premium users. Reach out to us at support@genlogs.io now to unlock Real-Time freight data.

In addition to the base parameters described in , can be also sent the parameter

  1. real_time (boolean, optional): Determine if is needed to return recommendations including real time detections. Returns Real-Time usdot detections in recommendations, when the user has this functionality enabled.

Tip: If you receive a 403 error when using the real_time parameter, it means your user account doesn't have access to this premium feature. Please verify your access level and, if necessary, contact support at support@genlogs.io for assistance.

In addition to the base attributes described in when the carrier recommendation request includes the real_time parameter , the response will also include the following attributes

  1. recommendations (array of CarrierRecommendation objects): List of recommended carriers.

    1. is_real_time: bool, flag that indicates if result are based on real time detections

    2. is_inbound: bool

  2. real_time_locs (dict of locations where detections are right now)

    1. dot_number: string, usdot of the detected carrier.

    2. current_lon: float, longitude of the detection location.

    3. current_lat: float, latitude of the detection location.

    4. is_inbound (bool): flag indicates when a carrier is currently inbound to the origin

Request Example

curl -X GET 'https://api.genlogs.io/carrier/recommendations?origin_city=Tucker&origin_state=Georgia&destination_city=Orange+Park&destination_state=Florida&origin_radius=50.0&destination_radius=50.0&fleet_size_min=0&fleet_size_max=1000&preferred_carriers=True&real_time=True' \
-H 'Access-Token: {access_token}' \
-H 'x-api-key: {your_api_key}' \
-i

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

Default: 1Example: 1
Header parameters
acceptstringRequired

Specifies the format of the response.

Default: application/jsonExample: application/json
Access-TokenstringRequired

Access Token for authentication

Example: [Token]
x-api-keystringRequired

API key for authentication

Example: [x-api-key]
Responses
200
The JSON response containing recommendations and lane volume
application/json
get
GET /carrier/recommendations HTTP/1.1
Host: api.genlogs.io
accept: application/json
Access-Token: [Token]
x-api-key: [x-api-key]
Accept: */*
200

The JSON response containing recommendations and lane volume

{
  "real_time_locs": [
    {
      "current_lat": 1,
      "current_lon": 1,
      "dot_number": "text",
      "is_inbound": true
    }
  ],
  "recommendations": [
    {
      "add_date": "text",
      "bipd_insurance_on_file": 1,
      "cargo_insurance_on_file": 1,
      "carried_cargo": "text",
      "carrier_driver_oos_rate": 1,
      "carrier_driver_oos_rate_national_avg": 1,
      "carrier_score_scaled": 1,
      "carrier_total_power_units": 1,
      "carrier_vehicle_oos_rate": 1,
      "carrier_vehicle_oos_rate_national_avg": 1,
      "dba_name": "text",
      "dot_number": "text",
      "email_address": "text",
      "is_inbound": true,
      "is_real_time": true,
      "is_visually_sighted": true,
      "is_possible_backhaul": true,
      "lat": 1,
      "legal_name": "text",
      "lon": 1,
      "mc_number": 1,
      "phy_city": "text",
      "phy_state": "text",
      "phy_street": "text",
      "phy_zip": "text",
      "telephone": "text"
    }
  ]
}
  • Permissions
  • GETGet carrier recommendations based on location
Query Parameters:
Response: