Skip to content

Shanghai Gold Exchange API

3 endpointsFinance & CryptoCNsocial:read3 real examples

Returns daily contract quotes and the Shanghai gold and silver benchmark prices from the Shanghai Gold Exchange.

View as Markdown
GET/sge/dailyQuotesShanghai Gold Exchange daily report for one trading day: open, high, low, close, change, weighted average, volume and turnover of every contract that traded.
GET/sge/benchmarkShanghai Gold Benchmark Price: the morning and afternoon price in yuan per gram for each day. Without start or end, the last 30 days.
GET/sge/silverBenchmarkShanghai Silver Benchmark Price: the morning and afternoon price in yuan per kilogram for each day. Without start or end, the last 30 days.

dailyQuotes

GET/v1/sge/dailyQuotes

Shanghai Gold Exchange daily report for one trading day: open, high, low, close, change, weighted average, volume and turnover of every contract that traded.

scope social:read1 unitcached 30 minpaginated

Parameters

date
string
required
Trading day as YYYY-MM-DD, such as 2025-01-02.
e.g. 2025-01-02
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

12 fields
amountYuanstring
changestring
changePercentstring
datestring
highstring
lowstring
openstring
pricestring
symbolstring
updatedAtstring
volumestring
weightedAveragestring
curl "https://api.hoshime.com/v1/sge/dailyQuotes?date=2025-01-02" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "amountYuan": "7918685399",
      "change": "7.19",
      "changePercent": "1.17",
      "date": "2025-01-02",
      "high": "622.6",
      "low": "614",
      "open": "614",
      "price": "621.99",
      "symbol": "Au99.99",
      "updatedAt": "",
      "volume": "12745.84",
      "weightedAverage": "621.27"
    },
    {
      "amountYuan": "3860498",
      "change": "4.04",
      "changePercent": "0.65",
      "date": "2025-01-02",
      "high": "623",
      "low": "620",
      "open": "620",
      "price": "622.9",
      "symbol": "Au100g",
      "updatedAt": "",
      "volume": "6.2",
      "weightedAverage": "622.66"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "dailyQuotes",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "sge",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

benchmark

GET/v1/sge/benchmark

Shanghai Gold Benchmark Price: the morning and afternoon price in yuan per gram for each day. Without start or end, the last 30 days.

scope social:read1 unitcached 1 hpaginated

Parameters

start
string
First day as YYYY-MM-DD. Omit it to start 29 days before end.
e.g. 2025-01-02
end
string
Last day as YYYY-MM-DD. Omit it for the latest day.
e.g. 2025-01-06
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
afternoonstring
datestring
morningstring
curl "https://api.hoshime.com/v1/sge/benchmark?start=2025-01-02&end=2025-01-06" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "afternoon": "621.68",
      "date": "2025-01-02",
      "morning": "620.84"
    },
    {
      "afternoon": "626.77",
      "date": "2025-01-03",
      "morning": "626.48"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "benchmark",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "sge",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

silverBenchmark

GET/v1/sge/silverBenchmark

Shanghai Silver Benchmark Price: the morning and afternoon price in yuan per kilogram for each day. Without start or end, the last 30 days.

scope social:read1 unitcached 1 hpaginated

Parameters

start
string
First day as YYYY-MM-DD. Omit it to start 29 days before end.
e.g. 2025-01-02
end
string
Last day as YYYY-MM-DD. Omit it for the latest day.
e.g. 2025-01-06
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
afternoonstring
datestring
morningstring
curl "https://api.hoshime.com/v1/sge/silverBenchmark?start=2025-01-02&end=2025-01-06" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "afternoon": "7595",
      "date": "2025-01-02",
      "morning": "7580"
    },
    {
      "afternoon": "7620",
      "date": "2025-01-03",
      "morning": "7617"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "silverBenchmark",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "sge",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open