All AI Data API - Margin, markup, discount and fee-adjusted profit solver
https://allai-api.allaihq.workers.dev/v1/tools/margin_markup_discount_calcOverview
Solves margin, markup, cost and selling price from any workable pair (cost+price, cost+margin %, cost+markup %, price+margin %, price+markup %). Optionally applies a discount (profit and margin after discount, break-even discount), marketplace fees, a target margin (required price and the largest discount that still hits it) and a quantity for totals. Plain arithmetic on the nu $0.006 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 08:38:22 | healthy | 402 | 698ms | |
| 2026-12-05 07:34:40 | healthy | 402 | 697ms | |
| 2026-12-05 06:32:04 | healthy | 402 | 1549ms | |
| 2026-12-05 05:32:00 | healthy | 402 | 825ms | |
| 2026-12-05 03:44:20 | healthy | 402 | 972ms | |
| 2026-12-05 02:33:36 | healthy | 402 | 837ms | |
| 2026-12-05 01:32:52 | healthy | 402 | 662ms | |
| 2026-12-04 17:02:15 | healthy | 402 | 4822ms | |
| 2026-12-03 11:57:01 | healthy | 402 | 1533ms |