Getting started
The FinCalc API runs your institution's financial calculators from your own software. Each calculator
is one endpoint, POST /v2/calculators/{slug}; you send it the inputs as JSON, and it answers with the
result and whatever your institution adds to it.
1. Get a test key
Your institution's Administrators make keys in the FinCalc console, under API keys: an integration
for your software, then a key on it. Start with a test key (fincalc_test_...). It runs every
published calculator and is never billed, so you can build against it before your institution's API
license is in place. A key is shown once, when it is made, so store it as a secret straight away.
2. Find a calculator
Code
Then ask one what it takes:
Code
3. Run it
Code
Code
result is the calculation, exactly as the API reference documents for that calculator.
Inputs you leave out are filled as your institution's own page would open (its rates where it has
turned that on, its starting values, the calculator's defaults), and meta.filled names each one.
institution is what your institution adds; Answers explains each part.
4. Go live
When your institution licenses the API, its Administrators make a live key
(fincalc_live_...). Live keys run the calculators your institution licenses for the API, and each
completed calculation counts against its quota (Limits and quotas).