---
title: "SGE contract trading history"
method: GET
path: "/v1/sge/trading"
tags: ["Regional"]
---

# SGE contract trading history

`GET /v1/sge/trading`

## Request

- Base URL: `https://api.metalcharts.org`
- URL: `https://api.metalcharts.org/v1/sge/trading`
- Auth: none declared

Shanghai Gold Exchange contract trading history. Requires the Pro plan or higher.

## Query parameters

- `contract` string, required: Required. Au99.99, Au99.95, Au(T+D), mAu(T+D), Ag(T+D) or Ag99.99.
- `range` string: One of 1M, 3M, 6M, 1Y, 5Y or ALL. Defaults to ALL. ALL returns the whole series, and MAX is accepted as a synonym for it.
- `type` string

## Response `200`

Success.

- object
  - `success` boolean, required
  - `contract` string
  - `range` string
  - `asOf` string, date
  - `ageDays` number
  - `stale` boolean
  - `count` number
  - `data` object[], required
    - `date` string, date
    - `total` number

## Other responses

- `400`: Invalid parameter.

---

[API](https://skmtc.dev/metalcharts/apis/metalcharts-api.md) · [All operations](https://skmtc.dev/metalcharts/apis/metalcharts-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metalcharts/apis/metalcharts-api/revisions/53d6a0af0479?raw)
