Skip to content

GoldPrice API

1 endpointFinance & CryptoGlobalsocial:read

Returns live spot prices of gold and silver per troy ounce in one currency, with the change since the previous close.

View as Markdown
GET/goldprice/spotLive spot prices of gold and silver per troy ounce in one currency, with the change since the previous close.

spot

GET/v1/goldprice/spot

Live spot prices of gold and silver per troy ounce in one currency, with the change since the previous close.

scope social:read1 unitcached 1 min

Parameters

currency
string
ISO currency code, such as USD, IDR or EUR. Default USD.
default USDe.g. USD
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

21 fields
currencystring
goldTicker
changestring
changePercentstring
highstring
lowstring
openstring
pricestring
symbolstring
updatedAtstring
volumestring
silverTicker
changestring
changePercentstring
highstring
lowstring
openstring
pricestring
symbolstring
updatedAtstring
volumestring
curl "https://api.hoshime.com/v1/goldprice/spot?currency=USD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "currency": "USD",
    "gold": {
      "change": "…",
      "changePercent": "…",
      "high": "…",
      "low": "…",
      "open": "…",
      "price": "…",
      "symbol": "…",
      "updatedAt": "2026-11-06T09:41:00Z",
      "volume": "…"
    },
    "silver": {
      "change": "…",
      "changePercent": "…",
      "high": "…",
      "low": "…",
      "open": "…",
      "price": "…",
      "symbol": "…",
      "updatedAt": "2026-11-06T09:41:00Z",
      "volume": "…"
    }
  },
  "meta": {
    "cached": false,
    "endpoint": "spot",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "goldprice",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open