Partnership

Get Freight Market Data for Lane

This endpoint allows permissioned users to retrieve comprehensive freight market data for a specific trucking lane, providing real-time market rates and indices in a single API call.

For more information about getting access to this endpoint or using this endpoint, please reach out to our Customer Success team (cs@gosonar.com).

Returns current market data including TRAC rates, freight market indices, and lane scoring metrics for the specified origin-destination pair and equipment type.

This endpoint handles the following input fields:

  • origin: ZIP3 or ZIP5 code for the shipment origin (e.g., "123" or "12345"), required
  • destination: ZIP3 or ZIP5 code for the shipment destination (e.g., "456" or "45678"), required
  • equipment_type: Type of trucking equipment - must be one of: "VAN", "REEFER", or "FLATBED", required
  • miles: Specific lane distance in miles for rate calculations. If not provided, the system will calculate the miles automatically based on origin and destination. Must be a positive number if provided, optional

Here are the output fields returned in a successful call:

  • origin: The Zip3/Zip5 code for the lane origin, as provided in the request
  • destination: The Zip3/Zip5 code for the lane destination, as provided in the request
  • miles: The lane distance in miles
  • trac_rate: The median total (linehaul plus fuel surcharge) rate that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • trac_rate_high: The high-end (67th percentile) total (linehaul plus fuel surcharge) rate that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • trac_rate_low: The low-end (33rd percentile) total (linehaul plus fuel surcharge) rate that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • trac_rpm: The median total (linehaul plus fuel surcharge) rate-per-mile that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • trac_rpm_high: The high-end (67th percentile) total (linehaul plus fuel surcharge) rate-per-mile that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • trac_rpm_low: The low-end (33rd percentile) total (linehaul plus fuel surcharge) rate-per-mile that corresponds to the origin, destination and equipment_type provided in the API call by the client
  • nti_usa_value: The National Truckload Index value for the USA
  • otri_origin_market: The Outbound Tender Rejection Index value for the origin market
  • otvi_origin_market: The Outbound Tender Volume Index value for the origin market
  • csteu_usa_value: The US Customs Maritime Import TEUs value for the USA
  • orail_usa_value: The Total Outbound Rail Container Volume value for the USA
  • haul_value: The Headhaul Index (HAUL) for the destination market of the requested lane. It is the difference between that market's outbound and inbound tender volume indices (OTVI minus ITVI, or the van and reefer equivalents for VHAUL and RHAUL): negative is inbound heavy (backhaul market), positive is outbound heavy (headhaul market). Uses the equipment-specific index when one exists (VHAUL for VAN, RHAUL for REEFER) and falls back to the general HAUL index otherwise (FLATBED always uses HAUL)
  • sonar_lane_score: The lane score for the requested lane
  • equipment_type: The type of trucking equipment used in the request returned
post/partnership/data

Request

  • Base URL
    https://api.freightwaves.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

x-api-versionstring

Request body

originstring required

Origin location - can be ZIP code, ZIP3, or KMA

destinationstring required

Destination location - can be ZIP code, ZIP3, or KMA

equipmentTypestring required

Equipment type - must be VAN, REEFER, or FLATBED

milesnumber double

Optional length of haul in miles. If not provided, will be calculated

Response

Returns the partnership data

originstring

Origin location - can be ZIP5 or ZIP3

destinationstring

Destination location - can be ZIP5 or ZIP3

milesnumber double

Length of haul in miles (provided or calculated)

trac_ratenumber double

TRAC median total spot rate (linehaul plus fuel surcharge) for the lane, in USD. See trac_rpm for the per-mile figure

trac_rate_highnumber double

TRAC rate high value

trac_rate_lownumber double

TRAC rate low value

trac_rpmnumber double

TRAC rate per mile (RPM)

trac_rpm_highnumber double

TRAC rate per mile high value

trac_rpm_lownumber double

TRAC rate per mile low value

nti_usa_valuenumber double

National Truckload Index USA value

otri_origin_marketnumber double

Outbound Tender Rejection Index for origin market

otvi_origin_marketnumber double

Outbound Tender Volume Index for origin market

csteu_usa_valuenumber double

US Customs Maritime Import TEUs (CSTEU) value for the USA

orail_usa_valuenumber double

Total Outbound Rail Container Volume (ORAIL) value for the USA

haul_valuenumber double

Headhaul Index (HAUL) for the destination market of the lane: that market's outbound tender volume minus its inbound tender volume (OTVI minus ITVI, or the van and reefer equivalents for VHAUL and RHAUL). Negative is inbound heavy, positive is outbound heavy. Equipment-specific (VHAUL for VAN, RHAUL for REEFER) when available, otherwise the general HAUL index

sonar_lane_scoreinteger

SONAR Lane Score for the origin/destination pair

equipment_type'VAN' | 'REEFER' | 'FLATBED'

Changes

No recorded changes to this operation across all 5 revisions of this API.