All endpoints
Marketplace Profit Calculator
POST
/api/v1/tools/marketplace-profit-calculatorSee what is left after commission, shipping, packaging and VAT.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/marketplace-profit-calculatorParameters
sellingPricenumberrequiredPrice the buyer pays, VAT included.
purchaseCostnumberrequiredYour purchase/production cost per unit.
commissionPercentnumberoptionalMarketplace commission, as a percent of the gross price (0-100). Default 0.
shippingnumberoptionalShipping cost. Default 0.
packagingnumberoptionalPackaging cost. Default 0.
otherExpensesnumberoptionalAny other per-unit expense. Default 0.
vatPercentnumberoptionalVAT rate included in the selling price (0-100). Default 0.
Request body
{
"sellingPrice": 500,
"purchaseCost": 200,
"commissionPercent": 20,
"shipping": 40,
"packaging": 10,
"vatPercent": 20
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/tools/marketplace-profit-calculator \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"sellingPrice":500,"purchaseCost":200,"commissionPercent":20,"shipping":40,"packaging":10,"vatPercent":20}'Response
{ "revenueExcludingVat": 416.67, "vatCollected": 83.33, "commission": 100, "totalCost": 350, "netProfit": 66.67, "margin": 16, "returnOnCost": 33.33, "isLoss": false }
