curatedapi
99 exact calculators and official e-invoice validators, available over REST and MCP. Free plan with 1,000 calls a month and no card needed.
託管 MCP 伺服器
npx add-mcp 'https://mcp.curatedapi.com'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
Calculator API for loans, invoices and billing
Send your numbers and get the right answer back, to the cent. Use ready-made calculations for loan payments, interest, leases, depreciation, Excel formulas and e-invoice checks, instead of building and testing them yourself.
Get a free API key Read the API docs
103 APIs with one key: 99 for calculations and 4 for e-invoice checks. Free plan: 1,000 calls a month, no card needed.
curl https://api.curatedapi.com/v1/calc/finance/loan/emi \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"principal": "250000",
"annual_rate_percent": "7.5",
"term_months": 240
}'
{
"calculator": "finance/loan/emi@1",
"result": {
"emi": "2013.98",
"total_paid": "483356.89",
"total_interest": "233356.89",
"last_payment": "2015.67",
"number_of_payments": 240
},
"precision": {
"rounding": "half_even",
"decimals": 2
}
}
Each answer also shows the formula, the sources, the inputs it used and which values were rounded.
Your numbers in, the right answer out
One request from your app, website or AI agent. Here is a real loan example.
- Step 1
You send your numbers
From your app, your website or an AI agent. Loan 250,000 Interest 7.5% a year Term 240 months - Step 2
curatedapi works it out
Exact maths with no rounding errors along the way, using the API version you chose. Tested against 228 worked examples - Step 3
You get the answer, and how it was found
2,013.98 monthly payment- Formula
- Sources
- What was rounded
103APIs on one key
228worked examples we test against
7ways to round, to any number of decimals
23countries' cash rounding rules
Small maths mistakes cost real money
Most programming languages store 0.1 + 0.2 as 0.30000000000000004. Over a loan schedule or a month of invoices, those tiny errors add up to cents that don't match the bank or the tax office. curatedapi does the maths without them, so the answer matches the official example exactly.
No rounding surprises
Send numbers as text and no digits are lost. The answer is rounded once, at the end, the way you choose on each call.
Tested against official examples
Worked examples from regulators, standards and Excel, each with its source, are checked before every release, and on the live API every five minutes. See the accuracy report.
Answers that don't change
Each API has a version number. When we improve one, it gets a new version and the old one keeps giving the same answers, so last year's invoice still adds up.
Shows how it got the answer
Every answer comes with the formula, the sources and which values were rounded. Add ?receipt=true to get a signed receipt that anyone can check later.
Where people use it
Anywhere a wrong number costs money or trust: invoices, loan offers, checkout totals and AI assistants.
Lending and fintech
Monthly loan payments with a full repayment schedule, APR worked out the way US Regulation Z and the EU consumer credit rules require, interest, NPV and IRR.
Invoicing and e-invoices
Check an e-invoice against the official EN 16931, Peppol, XRechnung and Factur-X rules before you send it, and work out late payment interest for the UK, EU, Germany, India and the US.
Accounting
IFRS 16 and ASC 842 lease schedules, MACRS and Indian depreciation, and Excel's XIRR, XNPV and YEARFRAC with the same answers Excel gives.
- IFRS 16 lease calculator: liability and right-of-use asset
- ASC 842 lease calculator: finance and operating leases
SaaS billing
Tiered and volume pricing, fair charges to the second when a customer changes plan, and stacked discounts, matching Stripe's published examples.
Payments and commerce
Round each currency correctly, follow the cash rounding rules of 23 countries, and split a total into whole-cent parts that add back up exactly.
AI agents
AI models often get APR, IRR and schedules wrong. Connect your agent to our MCP server and it calls our APIs instead, with the sources to show.
- US APR calculator (Truth in Lending, Regulation Z)
- Excel XIRR function: IRR of cash flows on any dates
103 APIs in 14 groups
Open a group to see its APIs. Each one is free to try on this site, with no sign-up, and works the same through the API and the MCP server.
Finance22
- Black-76 calculator for options on futures
- Black-Scholes option price and Greeks calculator
- Bond duration and convexity calculator
- Compound interest calculator
- EU and UK APRC calculator
- Extra mortgage payment calculator
- FHA mortgage insurance (MIP) calculator
- Implied volatility calculator
- Internal rate of return (IRR) calculator
- Loan EMI calculator
- Mortgage affordability calculator
- Mortgage calculator
- Net present value (NPV) calculator
- Refinance break-even calculator
- Rent or buy calculator
- Return on investment (ROI) calculator
- Savings goal calculator
- Simple interest calculator
- US APR calculator (Truth in Lending, Regulation Z)
- USDA loan guarantee fee calculator
- VA funding fee calculator
- Yield to call calculator
Excel functions29
- Excel CUMIPMT function: interest paid between two periods
- Excel CUMPRINC function: principal paid between two periods
- Excel DAYS360 function: days on a 360-day year
- Excel DB function: fixed-declining balance depreciation
- Excel DDB function: double-declining balance depreciation
- Excel DURATION function: Macaulay duration of a bond
- Excel EDATE function: same day, months later
- Excel EFFECT function: effective annual rate
- Excel EOMONTH function: end of month
- Excel FV function: future value
- Excel IPMT function: interest part of a payment
- Excel MDURATION function: modified duration of a bond
- Excel MIRR function: modified internal rate of return
- Excel NETWORKDAYS function: working days between dates
- Excel NOMINAL function: nominal annual rate
- Excel NPER function: number of periods
- Excel PMT function: loan payment
- Excel PPMT function: principal part of a payment
- Excel PRICE function: bond price per 100 face value
- Excel PV function: present value
- Excel RATE function: interest rate per period
- Excel SLN function: straight-line depreciation
- Excel SYD function: sum-of-years-digits depreciation
- Excel VDB function: variable declining balance depreciation
- Excel WORKDAY function: date after working days
- Excel XIRR function: IRR of cash flows on any dates
- Excel XNPV function: net present value of dated cash flows
- Excel YEARFRAC function: fraction of a year between dates
- Excel YIELD function: bond yield from price
E-invoices4
- EN 16931 validator (UBL and CII)
- Factur-X / ZUGFeRD validator
- Peppol BIS 3.0 invoice validator
- XRechnung validator (KoSIT rules)
Late payments5
- EU late payment interest calculator (Directive 2011/7)
- MSME delayed payment interest calculator (India)
- Prompt Payment Act interest calculator
- UK late payment interest calculator (8% over base)
- Verzugszinsen calculator (§ 288 BGB, Germany)
Accounting5
- ASC 842 lease calculator: finance and operating leases
- IFRS 16 lease calculator: liability and right-of-use asset
- Indian income-tax depreciation
- MACRS depreciation calculator (IRS tables, GDS)
- Schedule II depreciation (India)
Number checks10
- Australian Business Number (ABN) check
- BIC (SWIFT code) check
- CUSIP check
- GSTIN check (India)
- IBAN check
- ISIN check
- LEI check
- PAN check (India)
- US bank routing number check
- VAT number check
VAT and GST2
Billing and pricing3
See the Billing and pricing page
Money and currencies2
See the Money and currencies page
Dates and time7
- Add or subtract time from a date
- Age calculator
- Date difference calculator
- Public holidays by country and year
- Time zone converter
- Working days calculator with public holidays
- Working hours and SLA deadline calculator
Math6
- Expression calculator
- Fraction calculator
- Percentage calculator
- Rounding calculator
- Scientific calculator
- Statistics calculator
Unit conversion5
- Data size converter
- Length converter
- Mass and weight converter
- Temperature converter
- Volume converter
Everyday2
Health1
Let your AI agent do maths it can trust
AI models guess at maths. Add https://mcp.curatedapi.com to any app that supports MCP, and your agent can use every API as a tool. It gets the exact answer plus the formula and sources. Calls are billed the same as the API.
{
"mcpServers": {
"curatedapi": {
"url": "https://mcp.curatedapi.com",
"headers": {
"Authorization": "Bearer capi_live_…"
}
}
}
}
Pay only for answers you get
Failed calls, test keys and retries with an idempotency key are free. Set a spend limit and a month never costs more than you decide. Most calculations count as one call; an e-invoice check counts as 5.
Free
$0€0 a month
- 1,000 calls a month included
- Stops at the limit, so it never costs anything
- Up to 5 calls a second
- 1,000 free test calls a month Get a free API key
Starter
$9€9 a month
- 50,000 calls a month included
- Then $0.20€0.20 per 1,000 calls, or set a spend cap
- Up to 20 calls a second
- 10,000 free test calls a month Choose Starter
Pro
$29€29 a month
- 500,000 calls a month included
- Then $0.20€0.20 per 1,000 calls, or set a spend cap
- Up to 50 calls a second
- 50,000 free test calls a month Choose Pro
Business
$99€99 a month
- 2,000,000 calls a month included
- Then $0.20€0.20 per 1,000 calls, or set a spend cap
- Up to 100 calls a second
- 100,000 free test calls a month Choose Business
You choose US dollars or euros when you pick a paid plan, and you are charged exactly that amount. VAT or sales tax is added where your country charges it. Every response carries your usage so far this month, and you can download every recorded call as CSV. See the billing terms.
Common questions
What does "exact" mean here?
No rounding errors along the way. You send numbers as text, we keep every digit while working, and round once at the end, the way you ask. Roots, logarithms and similar functions are worked out to a guaranteed high precision. Each answer says which values were rounded.
Which APIs are checked against published values?
84 of the 99 calculation APIs have published reference values so far, 215 values in all, from regulators, standards bodies and software makers. They are also tested against independent implementations, such as mpmath and QuantLib, and with property tests on thousands of random inputs. The accuracy report lists every case and its source.
Will my results ever change?
Not for a version you use. Any change in behaviour gets a new version (such as finance/loan/emi@2), and the old version keeps answering exactly as before. Each response names the version that ran.
Do you store my inputs?
No. Calculation inputs and results are never written to disk or to a log. The server may keep a recent answer in memory for a short time, so the same request is answered faster. The usage ledger records which API was called, when, and whether it succeeded, which is what billing needs. See security and the privacy policy.
What happens when I reach my plan's limit?
On the free plan, calls stop at the limit and you are never billed. On a paid plan, calls beyond what it includes are billed per 1,000, unless you set a spend cap, which stops calls at the amount you choose. With a cap, or on the free plan, we email you when 80% of the month's limit is used and when it is reached.
Can I put a calculator on my own website?
Yes. Each calculator is also a widget: two lines of HTML and a public key limited to your sites. How widgets work.
Where does it run?
On a server we run at Leaseweb in Germany, behind Cloudflare, with no inbound ports open to the internet. The status page shows whether the live API is up and answering correctly, measured with the same reference checks.
Can you add an API we need?
Yes. Tell us what you need and the source you trust, such as a regulator's worked example, a spreadsheet or a standard. Most new APIs go live within a week, checked against that source. Write to hello@curatedapi.com.
Who runs curatedapi?
curatedapi is built and run by Sagar, at Craft Vision Ventures. Write to hello@curatedapi.com and Sagar answers, usually within a day.
Try it on your own numbers
Get a free key and try any of the 103 APIs. The free plan includes 1,000 calls a month.