Api Endpoint

Zakat Calculation

Compute zakat due on wealth: cash, gold, silver, business inventory, receivables, crypto and stocks, less deductible liabilities. Returns the nisab threshold under BOTH the gold (85g) and silver (595g) standards and flags when they disagree, since the choice changes who owes. Supports lunar (2.5%) and solar (2.577%) years. Deterministic — you supply metal prices, so you control the source. Educational calculation, not a fatwa.

Open interactive test console

Offering

Provider
api.qist.info
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.qist.info/api/zakat
MIME type
application/json
First seen
2026-10-16T02:59:31.787Z
Last seen
Tags
islamic, zakat, islamic-finance, charity, nisab, halal, calculation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0x21353452E547B306a6007d834C433a118638D3b3"
  }
]

Observed health

Status
Healthy
Latest latency
62 ms
Average latency
106 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "goldPricePerGram": {
          "type": "string",
          "description": "Current gold price per gram in your currency — needed for the gold nisab"
        },
        "silverPricePerGram": {
          "type": "string",
          "description": "Current silver price per gram — needed for the silver nisab (the lower, more common threshold)"
        },
        "currency": {
          "type": "string",
          "description": "Currency label for the output, e.g. AED, SAR, USD"
        },
        "cash": {
          "type": "string",
          "description": "Cash in hand and in bank accounts"
        },
        "goldGrams": {
          "type": "string",
          "description": "Weight of zakatable gold in grams"
        },
        "silverGrams": {
          "type": "string",
          "description": "Weight of zakatable silver in grams"
        },
        "businessInventory": {
          "type": "string",
          "description": "Trade goods at market value"
        },
        "receivables": {
          "type": "string",
          "description": "Good debt owed to you and expected to be repaid"
        },
        "crypto": {
          "type": "string",
          "description": "Digital assets at market value"
        },
        "stocks": {
          "type": "string",
          "description": "Shares held for trading, at market value"
        },
        "liabilities": {
          "type": "string",
          "description": "Immediately-due debts, deducted from zakatable wealth"
        },
        "nisabBasis": {
          "type": "string",
          "description": "gold, silver, or both (default) — silver is lower so it obliges more payers"
        },
        "yearType": {
          "type": "string",
          "description": "lunar (default, 2.5%) or solar (2.577%)"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}