Calculators
Cost-per-use calculator API
Divide total cost of ownership (price + upkeep) by total uses over a period to give a true cost-per-use plus a value rating. Answers 'cost per use of a $1200 bike used twice a week', 'is this worth it per use', 'true cost per wear of a jacket'.
Price$0.01per request
MethodPOST
Route/v1/calc/budget-cost-per-use
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
budgetcost-per-usevalueownershipshoppingtcocalculatormoney
API URL
Integration docshttps://x402.hexl.dev/v1/calc/budget-cost-per-useExample request
{
"price": 1200,
"usesPerPeriod": 2,
"periods": 52
}Example response
{
"price": 1200,
"totalUses": 104,
"totalCost": 1200,
"costPerUse": 11.54,
"rating": "fair value",
"breakdown": {
"upfront": 1200,
"upkeep": 0,
"usesPerPeriod": 2,
"periods": 52
}
}Input schema
{
"type": "object",
"required": [
"price",
"usesPerPeriod"
],
"properties": {
"price": {
"type": "number",
"description": "Upfront price in dollars",
"examples": [
1200
]
},
"usesPerPeriod": {
"type": "number",
"description": "Uses per period",
"examples": [
2
]
},
"periods": {
"type": "number",
"description": "Number of periods (default 1)",
"examples": [
52
]
},
"upkeepPerPeriod": {
"type": "number",
"description": "Upkeep cost per period in dollars"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}