zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Sge
Logo Sge

Sge

Every instrument's open, close, high, low and change for one trading day.

Endpoints
5
Requests
615
Updated
5 hours ago
For LLMs
llms.txt
Endpoint healthnot yet measured
  • daily-quotesnot measured
  • benchmark-averagenot measured
  • benchmark-pricenot measured
  • historynot measured
  • lease-ratesnot measured
no measurements yetdaily 01:00 WIB

Playground

5 endpoints
GET/v1/finance:sge/daily-quotes30m cache1 paramchecking key…
Parameters
datestring

Trading day, YYYY-MM-DD. Default the most recent day with a published session

·
Response
EXAMPLE
{
  "date": "2026-08-19",
  "count": 17,
  "items": [
    {
      "low": 15400,
      "high": 15400,
      "open": 15400,
      "close": 15400,
      "change": -600,
      "contract": "Ag99.99",
      "changePercent": -3.896
    },
    {
      "low": 939,
      "high": 955,
      "open": 952.2,
      "close": 944.94,
      "change": -10.06,
      "contract": "Au(T+D)",
      "changePercent": -1.057
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 1096.7,
      "change": 0,
      "contract": "Au(T+N1)",
      "changePercent": null
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 1050,
      "change": 0,
      "contract": "Au(T+N2)",
      "changePercent": null
    },
    {
      "low": 942,
      "high": 950,
      "open": 950,
      "close": 945.14,
      "change": -9.8,
      "contract": "Au100g",
      "changePercent": -1.032
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 370.5,
      "change": 0,
      "contract": "Au99.5",
      "changePercent": null
    },
    {
      "low": 943,
      "high": 943,
      "open": 943,
      "close": 943,
      "change": -11,
      "contract": "Au99.95",
      "changePercent": -1.166
    },
    {
      "low": 939.5,
      "high": 959.99,
      "open": 952,
      "close": 945.22,
      "change": -9.94,
      "contract": "Au99.99",
      "changePercent": -1.044
    }
  ],
  "dataset": "daily-quotes",
  "provider": "sge"
}

Code examples

Daily Quotes
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

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

const data = await client.run("finance:sge", "daily-quotes", {
  "date": "2026-08-19"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:sge/daily-quotes?date=2026-08-19" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

5 endpoints · plain text
GETDaily Quotes/v1/finance:sge/daily-quotesEvery instrument's open, close, high, low and change for one trading day.

Parameters

datestringoptional
Trading day, YYYY-MM-DD. Default the most recent day with a published session

Request

curl -X GET "https://api.zpi.web.id/v1/finance:sge/daily-quotes?date=2026-08-19" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "date": "2026-08-19",
  "count": 17,
  "items": [
    {
      "low": 15400,
      "high": 15400,
      "open": 15400,
      "close": 15400,
      "change": -600,
      "contract": "Ag99.99",
      "changePercent": -3.896
    },
    {
      "low": 939,
      "high": 955,
      "open": 952.2,
      "close": 944.94,
      "change": -10.06,
      "contract": "Au(T+D)",
      "changePercent": -1.057
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 1096.7,
      "change": 0,
      "contract": "Au(T+N1)",
      "changePercent": null
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 1050,
      "change": 0,
      "contract": "Au(T+N2)",
      "changePercent": null
    },
    {
      "low": 942,
      "high": 950,
      "open": 950,
      "close": 945.14,
      "change": -9.8,
      "contract": "Au100g",
      "changePercent": -1.032
    },
    {
      "low": 0,
      "high": 0,
      "open": 0,
      "close": 370.5,
      "change": 0,
      "contract": "Au99.5",
      "changePercent": null
    },
    {
      "low": 943,
      "high": 943,
      "open": 943,
      "close": 943,
      "change": -11,
      "contract": "Au99.95",
      "changePercent": -1.166
    },
    {
      "low": 939.5,
      "high": 959.99,
      "open": 952,
      "close": 945.22,
      "change": -9.94,
      "contract": "Au99.99",
      "changePercent": -1.044
    }
  ],
  "dataset": "daily-quotes",
  "provider": "sge"
}
GETBenchmark Average/v1/finance:sge/benchmark-averageSHAU period averages — the mean morning and afternoon fixing over a calendar

Parameters

periodenumoptional
Averaging period. Default month Values: month, year.
startstringoptional
Earliest period. YYYY-MM for month, YYYY for year. Default the start of the series
endstringoptional
Latest period. YYYY-MM for month, YYYY for year. Default the end of the series

Request

curl -X GET "https://api.zpi.web.id/v1/finance:sge/benchmark-average?period=month&start=2016-04&end=2019-12" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "end": "2026-08",
  "count": 45,
  "items": [
    {
      "period": "201604",
      "morning": 259.73,
      "afternoon": 259.94
    },
    {
      "period": "201605",
      "morning": 264.8,
      "afternoon": 264.66
    },
    {
      "period": "201606",
      "morning": 270.36,
      "afternoon": 270.93
    },
    {
      "period": "201607",
      "morning": 287.88,
      "afternoon": 287.84
    },
    {
      "period": "201608",
      "morning": 287.09,
      "afternoon": 287.21
    },
    {
      "period": "201609",
      "morning": 285.49,
      "afternoon": 285.58
    },
    {
      "period": "201610",
      "morning": 275.13,
      "afternoon": 275.29
    },
    {
      "period": "201611",
      "morning": 275.3,
      "afternoon": 275.56
    }
  ],
  "start": "2016-04",
  "period": "month",
  "dataset": "benchmark-average",
  "provider": "sge",
  "benchmark": "SHAU"
}
GETBenchmark Price/v1/finance:sge/benchmark-priceSHAU — the Shanghai gold benchmark, morning and afternoon fixing per day,

