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.

EndpointPOST https://www.getclearmargins.com/api/platform/health-score

Use a Pro account API key in the Authorization header.

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

healthScore

0-100 operating score across contribution margin, runway, inventory, and pipeline.

grade

A-D plain-English quality band for the current operating model.

metrics

Formatted contribution margin, blended ROAS, runway, reorder point, pipeline velocity, and net contribution.

triggers

Actionable financial alerts with severity, message, and recommendation.

Embeds

Put calculator moments inside partner software.

Embed previews are designed for CRMs, inventory tools, agency dashboards, finance portals, and SaaS admin panels that need decision math without sending users to another spreadsheet.

CRMPipeline Velocity Predictor/embed/pipeline-velocity
InventoryReorder Point Predictor/embed/reorder-point
MarketingBreak-Even ROAS Calculator/embed/break-even-roas

Enterprise access

Need API volume, embedded calculators, or a custom model marketplace?

Tell us where you want to embed Clear Margins and we will prioritize the right access path.