DigiCalcs Integration API
Add DigiCalcs's everyday calculators to your app or website. 4,600+ health, finance, and lifestyle tools accessible via REST API.
Try it live
Choose a calculator, add your API key and inputs, and see a live response.
Authentication
Every API request needs an API key in the X-API-Key header. Manage your keys in the API dashboard →
curl -X POST https://www.digicalcs.com/api/v1/calculate \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"calculator": "percentage", "inputs": {"value": 200, "percentage": 15}}'Calculate Endpoint
/api/v1/calculateRequest body
{
"calculator": "compound-interest",
"inputs": {
"principal": 1000,
"rate": 5,
"years": 10,
"compounding": "annually"
}
}Response
{
"success": true,
"calculator": "compound-interest",
"result": {
"results": {
"futureValue": { "value": 1628.89, "label": "Future Value", "unit": "$" },
"totalInterest": { "value": 628.89, "label": "Total Interest", "unit": "$" }
},
"explanation": "With $1,000 at 5% compounded annually for 10 years, the investment grows to $1,628.89."
},
"cached": false,
"timestamp": "2026-05-14T10:30:00.000Z"
}API Reference
/api/v1/calculatorsList all available calculators. No API key required. Supports ?category=math and ?q=bmi query filters. Returns { total, calculators: [{ slug, title, description, category, subcategory, hasFormula }] }.
/api/v1/calculators/:slugGet full schema/info for a specific calculator, including formula and usage instructions. No API key required. Returns 404 if the slug is unknown.
/api/v1/calculateRuns a calculation. Requires X-API-Key. Body: { calculator: string, inputs: object }. Responses are cached for 10 minutes per unique input combination.
Code Samples
Rate Limits
| Plan | Requests / Day | API Keys |
|---|---|---|
| Hobby (Free) | 100 | 1 |
| Developer | 10,000 | 3 |
| Business | 100,000 | 10 |
| Enterprise | Unlimited | 50 |
See the full API pricing page for plan details.
Error Codes
| Code | Description |
|---|---|
| 401 | Missing or bad API key |
| 403 | API key revoked |
| 404 | Calculator not found |
| 429 | Too many requests |
Get started in minutes
Create an API key in the dashboard and add everyday calculators to your app.
Get Your API Key →