Free calculator API
Simple JSON endpoints, no account or key, CORS open. Please be reasonable with request volume and link back to YieldRival Tools if you use it.
Loan payment
GET /api/loan?principal=250000&rate=6.5&years=30Try: /api/loan?principal=250000&rate=6.5&years=30
Returns monthly_payment, total_paid, total_interest. UI: mortgage calculator.
Compound interest
GET /api/compound?principal=10000&rate=7&years=20&monthly=200Try: /api/compound?principal=10000&rate=7&years=20&monthly=200
Returns future_value, total_contributed, interest_earned (monthly compounding). UI: compound interest calculator.
ROI
GET /api/roi?cost=1000&gain=1500&years=3Try: /api/roi?cost=1000&gain=1500&years=3 · UI: ROI calculator.
Hourly to salary
GET /api/salary?hourly=25&hours=40Try: /api/salary?hourly=25&hours=40 · UI: hourly to salary.
Percent change
GET /api/percent-change?from=80&to=100Try: /api/percent-change?from=80&to=100 · UI: percent change calculator.
Machine-readable spec: OpenAPI 3 (openapi.json).
Results are estimates for education, not financial advice. Open datasets: /data. Like it? Tip jar.