Islamic Finance

Takaful Calculator API

Estimate Sharia-compliant insurance contributions for health, motor, property, life, travel, and business coverage. Supports Wakalah and Wakalah-Mudarabah models across all GCC countries.

Endpoint:/api/v1/takaful/calculate
Method:GET
Tier:All Plans

Try it out

GET/api/v1/takaful/calculate

Parameters

Used for this request only; it is not saved.

Code

curl
curl -X GET "https://khaleejiapi.dev/api/v1/takaful/calculate?type=health&coverage=100000&currency=AED&country=AE&model=wakalah_mudarabah&age=30&dependents=0" \
-H "Authorization: Bearer your_api_key"

Parameters

ParameterTypeRequiredDescription
typestringRequiredInsurance type: health, motor, property, life, travel, business
coveragenumberRequiredSum insured / coverage amount
currencystringOptionalCurrency code (default: AED)
countrystringOptional2-letter GCC country code (default: AE)
modelstringOptionalTakaful model: wakalah or wakalah_mudarabah (default: wakalah_mudarabah)
agenumberOptionalAge of insured (default: 30)
dependentsnumberOptionalNumber of dependents (default: 0)

Type-Specific Parameters

vehicle_age — Vehicle age in years (motor type)

property_type — residential or commercial (property type)

trip_days — Trip duration in days (travel type, default: 7)

destination — gcc, asia, europe, americas, africa (travel type)

employees — Number of employees (business type)

industry — low_risk, medium_risk, high_risk (business type)

Response Fields

estimate

Coverage amount, annual and monthly contribution, wakalah fee, risk pool contribution, estimated surplus, and effective rate (percent)

model

Takaful model details, including bilingual names and descriptions, Wakalah fee percent, and optional Mudarabah share percent

adjustments[]

Applied rate adjustment factors and their numeric multipliers

regulator

Country regulator name in English and Arabic

disclaimer

Indicative estimate disclaimer in English and Arabic; this is not a binding quote

Rate Limits

PlanRequests/MonthRate Limit
Free1,00010 req/min
Starter10,00060 req/min
Professional100,000300 req/min
Business500,0001,000 req/min

Debugging & Support

Include X-Request-ID when contacting support

Every response from KhaleejiAPI includes an X-Request-ID header — a unique identifier that lets our support team pull the exact log entry for your request within seconds. Always share it when reporting an unexpected error or unexpected result.

How to capture it

JavaScript / fetch

const res = await fetch("https://khaleejiapi.dev/api/v1/...", {
  headers: { Authorization: "Bearer YOUR_API_KEY" },
});
const requestId = res.headers.get("x-request-id");
console.log("Request ID:", requestId);
// → e.g. "req_01j9xkz4vp8..."

cURL

curl -si "https://khaleejiapi.dev/api/v1/..." \
  -H "Authorization: Bearer YOUR_API_KEY" | grep -i x-request-id
# → x-request-id: req_01j9xkz4vp8...

Browser DevTools

Open DevTools (F12) → Network tab → click the failing request → scroll to the Response Headers section → copy the value next to x-request-id.

For a full list of error codes and guidance on common issues, see the Troubleshooting guide.