Benchmarks
Use this when the user asks how the company compares with SaaS peers: growth, retention, churn, gross margin, Rule of 40, CAC payback and burn multiple…
Authentication
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*string1 <= lengthapplication/json- body
metricNames?array<>Metrics to compare. Omit for every metric with a peer band.
1 <= itemsmonth?stringCompare the latest value up to this month (YYYY-MM). Defaults to the last complete month.
^\d{4}-\d{2}$mrrType?stringMRR variant. cmrr = committed MRR (CMRR), mrr = recognised MRR.
"cmrr""cmrr""mrr"arrStage?stringCompare against this ARR stage instead of the company's own.
"lt1m""from1to3m""from3to10m""from10to20m""gte20m"acvSegment?stringCompare against this ACV segment instead of the company's own.
"mice""rabbits""deer""elephants"timeZone?stringIANA time zone. Defaults to BatchContext.timeZone, then UTC.
benchmarks result
application/json- response
asOfMonth*stringautoCell*|The company's own peer group from its committed ARR and paying customers. Null until both are known.
peerCell*The peer group compared against: overrides first, then the auto cell.
metrics*array<>curl -X POST 'https://api.saasflow.com/companies/string/data/benchmarks' \ -H 'Content-Type: application/json' \ -d '{}'{ "asOfMonth": "string", "autoCell": { "arrStage": "lt1m", "acvSegment": "mice" }, "peerCell": { "arrStage": "lt1m", "acvSegment": "mice" }, "metrics": [ { "metric": "mrrGrowthRateAnnual", "value": 0, "valueMonth": "string", "bands": { "lower": 0, "median": 0, "upper": 0, "direction": "higherIsBetter", "peerLabel": "string" }, "zone": "green", "covered": true, "note": "string" } ]}RetentionCohortDetail
Use this when the user asks for the customer-level detail behind a specific retention cohort cell. It returns one row per customer in that month, which is…
Valuation
Use this when the user asks what the company could be worth: an ARR multiple range from growth, net revenue retention, gross margin and burn multiple…