{"uid":"cap_5vPcq0ZwrjiPOmg07UqXc","slug":"truck-load-profit-calculator-0659d60f","name":"Truck Load Profit Calculator","description":"Given a freight load (rate, loaded miles, deadhead miles, fuel price, MPG, fixed+variable cost per mile), returns net profit, true cost-per-mile, break-even rate-per-mile, and an accept/reject verdict. For logistics and dispatch agents evaluating loads.","url":"https://store.agentexchange.work/truck/profit","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["rate","miles"],"properties":{"mpg":{"type":"number"},"rate":{"type":"number"},"miles":{"type":"number"},"deadhead":{"type":"number"},"fuel_price":{"type":"number"},"cost_per_mile_fixed":{"type":"number"},"cost_per_mile_variable":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"mpg":6.5,"rate":1850,"miles":600,"deadhead":80,"fuel_price":4.1,"cost_per_mile_fixed":0.55,"cost_per_mile_variable":0.35}}},"response":{"inputs":{"mpg":6.5,"rate":1850,"miles":600,"deadhead":80,"fuel_price":4.1,"cost_per_mile_fixed":0.55,"cost_per_mile_variable":0.35},"profit":809.08,"verdict":"ACCEPT","fuel_cost":428.92,"all_in_cost":1040.92,"cost_per_total_mile":1.53,"rate_per_loaded_mile":3.08,"break_even_rate_per_loaded_mile":1.73}},"exampleRequest":{"mpg":6.5,"rate":1850,"miles":600,"deadhead":80,"fuel_price":4.1,"cost_per_mile_fixed":0.55,"cost_per_mile_variable":0.35},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QE71dntaGruuD0LreSZCa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates net profit, all-in cost, and an ACCEPT/REJECT/MARGINAL verdict for a trucking load given rate, miles, fuel price, and cost-per-mile inputs.","exampleAgentPrompt":"Can you tell me if I should accept a load paying $1,850 gross for 600 loaded miles with 80 deadhead miles — my truck gets 6.5 MPG, diesel is $4.10 a gallon, and my fixed costs are $0.55 per mile with $0.35 in variable costs?","exampleUseCases":[{"title":"Quick load profitability check for dispatch","prompt":"I've got an incoming load offering $2,200 for 450 miles, fuel's at $3.95 a gallon, my truck does 6 MPG, and I'm running $0.60 fixed plus $0.40 variable per mile — should I take it or keep waiting?"},{"title":"Compare two competing freight offers","prompt":"I have two loads I need to decide between: one pays $1,650 for 380 miles, the other pays $1,900 for 520 miles. Diesel is $4.05, my truck averages 6.2 MPG, fixed costs are $0.58 per mile and variables are $0.38 per mile. Which one actually makes me more money?"},{"title":"Determine minimum acceptable rate per haul","prompt":"I'm looking at a 550-mile haul and want to know what my absolute break-even rate needs to be. My costs are $0.62 fixed per mile plus $0.42 variable, the truck gets 5.9 MPG, and fuel's running $4.20 a gallon right now — what's the lowest rate I should accept?"}],"resultDescription":"Returns a JSON object with net profit in USD, a verdict of ACCEPT, REJECT, or MARGINAL, total all-in cost, cost per total mile, rate per loaded mile, and the break-even rate per loaded mile needed to cover costs.","failureModes":["Missing required 'rate' or 'miles' query parameters returns a validation error","Non-numeric values for numeric fields cause a 400 error","Payment not included or invalid x402 USDC payment on Base results in 402 Payment Required","Negative or zero miles may produce nonsensical results","Extremely low rates relative to costs may return REJECT with negative profit"],"whenToPreferThis":"Use this endpoint when an AI agent or dispatcher needs to instantly evaluate whether a specific trucking load is financially worthwhile, producing a clear ACCEPT/REJECT/MARGINAL decision along with detailed cost breakdown. Ideal for freight broker integrations, owner-operator decision tools, or load board agents that need to filter profitable loads automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:29.479Z","isFirstParty":false}