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. Shipper

Shipper Lanes

The shipper lanes recommendation endpoint allows users to retrieve a list of facilities that ship from the specified origin location to the specified destination location within a given distance radius. The shippers_in_origin returned array is the primary fields of interest. shippers_in_destination is merely a list of facilities in the specified destination area.

Authentication

Include the following headers in your requests:

  • Access-Token: The access token obtained from the "Create Access Token" endpoint.

  • x-api-key: The API key provided by GenLogs. This header must be included in the request.\

Permissions

Make sure that your api user is created with a role that has external-api-shipper-lanes permission

Endpoint

  • URL: https://api.genlogs.io/shipper/lanes

  • Method: GET

Query Parameters

  • origin_city (string, required): Name of the city of the origin location.

  • origin_state (string, required): Name of the state of the origin location.

  • destination_city (string, required): Name of the city of the destination location.

  • destination_state (string, required): Name of the state of the destination location.

  • origin_radius (number, required): The radius (miles) around the origin city within which to search for shipper lanes.

  • destination_radius (number, required): The radius (miles) around the destination city within which to search for shipper lanes.

  • lot_size_category (string, optional) the allowed values are X-Large and Large, the values should be exact.

Response

  • 200 OK: Successfully retrieved the list of shipper lanes within the specified radius.

  • 400 Bad Request: If required parameters are missing or invalid.

  • 401 Unauthorized: If the Access-Token is missing or invalid.

  • 500 Internal Server Error: If an error occurs on the server while processing the request.

Response Body

  • shippers_in_origin (array of Shipper objects): List of shippers that have a lane to the destination. Has lane_volume column.

    • contact_phone (nullable string): Phone number of the shipper's contact person.

    • contact_url (nullable string): URL for the shipper's contact page or website.

    • facility_name (string): Name of the shipper's facility.

    • formatted_address (string): Full address of the shipper's facility.

    • id (string): Unique identifier for the shipper.

    • lat (number): Latitude of the shipper's facility.

    • lon (number): Longitude of the shipper's facility.

    • operating_hours (nullable string): Operating hours of the shipper's facility.

    • place_category (string): Category or type of place (e.g., warehouse, distribution center).

    • lane_volume (nullable integer): The volume of lanes associated with the shipper.

  • shippers_in_destination (array of Shipper objects): List of shippers located at the destination.

    • contact_phone (nullable string): Phone number of the shipper's contact person.

    • contact_url (nullable string): URL for the shipper's contact page or website.

    • facility_name (string): Name of the shipper's facility.

    • formatted_address (string): Full address of the shipper's facility.

    • id (string): Unique identifier for the shipper.

    • lat (number): Latitude of the shipper's facility.

    • lon (number): Longitude of the shipper's facility.

    • operating_hours (nullable string): Operating hours of the shipper's facility.

    • place_category (string): Category or type of place (e.g., warehouse, distribution center).

Request Example:

curl -X GET 'https://api.genlogs.io/shipper/lanes?name=coca+cola&radius=50&origin_city=Tennessee+City&origin_state=Tennessee&destination_city=Taswell&destination_state=Indiana&origin_radius=50&destination_radius=50' \
-H 'Access-Token: {access_token}' \
-H 'x-api-key: {your_api_key}' \
-i

PreviousReal time CapabilitiesNextShipper Facilities

Last updated 21 days ago

Get shipper lanes based on coordinates and radius

get
Query parameters
origin_latnumberRequired

Latitude of the origin location

Example: 40.7128
origin_lonnumberRequired

Longitude of the origin location

Example: -74.006
destination_latnumberRequired

Latitude of the destination location

Example: 34.0522
destination_lonnumberRequired

Longitude of the destination location

Example: -118.2437
origin_radiusnumberRequired

Radius to search around the origin

Example: 50
destination_radiusnumberRequired

Radius to search around the destination

Example: 100
lot_size_categorystringOptional

Large is one possible value for lot size category

Example: Large
Header parameters
acceptstringRequired

application/json

Example: application/json
Access-TokenstringRequired

Access Token for authentication

Example: [Token]
x-api-keystringRequired

X api key for authentication

Example: [x-api-key]
Responses
200
List of shipper lanes
application/json
get
GET /shipper/lanes HTTP/1.1
Host: api.genlogs.io
accept: application/json
Access-Token: [Token]
x-api-key: [x-api-key]
Accept: */*
200

List of shipper lanes

{
  "shippers_in_destination": [
    {
      "contact_phone": "text",
      "contact_url": "text",
      "facility_name": "text",
      "formatted_address": "text",
      "id": "text",
      "lane_volume": 1,
      "lat": 1,
      "lon": 1,
      "operating_hours": "text",
      "place_category": "text"
    }
  ],
  "shippers_in_origin": [
    {
      "contact_phone": "text",
      "contact_url": "text",
      "facility_name": "text",
      "formatted_address": "text",
      "id": "text",
      "lane_volume": 1,
      "lat": 1,
      "lon": 1,
      "operating_hours": "text",
      "place_category": "text"
    }
  ]
}
  • Authentication
  • Permissions
  • Endpoint
  • Query Parameters
  • Response
  • Response Body
  • Request Example:
  • GETGet shipper lanes based on coordinates and radius