Gold valuation
goldCalculate Gold and Silver commodity valuation, hallmarking purity adjustments (24K, 22K, 18K, 14K), statutory GST (3%), making charges, and Indian regional unit conversions (Tola, Sovereign, Sovereign/Pavan, Grams, Troy Ounces).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | Yes | Civil date YYYY-MM-DD. Selects the rule pack in force on that date. Required: the engine will not assume a date. | |
| purity_karat | Yes | Purity in Karats (24K pure, 22K standard jewellery 916, 18K 750, 14K 585). Required - the engine never assumes a hallmark. | |
| weight_grams | Yes | Weight of gold in grams. | |
| rate_per_gram_24k | Yes | Current market price of 24K gold per gram in INR (₹), as a string with exactly 2 decimal places (money is never a float). | |
| making_charges_percent | No | Making charges as percentage of pure metal value. |