πΊπΈ United States2026
API
Official 2026 Data β’ Real-time Calculations
β Home
API Documentation
ReCalcul exposes all calculators as REST APIs. Send JSON inputs via POST and receive structured results with breakdowns, assumptions, and source references. Ideal for LLMs, agents, and programmatic use.
Quick start
Example with curl
curl -X POST https://recalcul.com/api/calc/salary \
-H "Content-Type: application/json" \
-d '{"grossSalary": 60000, "filingStatus": "single", "period": "monthly"}'Example with fetch
const res = await fetch('https://recalcul.com/api/calc/bmi', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ weight: 70, height: 175, unit: 'metric' })
});
const data = await res.json();
console.log(data.result);Available endpoints
POST to /api/calc/{slug} with JSON body. GET /api/calc/{slug}/schema for input/output schema.
age-calculatorβAge CalculatorschemabmiβBMI & BMR Calculatorschemabreak-evenβBreak-even CalculatorschemacaloriesβCalorie & TDEE Calculatorschemacompound-interestβCompound Interest CalculatorschemaconverterβSmart Converterschemadate-calculatorβDate CalculatorschemadividendβDividend Tax Calculatorschemaemployer-costβEmployer Cost Calculatorschemafreelance-taxβFreelance Tax Simulatorschemahourly-to-salaryβHourly to Salary CalculatorschemahydrationβHydration CalculatorschemainflationβInflation TrackerschemaloanβLoan CalculatorschemamileageβMileage IndemnityschemamortgageβMortgage CalculatorschemapercentageβPercentage CalculatorschemapregnancyβPregnancy Due DateschemaretirementβRetirement SimulatorschemasalaryβSalary Calculatorschemasalary-comparisonβSalary ComparisonschematipβTip CalculatorschematjmβDaily Rate CalculatorschemavatβVAT Calculatorschema
Resources
- OpenAPI specification
Full OpenAPI 3.1 spec for all calculators.
- LLM instructions
Machine-readable documentation for AI agents.
- Methodology
Formulas and data sources.