{"uid":"cap_KMHsKz4WxdPZd-kyDaeWX","slug":"rule-of-40-calculator-saas-metrics-scorer-c851ffd9","name":"Rule of 40 Calculator — SaaS Metrics Scorer","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/rule-of-40-calculator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["arr","growth_rate_pct","gross_margin_pct","net_revenue_retention_pct"],"properties":{"arr":{"type":"number","description":"Annual recurring revenue."},"magic_number":{"type":"number","description":"Sales efficiency magic number. Optional."},"burn_multiple":{"type":"number","description":"Net burn divided by net new ARR. Optional."},"logo_churn_pct":{"type":"number","description":"Annual logo churn percent. Optional."},"growth_rate_pct":{"type":"number","description":"Annual ARR growth rate percent."},"gross_margin_pct":{"type":"number","description":"Gross margin percent."},"ebitda_margin_pct":{"type":"number","description":"EBITDA margin percent for rule-of-40. Defaults to 0 when omitted."},"net_revenue_retention_pct":{"type":"number","description":"Net revenue retention percent."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"source":{"type":"string"},"drivers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"note":{"type":"string"},"score":{"type":"integer"},"weight":{"type":"number"}}}},"metrics":{"type":"object","properties":{"arr":{"type":"integer"},"magic_number":{"type":"number"},"burn_multiple":{"type":"number"},"rule_of_40_pct":{"type":"integer"},"net_revenue_retention_pct":{"type":"integer"}}},"warnings":{"type":"array"},"calculator":{"type":"string"},"recommendation":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"grade":"strong","score":74.2,"source":"deterministic in-process finance calculator; no upstream API","drivers":[{"name":"rule_of_40","note":"40 rule-of-40 score","score":85,"weight":0.25}],"metrics":{"arr":4800000,"magic_number":0.9,"burn_multiple":1.2,"rule_of_40_pct":40,"net_revenue_retention_pct":118},"warnings":[],"calculator":"saas-metrics-score","recommendation":"Proceed with standard diligence and covenant checks."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ju_57nYgKXuInQ3kWLUlz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a SaaS Rule of 40 score and composite health grade from ARR, growth rate, gross margin, NRR, and optional efficiency metrics","exampleAgentPrompt":"Score my SaaS company's metrics: we have $4.8M ARR, growing at 35% annually, 72% gross margins, 118% net revenue retention, a burn multiple of 1.2, and a magic number of 0.9 — what's our Rule of 40 score and grade?","exampleUseCases":[{"title":"Pre-fundraise investor readiness check","prompt":"We're about to raise a Series A. Our ARR is $6M, growth rate is 45%, gross margin is 75%, NRR is 112%, and EBITDA margin is -15%. Can you run our Rule of 40 score and tell me if we're in strong shape for diligence?"},{"title":"Portfolio company health monitoring","prompt":"For my portfolio company, calculate their SaaS health score: $12M ARR, 28% growth, 68% gross margin, 105% NRR, burn multiple of 1.8, and magic number of 0.7 — give me the grade and any warnings."},{"title":"Board deck metrics validation","prompt":"Before our board meeting, I want to know our Rule of 40 score — we're at $2.1M ARR, 60% growth rate, 80% gross margin, 125% net revenue retention, and a -5% EBITDA margin. What's our composite score and recommendation?"}],"resultDescription":"Returns a numeric Rule of 40 composite score (e.g. 74.2), a letter-style grade (e.g. 'strong'), a breakdown of weighted driver scores (rule_of_40, NRR, etc.) with individual notes, a metrics summary, any warnings, and a plain-English recommendation (e.g. 'Proceed with standard diligence and covenant checks.')","failureModes":["Missing required fields (arr, growth_rate_pct, gross_margin_pct, net_revenue_retention_pct) returns a validation error","Non-numeric values for numeric fields cause parsing failure","Extreme or implausible values (e.g. 10000% growth) may produce warnings but still compute","Payment failure via x402 returns a 402 response before computation begins"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, no-signup SaaS financial health score based on the Rule of 40 framework — ideal for VC diligence workflows, portfolio monitoring, or founder self-assessment. Prefer it over manual spreadsheet calculations or heavyweight financial modeling tools when you need a structured grade plus driver breakdown in a single API call. Because it uses a deterministic in-process calculator (no upstream API dependency), it is highly reliable and consistent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T12:36:47.548Z","isFirstParty":false,"canonicalSlug":"rule-of-40-calculator-saas-metrics-scorer-c851ffd9"}