Skip to main content
POST
Returns reported weekly rates for refrigerated produce loads, not a quote, from the US Department of Agriculture. Origins are shipping districts. Each lane includes weekly low, high, midpoint and rate per mile, plus truck availability: 1 means surplus, 3 adequate supply and 5 shortage, with intermediate values 2 and 4.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
Shipping district substring, for example Salinas or Florida. 2 to 80 characters.
string
Destination city substring, for example Chicago. 2 to 80 characters.
integer
Most recent weeks per lane. From 1 to 26. Defaults to 4.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always market_truck_rates
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always US Department of Agriculture.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
object[]
Lanes ordered by newest week, then origin and destination.
string
Shipping district.
string
Source region.
string
Destination city.
number | null
Estimated lane distance in miles. null when the source gives no value.
string[]
Commodity mix for the newest reported week.
object[]
Newest reported weeks first.
string
Reported week ending date (YYYY-MM-DD).
number | null
Lowest reported truck rate during the week. null when the source gives no value.
number | null
Highest reported truck rate during the week. null when the source gives no value.
number | null
Source average of the weekly low and high. null when the source gives no value.
number | null
Source midpoint divided by distance, rounded to four decimal places. null when the source gives no value.
integer | null
Truck supply: 1 surplus, 3 adequate, 5 shortage; intermediate values are 2 and 4. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Origin and optional destination match uppercase substrings. Omit destination to return several lanes.
  • Reads one page of weeks × 40 rows, capped at 1000, newest first; keeps up to weeks rows per lane from that page. History is available from the first call.
  • Lane details use the newest row. Empty numeric fields are null. No match returns an empty lanes list.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}