Parameters

fromstringoptional
Earliest date to keep, YYYY-MM-DD
tostringoptional
Latest date to keep, YYYY-MM-DD
orderenumoptional
desc is newest first. Default desc Values: desc, asc.
pagenumberoptional
Page number, 1-based. Default 1
limitnumberoptional
Rows per page. Default 50, max 500

Request

curl -X GET "https://api.zpi.web.id/v1/finance:sge/benchmark-price?from=2026-01-01&to=2026-08-20&order=desc&page=1&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "from": "2026-01-01",
  "page": 1,
  "count": 50,
  "items": [
    {
      "date": "2026-08-20",
      "morning": 970.5,
      "afternoon": 969.96
    },
    {
      "date": "2026-08-19",
      "morning": 945.27,
      "afternoon": 943.32
    },
    {
      "date": "2026-08-18",
      "morning": 953.79,
      "afternoon": 953.88
    },
    {
      "date": "2026-08-17",
      "morning": 951.8,
      "afternoon": 952.98
    },
    {
      "date": "2026-08-14",
      "morning": 936.17,
      "afternoon": 940.03
    },
    {
      "date": "2026-08-13",
      "morning": 956.44,
      "afternoon": 950.18
    },
    {
      "date": "2026-08-12",
      "morning": 955.49,
      "afternoon": 955.85
    },
    {
      "date": "2026-08-11",
      "morning": 961.33,
      "afternoon": 946.95
    }
  ],
  "order": "desc",
  "total": 153,
  "dataset": "benchmark-price",
  "hasMore": true,
  "nextPage": 2,
  "provider": "sge",
  "benchmark": "SHAU"
}
GETHistory/v1/finance:sge/historyDaily open/close/low/high for one instrument, back to the start of the series.

Parameters

instidenumoptional
Instrument code. Default Au99.99 Values: Au99.99, Au99.95, Au100g, Pt99.95, Ag(T+D), Au(T+D), mAu(T+D), Au(T+N1), Au(T+N2), Ag99.99, iAu99.99, Au99.5, iAu100g, iAu99.5, PGC30g, NYAuTN06, NYAuTN12.
fromstringoptional
Earliest date to keep, YYYY-MM-DD
tostringoptional
Latest date to keep, YYYY-MM-DD
orderenumoptional
desc is newest first. Default desc Values: desc, asc.
pagenumberoptional
Page number, 1-based. Default 1
limitnumberoptional
Rows per page. Default 50, max 500

