Every instrument's open, close, high, low and change for one trading day.
daily-quotesnot measuredbenchmark-averagenot measuredbenchmark-pricenot measuredhistorynot measuredlease-ratesnot measured/v1/finance:sge/daily-quotes30m cache1 paramchecking key…// 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);curl -X GET "https://api.zpi.web.id/v1/finance:sge/daily-quotes?date=2026-08-19" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/finance:sge/daily-quotesEvery instrument's open, close, high, low and change for one trading day.datestringoptionalcurl -X GET "https://api.zpi.web.id/v1/finance:sge/daily-quotes?date=2026-08-19" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"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"
}/v1/finance:sge/benchmark-averageSHAU period averages — the mean morning and afternoon fixing over a calendarperiodenumoptionalstartstringoptionalendstringoptionalcurl -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"{
"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"
}/v1/finance:sge/benchmark-priceSHAU — the Shanghai gold benchmark, morning and afternoon fixing per day,fromstringoptionaltostringoptionalorderenumoptionalpagenumberoptionallimitnumberoptionalcurl -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"{
"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"
}/v1/finance:sge/historyDaily open/close/low/high for one instrument, back to the start of the series.instidenumoptionalfromstringoptionaltostringoptionalorderenumoptionalpagenumberoptionallimitnumberoptionalcurl -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"{
"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"
}/v1/finance:sge/lease-ratesThe Shanghai gold lease / lending reference rate curve — O/N out to 3Y, onefromstringoptionaltostringoptionaltenorenumoptionalorderenumoptionalpagenumberoptionallimitnumberoptionalcurl -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"{
"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"
}