โ
Free ยท No API Key Required
Trust Tool API
Integrate any of our 5,000+ calculators into your website, app, or workflow. No authentication required for public endpoints.
Base URL
https://calculatorgo.vercel.app/api
POST /api/calculate
Calculate any tool result server-side.
Request
POST https://calculatorgo.vercel.app/api/calculate
Content-Type: application/json
{
"toolId": "bmi",
"inputs": {
"weight": 70,
"height": 175,
"age": 30,
"gender": "male"
}
}
Response
{
"toolId": "bmi",
"result": 22.86,
"breakdown": {
"category": "Normal Weight",
"idealWeightMin": "59.0 kg",
"idealWeightMax": "79.4 kg"
},
"computedAt": 1717200000000
}
GET /api/calculate (shareable URLs)
https://calculatorgo.vercel.app/api/calculate?toolId=bmi&weight=70&height=175&gender=male
Embed Widget
Embed any calculator as an iframe on your website.
<!-- Basic embed -->
<iframe
src="https://calculatorgo.vercel.app/api/embed/bmi-calculator"
width="100%"
height="520"
frameborder="0"
title="BMI Calculator"
></iframe>
<!-- Dark theme -->
<iframe
src="https://calculatorgo.vercel.app/api/embed/bmi-calculator?theme=dark"
width="400"
height="520"
frameborder="0"
></iframe>
<!-- Compact mode -->
<iframe
src="https://calculatorgo.vercel.app/api/embed/mortgage-calculator?compact=1"
width="100%"
height="380"
frameborder="0"
></iframe>
Query Parameters
| Parameter | Values | Default | Description |
|---|---|---|---|
theme | light | dark | light | Color scheme |
locale | en, vi, es, fr... | en | Language |
compact | 0 | 1 | 0 | Reduced padding/spacing |
Available Tools
| Tool ID | Embed URL | API URL |
|---|---|---|
| investment | /api/embed/investment-calculator | /api/calculate?toolId=investment |
| bmi | /api/embed/bmi-calculator | /api/calculate?toolId=bmi |
| dog-size | /api/embed/dog-size-calculator | /api/calculate?toolId=dog-size |
| ... and 5,000+ more tools | ||
Rate Limits & Usage
Embed views
Unlimited
No rate limit on embeds
API requests
1,000/day
Per IP address
Commercial use
Contact us
Enterprise plans available
Attribution
When embedding our widgets, please keep the "Powered by Trust Tool" attribution visible. For commercial use or white-label licensing, contact api@calculatorgo.vercel.app