Islamic FinancePopular

Zakat Calculator API

Calculate zakat obligations on cash, gold, silver, stocks, business assets, and more. Uses live gold and silver prices for accurate nisab thresholds. Supports GET (simple) and POST (multi-asset) modes.

Endpoint:/v1/zakat/calculate
Method:GETPOST
Tier:All Plans

Try it out

GET/v1/zakat/calculate

Parameters

Code

curl
curl -X GET "https://khaleejiapi.dev/api/v1/zakat/calculate?amount=50000&currency=AED" \
-H "X-API-Key: your_api_key"

GET Parameters (Simple Mode)

ParameterTypeRequiredDescription
amountnumberRequired*Total wealth amount (alternative to assets JSON)
currencystringOptionalCurrency code (default: AED)
assetsJSONRequired*URL-encoded JSON array of asset objects (alternative to amount)

* Provide either amount or assets

POST Body (Multi-Asset Mode)

FieldTypeRequiredDescription
assets[].typestringRequiredcash, gold, silver, stocks, business, agriculture, mutual_funds, crypto, real_estate
assets[].valuenumberRequiredMonetary value of the asset
assets[].weightnumberOptionalWeight in grams (for gold/silver)
currencystringOptionalCurrency code (default: AED)

Response Fields

calculation

Core result: totalWealth, nisabThreshold, eligible flag, zakatRate (2.5%), zakatDue, and currency

breakdown[]

Per-asset breakdown: type, value, zakatDue, rate, and explanatory note

metalPrices

Live gold and silver prices per gram used for nisab calculation with source and timestamp

reference

Calculation methodology: nisab basis, gold/silver gram thresholds (85g / 595g)

Rate Limits

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