Clear Margins API
Financial health scores for the products your operators already use.
Send operating data from a CRM, inventory system, finance dashboard, or custom workflow. Clear Margins returns structured margin signals, triggers, and calculator outputs.
POST https://www.getclearmargins.com/api/platform/health-scoreUse a Scale API key in the Authorization header. Enterprise Scale packages can include custom limits and review terms.
Request
Health-score API
curl -X POST https://www.getclearmargins.com/api/platform/health-score \
-H "Authorization: Bearer cm_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"revenue": 24000,
"cogs": 7400,
"fulfillment": 2100,
"adSpend": 7200,
"cashBalance": 180000,
"monthlyExpenses": 54000,
"pipelineValue": 160000,
"winRate": 31,
"salesCycleDays": 36,
"averageDailySales": 42,
"inventoryOnHand": 820,
"leadTimeDays": 14,
"safetyBufferDays": 6
}'Response
Structured operating signals
0-100 operating score across contribution margin, runway, inventory, and pipeline.
A-D plain-English quality band for the current operating model.
Formatted contribution margin, blended ROAS, runway, reorder point, pipeline velocity, and net contribution.
Actionable financial alerts with severity, message, and recommendation.
Granular endpoints
Single-calculator APIs
Use lightweight endpoints when you only need one calculator's logic — no need to send the full health-score payload.
/api/platform/marginRecommended price, profit per sale, markupcogs Optional: fulfillment, marketing, targetMargin/api/platform/runwayRunway months, burn rate, cash-flow statuscashBalance, monthlyExpenses Optional: monthlyRevenueSend a GET to any endpoint for sample input and output without authentication.
Scale access
Need live data, API volume, Enterprise controls, or embedded calculators?
Tell us where you want to embed Clear Margins and we will prioritize the right access path.