Futures API · SHFE
Silver Futures (SHFE) (AG) Futures API - Real-Time Quotes & Historical Data
Access real-time futures quotes, OHLCV historical data and WebSocket streams for Silver Futures (SHFE) (AG) on SHFE. Free API key included.
- Real-time quote for AG on SHFE
- OHLCV historical K-line data from 1-min to monthly
- WebSocket streaming for real-time price updates
- Free API key to start - simple REST & WebSocket access
import requests
import pandas as pd
# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/future/kline"
params = {"region": "CN", "code": "AG", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}
bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
"t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("AG_ohlcv.csv", index=False)
print(df.tail())AboutSilver Futures (SHFE)
Silver futures (AG) on SHFE are traded on the Shanghai Futures Exchange, providing exposure to silver prices in the Chinese market.
Hot Futures Products
Explore real-time quotes and historical data for more financial instruments across global markets.
API Access
Use the REST and WebSocket endpoints below with your API token.
https://api.itick.org/future/quote?region=CN&code=AGwss://api.itick.org/futureGet Silver Futures SHFE (AG) data with Python
Query real-time futures quotes and historical data for AG via REST API.
- Sign up and get your free API token
- Use the /future/quote endpoint for real-time prices
- Use /future/kline for historical bars
import requests
import pandas as pd
# kType = bar interval (1 = 1-minute ... 10 = monthly, see docs)
url = "https://api.itick.org/future/kline"
params = {"region": "CN", "code": "AG", "kType": 8, "limit": 500}
headers = {"accept": "application/json", "token": "YOUR_API_TOKEN"}
bars = requests.get(url, params=params, headers=headers, timeout=10).json()["data"]
df = pd.DataFrame(bars).rename(columns={
"t": "time", "o": "open", "h": "high", "l": "low", "c": "close", "v": "volume"
})
df["time"] = pd.to_datetime(df["time"], unit="ms")
df.to_csv("AG_ohlcv.csv", index=False)
print(df.tail())FAQ: Silver Futures (SHFE) (AG) Futures Data API
How do I get real-time Silver Futures (SHFE) (AG) price data?
Sign up for a free iTick account, get your API token, and call the /future/quote endpoint with region=CN&code=AG. You can also subscribe via WebSocket for live streaming updates.
What data is available for Silver Futures (SHFE) (AG)?
iTick provides real-time quotes (price, bid/ask, volume), OHLCV K-line bars from 1-minute to monthly, and tick-by-tick trade data for Silver Futures (SHFE) on SHFE.
Is there a free plan for Silver Futures (SHFE) (AG) data?
Yes. iTick offers a free plan that includes real-time quotes, historical K-line and tick data for personal use and evaluation. Paid plans add higher rate limits and commercial usage rights.
How do I access Silver Futures (SHFE) (AG) historical data?
Use the /future/kline endpoint with region=CN&code=AG and choose your interval via the kType parameter (1=1min, 8=daily, etc.).
What is the latest price of Silver Futures (SHFE) (AG)?
As of 2026-11-30 16:49:19 UTC, the latest price of Silver Futures (SHFE) (AG) is 10211.00 CNY.
Start building with AG data today
Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.