← Bullion API

API reference

All endpoints are GET, JSON in / JSON out, and require an X-API-Key header.

Authentication

curl -H "X-API-Key: bullion_your_key" \
  https://api.bullionapi.dev/v1/latest

GET /v1/latest

Returns current spot prices for all metals in the requested currency.

ParamRequiredDescription
currencynoISO 4217 code (default USD)
{
  "status": "success",
  "currency": "USD",
  "unit": "toz",
  "metals": { "gold": 4527.86, "silver": 38.42, "platinum": 1523.1, "palladium": 1412.55 },
  "currencies": { "EUR": 0.9134, "GBP": 0.7783, "JPY": 154.22, "CAD": 1.3715 },
  "timestamps": { "metal": "2026-07-08T11:58:50.781Z", "currency": "2026-07-08T11:58:50.781Z" }
}

GET /v1/timeseries

Returns daily closes for a date range.

ParamRequiredDescription
currencyyesISO 4217 code
start_dateyesYYYY-MM-DD
end_dateyesYYYY-MM-DD (inclusive)
{
  "status": "success",
  "currency": "USD",
  "unit": "toz",
  "start_date": "2025-07-08",
  "end_date": "2026-07-08",
  "rates": {
    "2026-07-07": { "currencies": {}, "date": "2026-07-07", "metals": { "gold": 4522.66, "silver": 38.38 } },
    "2026-07-08": { "currencies": {}, "date": "2026-07-08", "metals": { "gold": 4527.86, "silver": 38.42 } }
  }
}

Response headers

HeaderDescription
x-ratelimit-limitPlan monthly limit
x-ratelimit-remainingRequests left this month
x-ratelimit-resetISO timestamp of next reset

Errors

StatusCodeMeaning
401missing_api_keyNo X-API-Key header
401invalid_api_keyKey not found or revoked
429quota_exceededMonthly plan limit hit