Commodities — Precious Metals
Gold, silver & platinum — city-wise + national + history. Gold includes 24K / 22K / 18K rates.
Full city coverage — poore India ke cities + international coverage (koi miss nahi):
| Metal | Cities | Coverage |
|---|---|---|
| 🥇 Gold | 167 cities | Agra → United States (India + international) |
| 🥈 Silver | 135 cities | Indian metros + districts + international |
| ⭐ Platinum | 135 cities | Indian metros + districts + international |
India national price hamesha included (city=india), 10-din history ke saath.
Endpoints
GET/commodities?metal=gold
All locations for a metal. Defaults to gold.
GET/commodities?metal=silver
Switch metal —
gold · silver · platinum.GET/commodities?metal=gold&city=delhi
Single city — 24K/22K/18K gold rates.
GET/commodities/cities
List available cities for a metal.
GET/commodities/search?q=del
Fuzzy location search.
GET/commodities/history?metal=gold&city=india&days=7
Metal price history — trend charts (max 90 days).
GET/commodities/latest
Latest metal crawl status.
Query Parameters
| Parameter | Values | Default | Required | Notes |
|---|---|---|---|---|
metal | gold · silver · platinum | gold | ❌ | Metal selector |
city | delhi, mumbai, kolkata… | — | ❌ | Case-insensitive |
type | city · state | — | ❌ | Location type filter |
q | any string | — | ✅ | For /commodities/search |
days | 1–90 | 7 | ❌ | History window |
Example — Gold in Agra (167 cities me se ek)
curl "https://api.apimitra.in/commodities?metal=gold&city=agra"
{
"status": "ok",
"metal": "gold",
"count": 1,
"data": [
{
"commodity": "gold",
"location": "Agra",
"location_type": "city",
"unit": "per_gram_24k",
"price": "14437.00",
"change_pct": "0.00",
"details": {
"price_18k": 10831,
"price_22k": 13225
},
"updated_at": "2026-08-02T16:54:00.166Z"
}
]
}
Example — International city (United States)
curl "https://api.apimitra.in/commodities?metal=gold&city=united%20states"
{
"status": "ok",
"metal": "gold",
"count": 1,
"data": [
{
"commodity": "gold",
"location": "United States",
"location_type": "city",
"unit": "per_gram_24k",
"price": "12740.00",
"change_pct": "0.00",
"details": { "price_18k": 9877, "price_22k": 12072 },
"updated_at": "2026-08-02T16:54:00.166Z"
}
]
}
Example — National Gold History
curl "https://api.apimitra.in/commodities/history?metal=gold&city=india&days=7"
{
"status": "ok",
"metal": "gold",
"city": "india",
"data": [
{ "location": "India", "price": "14422.00", "date": "2026-08-02" },
{ "location": "India", "price": "14422.00", "date": "2026-08-01" }
]
}
Available Metals
| Metal | Unit | Details |
|---|---|---|
| gold | per_gram_24k | price_22k, price_18k in details |
| silver | per_10g | — |
| platinum | per_gram | — |