DocsDocs

Request gold prices by karat

GET /v1/carat: copy a request for gold per gram from 24K to 10K

20 Oct 2026 · 1 min read

GET /v1/carat?currency=INR gives you gold prices per gram for 24K, 22K, 21K, 20K, 18K, 16K, 14K and 10K in Indian rupees. It supports 35 currencies and works on every plan without requiring a key. Free and keyless prices are delayed by 15 minutes.

Make a request

The only parameter is the currency. Omit it for US dollars. Each karat price is the 24K price multiplied by its gold content, calculated from spot prices and live exchange rates.

Shell
curl "https://api.goldprice.dev/v1/carat?currency=INR" \  -H "Authorization: Bearer $GOLDPRICE_API_KEY"
JavaScript
const res = await fetch("https://api.goldprice.dev/v1/carat?currency=INR", {  headers: { Authorization: `Bearer ${process.env.GOLDPRICE_API_KEY}` },})const data = await res.json()if (!res.ok) throw new Error(data.error)
Python
import os, requestsres = requests.get(    "https://api.goldprice.dev/v1/carat?currency=INR",    headers={"Authorization": f"Bearer {os.environ['GOLDPRICE_API_KEY']}"},    timeout=10,)res.raise_for_status()data = res.json()

Request parameters

NameLocationRequiredDescription
currencyqueryNo (USD)Currency to quote in

Read the response

This example response was recorded without a key on 19 Oct 2026. Prices are based on spot and exclude dealer premiums, tax and making charges.

Response example (19 Oct 2026)
{  "currency": "INR",  "timestamp": "2026-10-19T12:45:06.720397Z",  "price_gram_24k": "12705.74",  "price_gram_22k": "11646.93",  "price_gram_21k": "11117.53",  "price_gram_20k": "10588.12",  "price_gram_18k": "9529.31",  "price_gram_16k": "8470.50",  "price_gram_14k": "7411.68",  "price_gram_10k": "5294.06"}
FieldDescription
currencyRequested currency
timestampSpot price observation time (UTC)
price_gram_24k … price_gram_10kPer-gram prices for each purity, as decimal strings

API errors

StatuserrorCause
400unsupported_currencyUnsupported currency
429rate_limitedKeyless IP exceeded 100 requests in the hour
429rate_limit_exceededMinute limit exceeded for the plan, or per IP without a key
429quota_exceededPlan's monthly request quota exceeded
Error response example
{  "error": "unsupported_currency",  "message": "Unsupported currency"}

Request and data limits

Free and keyless prices are delayed by 15 minutes. Without a key, you get 10 requests a minute per IP. A free key includes 5,000 requests a month. Paid plans provide live prices. See free plan limits for all plan limits.

Questions

How can I request the 22K gold price per gram?

Call /v1/carat?currency=INR, or use your currency, then read price_gram_22k.

Are jewellery making charges or tax included in /v1/carat?

No. Prices are spot gold per gram for each purity. Country-specific dealer prices use a separate endpoint, available on Basic and above.

Is a key required for /v1/carat?

No. Without a key, it allows 10 requests a minute and 100 an hour per IP. It is also available as the get_carat MCP tool.

Keep reading

Give /v1/carat requests their own quota

Use a free key to move this request off the shared per-IP limit.

Get a free key