Request

curl -X GET "https://api.zpi.web.id/v1/finance:sge/history?instid=Au99.99&from=2026-01-01&to=2026-08-20&order=desc&page=1&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": null,
  "from": null,
  "page": 1,
  "count": 50,
  "items": [
    {
      "low": 945,
      "date": "2026-08-20",
      "high": 972.9,
      "open": 945,
      "close": 968.14
    },
    {
      "low": 939.5,
      "date": "2026-08-19",
      "high": 959.99,
      "open": 952,
      "close": 945.22
    },
    {
      "low": 948.5,
      "date": "2026-08-18",
      "high": 961,
      "open": 953,
      "close": 955.16
    },
    {
      "low": 946,
      "date": "2026-08-17",
      "high": 956,
      "open": 946,
      "close": 952.44
    },
    {
      "low": 933.01,
      "date": "2026-08-14",
      "high": 955,
      "open": 955,
      "close": 940.72
    },
    {
      "low": 947.2,
      "date": "2026-08-13",
      "high": 963,
      "open": 955,
      "close": 949.24
    },
    {
      "low": 950,
      "date": "2026-08-12",
      "high": 958,
      "open": 952.5,
      "close": 955.75
    },
    {
      "low": 938,
      "date": "2026-08-11",
      "high": 965,
      "open": 940,
      "close": 946.7
    }
  ],
  "order": "desc",
  "total": 2347,
  "instid": "Au99.99",
  "dataset": "history",
  "hasMore": true,
  "nextPage": 2,
  "provider": "sge"
}
GETLease Rates/v1/finance:sge/lease-ratesThe Shanghai gold lease / lending reference rate curve — O/N out to 3Y, one

Parameters

fromstringoptional
Earliest publication date, YYYY-MM-DD. Default 90 days ago
tostringoptional
Latest publication date, YYYY-MM-DD. Default today
tenorenumoptional
Keep a single tenor. Omit for the whole curve Values: O/N, 1M, 3M, 6M, 9M, 1Y, 3Y.
orderenumoptional
desc is newest first. Default desc Values: desc, asc.
pagenumberoptional
Page number, 1-based. Default 1
limitnumberoptional
Quotes per page. Default 50, max 500

Request

curl -X GET "https://api.zpi.web.id/v1/finance:sge/lease-rates?from=2026-06-01&to=2026-08-20&tenor=1M&order=desc&page=1&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-21",
  "from": "2026-06-01",
  "page": 1,
  "count": 50,
  "items": [
    {
      "date": "2026-08-20",
      "rate": 0.4876,
      "tenor": "6M",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.4407,
      "tenor": "O/N",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.5226,
      "tenor": "3Y",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.4786,
      "tenor": "3M",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.4708,
      "tenor": "1M",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.4933,
      "tenor": "9M",
      "variety": "1"
    },
    {
      "date": "2026-08-20",
      "rate": 0.4999,
      "tenor": "1Y",
      "variety": "1"
    },
    {
      "date": "2026-08-19",
      "rate": 0.475,
      "tenor": "9M",
      "variety": "1"
    }
  ],
  "order": "desc",
  "tenor": null,
  "total": 406,
  "dataset": "lease-rates",
  "hasMore": true,
  "nextPage": 2,
  "provider": "sge"
}

Related APIs

More in finance

Pluang

finance/pluang

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.

27.9K calls·1d cache

Binance Vision

finance/binance-vision

Binance's public bulk archive: klines, 5-minute open-interest and long/short metrics, funding, book depth and liquidations, back to 2017.

7.9K calls·1d cache

TradingView

finance/tradingview

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

57K calls·1d cache

Stockbit

finance/stockbit

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

17.7K calls·1d cache

Mempool Space

finance/mempool-space

Recommended fee tiers in sat/vB, as mempool.space's own estimator sees them.

1.1K calls·2m cache

Etherscan

finance/etherscan

Current gas price tiers and base fee, from Etherscan's V2 multichain API.

683 calls·30s cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026