zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Finance/UBS Gold
Logo UBS Gold

UBS Gold

Indonesian retail gold from UBS — buy and buyback price per bar denomination, with daily history.

4 endpoints4 endpoints on this scraper56 calls56 calls so farupdated 28 days agoLast updated 8/29/2026, 9:08:48 AMBusy: 10+ calls so farllms.txt
Endpoints4

0/4 passing
checked 17 hours ago · daily 01:00 WIB

Price board

Buy and buyback price for every bar denomination on today's board.

GET/v1/finance:ubs/price30m cache1 paramchecking key…
Parameters
denominationnumber

Keep only this bar weight in grams. Omit for the whole board.

·
Response
EXAMPLE
{
  "asOf": "2026-08-29",
  "count": 13,
  "items": [
    {
      "spread": 100800,
      "buyPrice": 215800,
      "weightGram": 0.05,
      "weightText": "0.05 Gram",
      "buybackPrice": 115000,
      "buyPricePerGram": 4316000,
      "buybackPricePerGram": 2300000
    },
    {
      "spread": 113600,
      "buyPrice": 344600,
      "weightGram": 0.1,
      "weightText": "0.1 Gram",
      "buybackPrice": 231000,
      "buyPricePerGram": 3446000,
      "buybackPricePerGram": 2310000
    },
    {
      "spread": 207900,
      "buyPrice": 784900,
      "weightGram": 0.25,
      "weightText": "0.25 Gram",
      "buybackPrice": 577000,
      "buyPricePerGram": 3139600,
      "buybackPricePerGram": 2308000
    },
    {
      "spread": 261700,
      "buyPrice": 1416700,
      "weightGram": 0.5,
      "weightText": "0.5 Gram",
      "buybackPrice": 1155000,
      "buyPricePerGram": 2833400,
      "buybackPricePerGram": 2310000
    },
    {
      "spread": 201500,
      "buyPrice": 2512500,
      "weightGram": 1,
      "weightText": "1 Gram",
      "buybackPrice": 2311000,
      "buyPricePerGram": 2512500,
      "buybackPricePerGram": 2311000
    },
    {
      "spread": 339100,
      "buyPrice": 4962100,
      "weightGram": 2,
      "weightText": "2 Gram",
      "buybackPrice": 4623000,
      "buyPricePerGram": 2481050,
      "buybackPricePerGram": 2311500
    },
    {
      "spread": 491700,
      "buyPrice": 7425700,
      "weightGram": 3,
      "weightText": "3 Gram",
      "buybackPrice": 6934000,
      "buyPricePerGram": 2475233,
      "buybackPricePerGram": 2311333
    },
    {
      "spread": 618700,
      "buyPrice": 9864700,
      "weightGram": 4,
      "weightText": "4 Gram",
      "buybackPrice": 9246000,
      "buyPricePerGram": 2466175,
      "buybackPricePerGram": 2311500
    }
  ],
  "metal": "gold",
  "total": 13,
  "dataset": "price",
  "currency": "IDR",
  "provider": "ubs",
  "denomination": null,
  "productionYear": 2026,
  "denominationsAvailable": [
    0.05,
    0.1,
    0.25,
    0.5,
    1,
    2,
    3,
    4
  ]
}

Code

Price board
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:ubs", "price", {
  "denomination": 1
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

4 endpoints · plain text
GET
Price board/v1/finance:ubs/price
1 param

Buy and buyback price for every bar denomination on today's board.

Parameters

denominationnumberoptional
Keep only this bar weight in grams. Omit for the whole board.

Request

