GET
/
api
/
v1
/
price-data
curl --request GET \
  --url https://api.fleetworks.ai/api/v1/price-data \
  --header 'Authorization: Bearer <token>'
{
  "marketAnalytics": {
    "laneAverageRate": 123,
    "marketAverageRate": 123,
    "ratePerMileTrend": 123,
    "volumeTrend": 123,
    "dayRangeSpread": 123
  },
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

An authentication token that identifies the organization associated with the event. You can reach out to FleetWorks team to request a token.

Query Parameters

start_date
string

Start date for the analytics period.

end_date
string

End date for the analytics period.

date
string

Filter price data by specific date.

origin
string

Origin location to filter price data.

destination
string

Destination location to filter price data.

offset
number
default:0

Pagination offset

Required range: x >= 0
limit
number
default:20

Number of records to return per page

Required range: 1 <= x <= 100

Response

200
application/json
Successful retrieval of price data with analytics.
marketAnalytics
object
required
pagination
object
required

Pagination response