{"slug":"pricing-math-x402tookit-com-markup-margin-bdab77","title":"Convert markup to margin and back, and get the selling price, from a cost plus o","host":"pricing-math.x402tookit.com","method":"GET","resource":"https://pricing-math.x402tookit.com/markup-margin","category":"market","description":"Convert markup to margin and back, and get the selling price, from a cost plus one of markup, margin or price.","price_listed":0.02,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 429 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"cost":60,"markupPct":50},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"cost":{"description":"Unit cost","type":"number"},"marginPct":{"description":"Gross margin on price, percent (below 100)","type":"number"},"markupPct":{"description":"Markup on cost, percent. Give exactly one of markupPct, marginPct, price","type":"number"},"price":{"description":"Selling price","type":"number"}},"required":["cost"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asOf":{"type":["null","string"]},"cost":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"marginPct":{"type":["null","number"]},"markupPct":{"type":["null","number"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"price":{"type":["null","number"]},"profitPerUnit":{"type":["null","number"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"source":{"type":["null","string"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":429,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":731,"error":null}],"description_full":"Convert markup to margin and back, and get the selling price, from a cost plus one of markup, margin or price.","last_updated":"2026-10-20T20:34:43.866Z","schemes":["exact"]}