curl -X GET "https://api.zapi.ink/v1/finance:ubs/price?denomination=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "asOf": "2026-08-29",
  "count": 13,
  "items": [
    {
      "spread": 100800,
      "buyPrice": 215800,
      "weightGram": 0.05,
      "weightText": "0.05 Gram",
      "buybackPrice": 115000,
      "buyPricePerGram": 4316000,
      "buybackPricePerGram": 2300000
    },
    {
      "spread": 113600,
      "buyPrice": 344600,
      "weightGram": 0.1,
      "weightText": "0.1 Gram",
      "buybackPrice": 231000,
      "buyPricePerGram": 3446000,
      "buybackPricePerGram": 2310000
    },
    {
      "spread": 207900,
      "buyPrice": 784900,
      "weightGram": 0.25,
      "weightText": "0.25 Gram",
      "buybackPrice": 577000,
      "buyPricePerGram": 3139600,
      "buybackPricePerGram": 2308000
    },
    {
      "spread": 261700,
      "buyPrice": 1416700,
      "weightGram": 0.5,
      "weightText": "0.5 Gram",
      "buybackPrice": 1155000,
      "buyPricePerGram": 2833400,
      "buybackPricePerGram": 2310000
    },
    {
      "spread": 201500,
      "buyPrice": 2512500,
      "weightGram": 1,
      "weightText": "1 Gram",
      "buybackPrice": 2311000,
      "buyPricePerGram": 2512500,
      "buybackPricePerGram": 2311000
    },
    {
      "spread": 339100,
      "buyPrice": 4962100,
      "weightGram": 2,
      "weightText": "2 Gram",
      "buybackPrice": 4623000,
      "buyPricePerGram": 2481050,
      "buybackPricePerGram": 2311500
    },
    {
      "spread": 491700,
      "buyPrice": 7425700,
      "weightGram": 3,
      "weightText": "3 Gram",
      "buybackPrice": 6934000,
      "buyPricePerGram": 2475233,
      "buybackPricePerGram": 2311333
    },
    {
      "spread": 618700,
      "buyPrice": 9864700,
      "weightGram": 4,
      "weightText": "4 Gram",
      "buybackPrice": 9246000,
      "buyPricePerGram": 2466175,
      "buybackPricePerGram": 2311500
    }
  ],
  "metal": "gold",
  "total": 13,
  "dataset": "price",
  "currency": "IDR",
  "provider": "ubs",
  "denomination": null,
  "productionYear": 2026,
  "denominationsAvailable": [
    0.05,
    0.1,
    0.25,
    0.5,
    1,
    2,
    3,
    4
  ]
}
GET
Buyback/v1/finance:ubs/buyback
1 param

Buyback price per denomination — UBS quotes a different rate for each bar size.

Parameters

denominationnumberoptional
Keep only this bar weight in grams. Omit for the whole board.

Request

curl -X GET "https://api.zapi.ink/v1/finance:ubs/buyback?denomination=1" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "asOf": "2026-08-29",
  "count": 13,
  "items": [
    {
      "weightGram": 0.05,
      "weightText": "0.05 Gram",
      "buybackPrice": 115000,
      "buybackPricePerGram": 2300000
    },
    {
      "weightGram": 0.1,
      "weightText": "0.1 Gram",
      "buybackPrice": 231000,
      "buybackPricePerGram": 2310000
    },
    {
      "weightGram": 0.25,
      "weightText": "0.25 Gram",
      "buybackPrice": 577000,
      "buybackPricePerGram": 2308000
    },
    {
      "weightGram": 0.5,
      "weightText": "0.5 Gram",
      "buybackPrice": 1155000,
      "buybackPricePerGram": 2310000
    },
    {
      "weightGram": 1,
      "weightText": "1 Gram",
      "buybackPrice": 2311000,
      "buybackPricePerGram": 2311000
    },
    {
      "weightGram": 2,
      "weightText": "2 Gram",
      "buybackPrice": 4623000,
      "buybackPricePerGram": 2311500
    },
    {
      "weightGram": 3,
      "weightText": "3 Gram",
      "buybackPrice": 6934000,
      "buybackPricePerGram": 2311333
    },
    {
      "weightGram": 4,
      "weightText": "4 Gram",
      "buybackPrice": 9246000,
      "buybackPricePerGram": 2311500
    }
  ],
  "metal": "gold",
  "total": 13,
  "dataset": "buyback",
  "currency": "IDR",
  "provider": "ubs",
  "denomination": null,
  "productionYear": 2026,
  "denominationsAvailable": [
    0.05,
    0.1,
    0.25,
    0.5,
    1,
    2,
    3,
    4
  ],
  "appliesToAllDenominations": false
}
GET
History/v1/finance:ubs/history
6 params

