Futures API · COMEX

Copper Futures (HG) Futures API - Real-Time Quotes & Historical Data

Access real-time futures quotes, OHLCV historical data and WebSocket streams for Copper Futures (HG) on COMEX. Free API key included.

  • Real-time quote for HG on COMEX
  • 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": "US", "code": "HG", "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("HG_ohlcv.csv", index=False)
print(df.tail())
Copper Futures
6.31+0.07 (+1.17%)
Code: HGExchange: COMEXCurrency: USDUpdated: 2026-11-09 08:40:03 UTC
Open6.25
High6.36
Low6.25
Prev Close6.24
Volume10,103
Turnover63,847
1W Change-0.43%
1M Change-3.99%

AboutCopper Futures

Copper futures (HG) are traded on COMEX, serving as the global benchmark for copper prices. Each contract represents 25,000 pounds of high-grade copper.

API Access

Use the REST and WebSocket endpoints below with your API token.

REST Endpointhttps://api.itick.org/future/quote?region=US&code=HG
WebSocket Endpointwss://api.itick.org/future

Get Copper Futures (HG) data with Python

Query real-time futures quotes and historical data for HG via REST API.

  1. Sign up and get your free API token
  2. Use the /future/quote endpoint for real-time prices
  3. 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": "US", "code": "HG", "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("HG_ohlcv.csv", index=False)
print(df.tail())

FAQ: Copper Futures (HG) Futures Data API

How do I get real-time Copper Futures (HG) price data?

Sign up for a free iTick account, get your API token, and call the /future/quote endpoint with region=US&code=HG. You can also subscribe via WebSocket for live streaming updates.

What data is available for Copper Futures (HG)?

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 Copper Futures on COMEX.

Is there a free plan for Copper Futures (HG) 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 Copper Futures (HG) historical data?

Use the /future/kline endpoint with region=US&code=HG and choose your interval via the kType parameter (1=1min, 8=daily, etc.).

What is the latest price of Copper Futures (HG)?

As of 2026-11-09 08:40:03 UTC, the latest price of Copper Futures (HG) is 6.31 USD.

Start building with HG data today

Get a free API key and access real-time quotes, historical data and WebSocket streams in minutes.