convert
Per-gram gold price by karat purity
Per-gram XAU price for karats 24 / 22 / 21 / 20 / 18 / 16 / 14 / 10.
Logic: per_gram_24k = spot_xau_usd_per_oz / GRAMS_PER_TROY_OUNCE * fx_rate; per_gram_Nk = per_gram_24k * N/24.
Historical date support is not implemented; omit the param or use /v1/prices/history + do the math client-side.
get/v1/carat
Query parameters
currencystring
Quote currency (default USD).
Quote currency (default USD).
Response
Successful Response