Daily 1 g buyback series back to 2023, filterable by date window.

Parameters

daysnumberoptional
How many of the most recent published days to pull. Default 30. Ignored when from or to is given.
fromstringoptional
Earliest date to include, YYYY-MM-DD.
tostringoptional
Latest date to include, YYYY-MM-DD.
orderenumoptional
Oldest first (asc) or newest first (desc). Default desc. Values: asc, desc.
pagenumberoptional
Page of days. Default 1.
limitnumberoptional
Days per page. Default 100, max 1000.

Request

curl -X GET "https://api.zapi.ink/v1/finance:ubs/history?days=30&from=2026-01-01&to=2026-08-29&order=desc&page=1&limit=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-29",
  "days": null,
  "from": "2026-08-01",
  "page": 1,
  "count": 10,
  "items": [
    {
      "low": 2289000,
      "date": "2026-08-04",
      "high": 2289000,
      "open": 2289000,
      "close": 2278000
    },
    {
      "low": 2338000,
      "date": "2026-08-05",
      "high": 2338000,
      "open": 2338000,
      "close": 2327000
    },
    {
      "low": 2404000,
      "date": "2026-08-06",
      "high": 2404000,
      "open": 2404000,
      "close": 2393000
    },
    {
      "low": 2390000,
      "date": "2026-08-07",
      "high": 2390000,
      "open": 2390000,
      "close": 2379000
    },
    {
      "low": 2391000,
      "date": "2026-08-08",
      "high": 2391000,
      "open": 2391000,
      "close": 2380000
    },
    {
      "low": 2418000,
      "date": "2026-08-11",
      "high": 2418000,
      "open": 2418000,
      "close": 2406000
    },
    {
      "low": 2381000,
      "date": "2026-08-12",
      "high": 2381000,
      "open": 2381000,
      "close": 2370000
    },
    {
      "low": 2371000,
      "date": "2026-08-14",
      "high": 2371000,
      "open": 2371000,
      "close": 2360000
    }
  ],
  "metal": "gold",
  "order": "asc",
  "total": 21,
  "covered": 498,
  "dataset": "history",
  "hasMore": true,
  "currency": "IDR",
  "nextPage": 2,
  "provider": "ubs",
  "unitGram": 1,
  "latestDate": "2026-08-29",
  "earliestDate": "2023-11-20"
}
GET
Summary/v1/finance:ubs/summary
1 param

Today's 1 g buy and buyback, with the change against the previous published day.

Parameters

xstringoptional
Unused — the summary takes no parameters.

Request

curl -X GET "https://api.zapi.ink/v1/finance:ubs/summary?x=" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "asOf": "2026-08-29",
  "metal": "gold",
  "spread": 201500,
  "dataset": "summary",
  "buyPrice": 2512500,
  "currency": "IDR",
  "provider": "ubs",
  "unitGram": 1,
  "changeAbs": -28000,
  "buybackPrice": 2311000,
  "previousDate": "2026-08-28",
  "changePercent": -1.2,
  "denominationCount": 13,
  "previousBuybackPrice": 2339000
}

Related APIs

More in finance

Pluang

financepluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.7M1.7M calls so far1dResponses cached for 1d
Busy: 10+ calls so far

IDX (Bursa Efek Indonesia)

financeidx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

767K767K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

TradingView

financetradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

342.7K342.7K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Stockbit

financestockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

116.2K116.2K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Investing

financeinvesting

Data pasar finansial lengkap — quote saham/forex/crypto/komoditas, teknikal, OHLCV historis, berita, analisis, dan kalender ekonomi.

69.6K69.6K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Binance Futures

financebinance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

40.3K40.3K calls so far10mResponses cached for 10m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.