Treasury Id

Treasury's current retail gold quote in rupiah — what the app buys at and sells

2 endpoints434 calls2/2 passing
Get API key
GET/v1/…treasury-id/gold-price
passing · 0.6s15m cache

Try it

Checking your keys…

Parameters

x

string · query · optional

Unused — the current price takes no parameters.

Example response

{"project":"finance:treasury-id",  "data": {"asOf":"2026-08-21T09:23:00","metal":"gold","spread":87611,"dataset":"gold-price","asOfText":"21/08/26 - 09:23","buyPrice":2655779,"currency":"IDR","movement":"profit","provider":"treasury-id","unitGram":1,"changeAbs":30090,"sellPrice":2568168,"changePercent":1.15  },"timestamp":"2026-08-21T02:23:58Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "finance:treasury-id",  "gold-price",  {});