Back to all APIs
Takaful Calculator
Estimate Islamic insurance contributions for health, motor, property, life, travel, and business
Category: Islamic FinanceEndpoint:
/v1/takaful/calculateAvg Response
<50ms
Uptime SLA
99.99%
Free Tier
1,000/mo
Quick Start
JavaScript / TypeScript
javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk'; const client = new KhaleejiAPI({ apiKey: 'your_api_key' }); // Health takaful estimateconst result = await client.request('/v1/takaful/calculate', { type: 'health', coverage: 500000, currency: 'AED', country: 'AE', age: 35, dependents: 2,});console.log(result.estimate.annualContribution); // estimated annual costconsole.log(result.estimate.monthlyContribution); // estimated monthly costconsole.log(result.model.name); // "Wakalah-Mudarabah Hybrid"Python
python
from khaleejiapi import KhaleejiAPI client = KhaleejiAPI('your_api_key') # Motor takaful estimateresult = client.request('/v1/takaful/calculate', { 'type': 'motor', 'coverage': 80000, 'currency': 'AED', 'vehicle_age': 2,})print(result['estimate']['annualContribution'])print(result['model']['name'])cURL
curl
curl -X GET "https://khaleejiapi.dev/api/v1/takaful/calculate?type=health&coverage=500000¤cy=AED&age=35&dependents=2" \ -H "x-api-key: your_api_key"