Skip to content

Harga Emas API

3 endpointsFinance & CryptoIDsocial:read3 real examples

Returns world gold prices, Antam and Pegadaian gold prices in IDR, and silver prices with the rupiah exchange rate.

View as Markdown
GET/hargaemas/worldWorld gold price in USD and IDR per troy ounce, gram and kilogram.
GET/hargaemas/domesticAntam and Pegadaian gold prices in IDR for each weight in grams.
GET/hargaemas/silverSilver price of one gram and one troy ounce in IDR and USD, with the rupiah exchange rate.

world

GET/v1/hargaemas/world

World gold price in USD and IDR per troy ounce, gram and kilogram.

scope social:read1 unitcached 5 minpaginated

Parameters

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

6 fields
idrstring
idrChangestring
namestring
unitstring
usdstring
usdChangestring
curl "https://api.hoshime.com/v1/hargaemas/world" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "idr": "73496454.04",
      "idrChange": "-694116.07",
      "name": "Ounce",
      "unit": "oz",
      "usd": "4058.65",
      "usdChange": "-45.94"
    },
    {
      "idr": "2362965.87",
      "idrChange": "-22316.35",
      "name": "Gram",
      "unit": "gr",
      "usd": "130.49",
      "usdChange": "-1.48"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "world",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hargaemas",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

domestic

GET/v1/hargaemas/domestic

Antam and Pegadaian gold prices in IDR for each weight in grams.

scope social:read1 unitcached 5 minpaginated

Parameters

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

3 fields
antamstring
gramsnumber (double)
pegadaianstring
curl "https://api.hoshime.com/v1/hargaemas/domestic" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "antam": "2480600000",
      "grams": 1000,
      "pegadaian": "2429353000"
    },
    {
      "antam": "1240320000",
      "grams": 500,
      "pegadaian": "1214677000"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "domestic",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hargaemas",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

silver

GET/v1/hargaemas/silver

Silver price of one gram and one troy ounce in IDR and USD, with the rupiah exchange rate.

scope social:read1 unitcached 5 minpaginated

Parameters

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

4 fields
changestring
changePercentnumber (double)
labelstring
pricestring
curl "https://api.hoshime.com/v1/hargaemas/silver" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "change": "0",
      "changePercent": 0,
      "label": "IDR/g",
      "price": "30144"
    },
    {
      "change": "0",
      "changePercent": 0,
      "label": "IDR/oz",
      "price": "936543"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "silver",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hargaemas",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open