Public API
RevenueLab API
1,685 calculators and a set of creator-economy and SaaS benchmark datasets, all callable over plain HTTP. No API key, no signup, CORS enabled. Everything below returns JSON.
Quick start
Run a calculator with a GET request:
curl -s "https://www.revenuelab.fyi/api/public/calc?tool=mortgage-payment&loan_amount=400000&rate=6.5&years=30"Or POST a JSON body:
curl -s https://www.revenuelab.fyi/api/public/calc \
-H 'content-type: application/json' \
-d '{"tool":"mortgage-payment","inputs":{"loan_amount":400000,"rate":6.5,"years":30}}'Endpoints
- /api/public/calc?tool={slug}&{input}={value}
Run any calculator and get numeric outputs plus a citation string. POST JSON works too.
- /api/public/calc?q=mortgage
Search calculators by keyword and get matching slugs.
- /api/public/tool/{slug}.json
One tool's full twin: inputs with units, outputs, formula, worked example, FAQ.
- /api/public/toolbox-index.json
Every tool in one file — title, category, formula, inputs, outputs.
- /api/public/openapi.json
OpenAPI 3.1 spec. Import directly as a GPT Action or agent toolset.
- /api/public/mcp
MCP server over JSON-RPC for Claude, Cursor, and other agent clients.
- /api/public/changelog.json
Revision timestamps so agents can check data freshness.
Datasets
Static JSON files you can cache and diff. Each one backs a set of calculators on the site.
- /api/public/country-rpm.json
YouTube RPM and CPM for 80+ countries with tier classification.
- /api/public/rpm-by-niche.json
Long-form RPM ranges across 15 niches (low / median / high, USD).
- /api/public/sponsorship-rates.json
Creator sponsorship rate card by platform and follower tier.
- /api/public/youtube-shorts-rpm-by-country.json
Shorts RPM estimates by country tier.
- /api/public/tiktok-creator-rewards.json
Modeled TikTok Creator Rewards payouts per 1,000 views.
- /api/public/saas-ltv-cac-benchmarks.json
SaaS LTV:CAC and payback benchmarks by segment.
- /api/public/ai-model-pricing.json
Per-token pricing for common AI models.
- /api/public/comparisons.json
Head-to-head comparisons with crossover points and worked math.
Using an AI assistant?
Skip the REST calls — connect the MCP server and your agent gets search, describe, and run tools directly.
FAQ
Is the API really free?
Yes. No key, no account, no billing. Be reasonable with request volume and cache responses where you can — the data changes slowly.
Can I call it from the browser?
Yes. Every public endpoint sends permissive CORS headers, so client-side fetches work without a proxy.
What are the terms of use?
Use it commercially, embed it, build on it. Attribute RevenueLab when you publish results — every calc response ships with a citation string you can render as-is.
How do I find a tool's slug?
Search with /api/public/calc?q=keyword, or pull the whole catalog from /api/public/toolbox-index.json. The slug is also the last segment of any tool's page URL.
Publishing results? Here is the citation format.