Skip to content
DataMint
Up to date · 2026-12-04Market quotesChinaPaid per request

Shanghai Futures Exchange (SHFE) daily futures market data

End-of-day data of every futures contract traded on the Shanghai Futures Exchange (copper, aluminium, zinc, lead, nickel, tin, gold, silver, rebar and other steel, crude oil, fuel oil, bitumen, rubber, pulp and others): previous settlement, open, high, low, close, settlement, volume, turnover and open interest, one record per product and delivery month and trading day, in yuan. Chinese benchmark commodity prices.

Data last changed 2026-12-02 (version 2026-12-02.1).

cn.markets.shfe_daily_futures

Overview

Records
8,706
Current version
2026-12-02.1
Published
2026-12-02
Updated
daily
Language of the text
zh
Quality of the latest run
100% complete, 0% rejected

The badge states whether the dataset is kept up to date: a run that found nothing new, or that was skipped on purpose, still counts as checked. The date the data last changed is the version shown above. The source is updated daily.

Schema

Model MarketQuote, schema version 1.0. Every record has these fields; a field that is "may be empty" is present with no value when the source has none.

  • Fieldinstrument_id
    Typestring
    Rulesup to 32 characters
  • Fieldproduct_code
    Typestring, may be empty
    Rulesup to 16 characters
  • Fieldinstrument_name
    Typestring, may be empty
    Rulesup to 255 characters
  • Fieldinstrument_type
    Typestring
    Rulesone of equity, fund, future, option, index, currency_pair, commodity, other
  • Fieldvenue
    Typestring
    Rulesup to 32 characters
  • Fieldcountry
    Typestring
    Rulesfixed pattern
  • Fieldcontract_month
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldsession
    Typestring, may be empty
    Rulesone of regular, after_hours
  • Fieldquote_date
    Typestring
    Rulesfixed pattern
  • Fieldprice_basis
    Typestring
    Rulesone of market_close, official_fixing
  • Fieldopen
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldhigh
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldlow
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldclose
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldsettlement
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprevious_settlement
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldbid
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldask
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldvolume
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldturnover
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldopen_interest
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldtrade_count
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldquote_currency
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldprice_unit
    Typestring, may be empty
    Rulesup to 255 characters

Filters for the query API

These are the only filters the query endpoint accepts for this dataset.

  • Filterinstrument_id
    Matchesequals
    DescriptionThe venue's own instrument identifier (whole value, any letter case).
  • Filterproduct_code
    Matchesequals
    DescriptionProduct family of futures contracts (for example `cu`, `AP`).
  • Filtervenue
    Matchesequals
    DescriptionExchange or publisher code (for example `TWSE`, `SHFE`, `CBR`).
  • Filtercountry
    Matchesequals
    DescriptionTwo-letter ISO 3166-1 country code of the venue or publisher.
  • Filterinstrument_type
    Matchesenum
    DescriptionKind of instrument.
  • Filterdate
    Matchesdate range
    DescriptionQuotes of days within the range, inclusive: `{"from": "2026-11-01", "to": "2026-11-30"}`.

Preview

  • product codesn
    instrument name锡
    instrument typefuture
    venueSHFE
    countryCN
    contract month2026-09
  • product coderb
    instrument name螺纹钢
    instrument typefuture
    venueSHFE
    countryCN
    contract month2026-03
  • product codesp
    instrument name纸浆
    instrument typefuture
    venueSHFE
    countryCN
    contract month2026-03
  • product codehc
    instrument name热轧卷板
    instrument typefuture
    venueSHFE
    countryCN
    contract month2027-01
  • product codelu
    instrument name低硫燃料油
    instrument typefuture
    venueSHFE
    countryCN
    contract month2026-06

Showing 6 of 23 fields and long values shortened. The download has everything, including the verbatim source text of each record.

Versions

  • Version2026-12-02.1
    StatusCurrent
    Published2026-12-02
    Records8,706
    What changed8,706 added
    Files

Download

The current version, 2026-12-02.1. Each file carries the attribution the licence asks for.

Downloads are paid

A download costs 0.80 USDC per file in USDC on Base. Pay with a browser wallet (MetaMask, Coinbase Wallet, Rabby or your wallet's own browser) and the file is saved when the payment is confirmed. Signing costs no gas. Or pay with your own x402 client.
  • JSON

    One document with the dataset, version and attribution, then every record with its normalised fields and the verbatim source text. Best for programs and agents.

  • CSV

    One row per record with a header row and the attribution on every row. Opens in spreadsheets; lists are joined into one cell.

Follow the changes instead of downloading everything

This dataset publishes what each version added, changed and removed. Fetching only that is much smaller than the full file.

How downloads behave
  • The buttons above always give the newest version. Every file also has an address that names its version (see the table of versions); that file never changes and can be kept forever.
  • Each download has an ETag. Send it back in an If-None-Match header and the server answers 304 with no file when nothing changed, so a script can check often at no cost.
  • This dataset is large. A full download is read from the database as it is sent, so it can take a while to start, and it counts against the limit on queries per minute for your address. If you are refused, wait a minute and try again.
  • Parquet are planned but not available yet.

Use it

Everything on this page is also available from the API, for scripts and AI agents.

Download the current version
curl -L -O -J "https://datamint.cloud/v1/datasets/cn.markets.shfe_daily_futures/download?format=csv"
Query records with a filter
curl -X POST "https://datamint.cloud/v1/datasets/cn.markets.shfe_daily_futures/query" \
  -H "content-type: application/json" \
  -d '{"filters": {"instrument_type":"equity"}, "limit": 10}'
Keep a local copy current (for an agent or a script)
// Ask again only when the dataset changed: the ETag says so (304 means "unchanged").
const url = "https://datamint.cloud/v1/datasets/cn.markets.shfe_daily_futures/download?format=json";
let etag = null; // keep it between runs

async function refresh() {
  const res = await fetch(url, { headers: etag ? { "if-none-match": etag } : {} });
  if (res.status === 304) return null; // nothing new
  etag = res.headers.get("etag");
  return res.json(); // { dataset, version, attribution, records: [...] }
}
Machine-readable description of the whole API
curl "https://datamint.cloud/v1/openapi.json"

OpenAPI description

Licence and attribution

General

No licence or terms read for the SHFE daily data files (publisher terms)

Reuse follows the original publisher's terms; see the source terms. This is not an open licence.

Cite the source with this text:

Attribution
Source: Shanghai Futures Exchange (SHFE), https://www.shfe.com.cn/; normalized and reformatted by DataMint

Access and pricing

Pay per request

Pay per request in USDC on Base with the x402 protocol. Metadata, schema, versions and previews are free.

Record query per query
0.08 USDC
Download per file
0.80 USDC
Change file per version
0.40 USDC

Paid in USDC on Base with the x402 protocol, no account needed. The catalogue, this page, the schema, the versions and the preview are free. See how to pay.