---
title: "Commission Calculator"
method: POST
path: "/api/v1/tools/commission-calculator"
tags: ["tools"]
---

# Commission Calculator

`POST /api/v1/tools/commission-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/commission-calculator`
- Auth: HTTP bearer

Commission on a sale and what is left after it. Flat mode pays one rate on the whole amount; tiered mode works like tax brackets, each rate paid only on the slice of the sale inside its band, which is why the effective rate lands between the lowest and highest tier.

## Request body

- object
  - `saleAmount` integer
  - `mode` string
  - `ratePercent` integer
  - `tiers` object[]
    - `upTo` integer
    - `ratePercent` integer

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `mode` string
    - `saleAmount` integer
    - `commission` integer
    - `net` integer
    - `effectiveRatePercent` number
    - `breakdown` object[]
      - `label` string
      - `amount` integer
      - `ratePercent` integer
      - `commission` integer

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
