Skip to content
Utilerio
All endpoints

Marketplace Profit Calculator

POST/api/v1/tools/marketplace-profit-calculator

See 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-calculator

Parameters

sellingPricenumberrequired

Price the buyer pays, VAT included.

purchaseCostnumberrequired

Your purchase/production cost per unit.

commissionPercentnumberoptional

Marketplace commission, as a percent of the gross price (0-100). Default 0.

shippingnumberoptional

Shipping cost. Default 0.

packagingnumberoptional

Packaging cost. Default 0.

otherExpensesnumberoptional

Any other per-unit expense. Default 0.

vatPercentnumberoptional

VAT 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 }