{"slug":"api-vextorium-com-v1-margin-calculator-cb1614","title":"Pricing calculator","host":"api.vextorium.com","method":"POST","resource":"https://api.vextorium.com/v1/margin-calculator","category":"market","description":"Pricing calculator: from any two of cost, price, margin or markup it computes the rest, profit per unit and total, and the price with VAT. Avoids the classic margin vs markup confusion.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":318,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:10","eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"cost":10,"markup_pct":50,"units":100,"vat_pct":21},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"cost":{"type":"number"},"margin_pct":{"type":"number"},"markup_pct":{"type":"number"},"price":{"type":"number"},"units":{"type":"number"},"vat_pct":{"type":"number"}},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"cost":{"type":["number","null"]},"margin_pct":{"type":["number","null"]},"markup_pct":{"type":["number","null"]},"note":{"type":["string","null"]},"price_with_vat":{"type":["number","null"]},"price_without_vat":{"type":["number","null"]},"total_profit":{"type":["number","null"]},"total_revenue_without_vat":{"type":["number","null"]},"unit_profit":{"type":["number","null"]},"units":{"type":["number","null"]},"vat_pct":{"type":["number","null"]}},"type":["object","null"]},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":318,"error":null}],"description_full":"Pricing calculator: from any two of cost, price, margin or markup it computes the rest, profit per unit and total, and the price with VAT. Avoids the classic margin vs markup confusion.","last_updated":"2026-10-03T20:54:22.25Z","schemes":["exact"]}