Pricing a bid
How TOVR sets a cost floor for one lane, how APEX estimates what the lane pays, and how the two are combined into a recommended bid.
Pricing a bid is the sixth step of How TOVR works. When you bid on an exchange load, the bid dialog shows what the lane costs you and what the market pays for it. The cost side comes from TOVR's cost engine; the market side comes from APEX, TOVR's freight price service.
How it works
- Route the lane. TOVR routes the pickup to the delivery with its truck routing service. With no coordinates, or when no route answers, the recommendation is declined and only the market half is shown.
- Price the lane. The cost floor is fuel + tolls + driver + vignettes + border crossings for this one lane, priced as in Costing and chains.
- Add your margin. The minimum viable price is the cost floor × (1 + your minimum margin ÷ 100). The minimum margin is 8% by default and is a carrier setting.
- Ask APEX. APEX returns the lane's p25, median and p75 in euros per km. TOVR multiplies them by the lane distance.
- Place the bid. TOVR compares your minimum viable price with the market band and recommends a price (see The recommendation).
How APEX estimates a lane
APEX keeps a store of price observations: one price for one directed lane on one date. It looks for enough recent observations for your lane, starting with the most specific match and widening step by step.
| Level | Which observations | Minimum count | Confidence multiplier |
|---|---|---|---|
exact | Same loading and unloading country and postal code, in this direction | 3 | 1.0 |
reverse | The same two places in the opposite direction | 3 | 0.85 |
postal_prefix | Places in the same countries whose postal codes start with the same first 2 characters | 5 | 0.7 |
country_pair | Every observation from the loading country to the unloading country | 10 | 0.6 |
none | No level had enough observations: APEX returns "insufficient data" |
Only observations from the last 365 days, between EUR 0.50 and EUR 5.00 per km, with an observed (not filled-in) price and not marked as an outlier are used. An outlier is a value outside 1.5 × the interquartile range of its lane, flagged only when the lane has at least 4 observations.
estimated price = median EUR per km × distance
volume = min(observations ÷ 100, 1)
freshness = max(1 − hours since the newest observation ÷ 720, 0.1)
confidence = round(0.6 × volume + 0.4 × freshness, 2) × level multiplier, rounded to 2 placesA confidence of 0.5 or more is quality HIGH, 0.3 to under 0.5 is MEDIUM, and under 0.3 is
LOW.
For the example, suppose APEX finds too few observations at the closer levels but 40 Bulgaria → Germany observations, the newest 48 hours old, with a p25 of EUR 1.60, a median of EUR 1.75 and a p75 of EUR 1.95 per km:
volume = min(40 ÷ 100, 1) = 0.40
freshness = 1 − 48 ÷ 720 = 0.93
confidence = round(0.6 × 0.40 + 0.4 × 0.93, 2) × 0.6 = 0.61 × 0.6 = 0.37 → MEDIUM
band = 1,050 km × 1.60 / 1.75 / 1.95 = EUR 1,680 / 1,837.50 / 2,047.50The recommendation
| Situation | Recommended price | Position shown |
|---|---|---|
| APEX has no usable data for the lane, or does not answer | Your minimum viable price | no_market_data |
| Your minimum viable price is above the p75 | Your minimum viable price | above_market |
| Otherwise | A price between the p25 and the p75. When your minimum viable price is at or below the median, it is the higher of the p25 and your minimum viable price. | within_market |
The dialog also shows the margin at the recommended price as a markup on cost: (price − cost floor) ÷ cost floor × 100. If you set a target rate per loaded km, the dialog shows the target price too, but it does not move the recommendation.
For the example, take an illustrative lane cost floor of EUR 1,420. With the default 8% margin the minimum viable price is EUR 1,420 × 1.08 = EUR 1,533.60. That is below the p75, so the recommendation sits in the band. TOVR recommends EUR 1,680, the p25, and shows a margin of (1,680 − 1,420) ÷ 1,420 = 18.3%.
What affects the result
- Postal codes. Without postal codes the postal-prefix level cannot match, so most lanes fall back to the country pair, whose confidence multiplier is lower.
- Your margin and rates. The minimum margin and your carrier rates change the cost floor and the minimum viable price; they do not change the market band.
- What APEX ignores. The estimate uses only the countries, postal codes and distance. It does not take equipment, weight, full or part load, or the date into account.
Limits
- Two different margins. The bid dialog's margin is a markup on cost. A chain's margin is profit on revenue. An 8% markup on cost is about 7.4% on revenue.
- Lane tolls are priced on driven kilometres. A bid floor uses the per-country toll rates on all kilometres driven, not the tolled kilometres on the routed path that chains use.
- Observed prices are mostly asking prices. Most of APEX's observations are the target price on a posted spot offer, so the band describes what shippers ask rather than what was paid.
The API
POST /api/v1/estimate (scope estimate) returns APEX's estimate for one lane:
{
"loading_country": "BG",
"loading_postal_code": "1000",
"unloading_country": "DE",
"unloading_postal_code": "80331",
"distance_km": 1050
}The response carries estimated_price_eur, estimated_price_per_km, p25_price_per_km,
median_price_per_km, p75_price_per_km, confidence_score, quality_status,
observation_count, data_freshness_hours and match_level. A lane without enough data answers
422 insufficient_market_data. POST /api/v1/estimate/batch takes up to 500 lanes in one call.
Related
- How APEX works
- Confidence and quality
- Estimate API
- Previous step: Costing and chains
- Next step: Booking
Costing and chains
How TOVR builds freight chains from matches, routes every leg for a truck, prices fuel, tolls, driver time and the other cost lines, checks driving-time and cabotage rules, and decides which chains to propose.
Booking
How a proposed chain gets a truck, what an award writes and bills, how outreach and follow-ups work, and how bids on exchanges are tracked.