---
title: "铜期货API：按月份获取实时COMEX铜 · goldprice.dev"
description: "通过REST API和MCP按交割月份获取实时铜期货价格，单位为美元每磅。买价、卖价和当日价格区间。含免费套餐，延迟15分钟。"
canonical: "https://goldprice.dev/zh/copper-futures-api"
---

> Index of every goldprice.dev page and doc for AI readers: [llms.txt](https://goldprice.dev/llms.txt)

# 铜期货API

所有交割月份的实时铜期货价格

2026年11月26日 · 阅读时间：2 分钟

一次调用即可获取成交最活跃的铜期货月份的价格、买价、卖价以及当日最高价和最低价，单位为美元每磅。所有套餐都包含：Free延迟15分钟，Basic、Plus和Pro为实时。

## API返回哪些数据

铜期货按交割月份交易。我们提供3月、5月、7月、9月和12月，覆盖约一年。每个响应都会标明月份。

| 接口 | 返回数据 |
| --- | --- |
| `/v1/futures/HG` | 成交最活跃的月份，含买价、卖价和当日价格区间 |
| `/v1/futures/HG?month=YYYY-MM` | 指定的某一个月份，例如`2027-04` |
| `/v1/futures/HG/months` | 我们提供的所有月份，并标出成交最活跃的月份 |

## 发送首次请求

此请求返回成交最活跃的铜月份。请将密钥放在`Authorization: Bearer`请求头中。

```bash
curl "https://api.goldprice.dev/v1/futures/HG" \
  -H "Authorization: Bearer $GOLDPRICE_API_KEY"
```

```javascript
const res = await fetch("https://api.goldprice.dev/v1/futures/HG", {
  headers: { Authorization: `Bearer ${process.env.GOLDPRICE_API_KEY}` },
})
const data = await res.json()
if (!res.ok) throw new Error(data.error)
```

```python
import os, requests

res = requests.get(
    "https://api.goldprice.dev/v1/futures/HG",
    headers={"Authorization": f"Bearer {os.environ['GOLDPRICE_API_KEY']}"},
    timeout=10,
)
res.raise_for_status()
data = res.json()
```

## 读取响应

铜返回的字段与下面的黄金示例相同，`symbol`为HG，`unit`为`pound`。该示例采集于2026年11月26日 00:41 UTC，并非当前价格。

```json title="响应示例，采集于2026年11月26日 00:41 UTC"
{
  "symbol": "HG",
  "exchange": "COMEX",
  "contract_month": "2027-03",
  "most_traded": true,
  "price": 5.4828,
  "bid": 5.482,
  "ask": 5.4835,
  "day_high": 5.4945,
  "day_low": 5.4645,
  "currency": "USD",
  "unit": "pound",
  "timestamp": "2026-11-26T00:41:10Z",
  "delayed": false
}
```

| 字段 | 含义 |
| --- | --- |
| `symbol` | 金属代码：XAU、XAG、HG、XPT或XPD |
| `exchange` | 交易所：COMEX、NYMEX，上海黄金用SHFE |
| `contract_month` | 合约的交割月份，格式为YYYY-MM |
| `most_traded` | 该月份成交最活跃时为true |
| `price` | 最优买价和最优卖价的中间值 |
| `bid`, `ask` | 最优买价和最优卖价；市场没有时为null |
| `day_high`, `day_low` | 当日最高价和最低价；尚无时为null |
| `currency` | 价格的币种：USD，SHFE上为CNY |
| `unit` | 黄金、白银、铂金和钯金为`troy_ounce`，铜为`pound`，SHFE上为`gram` |
| `timestamp` | 我们收到价格的时间（UTC） |
| `delayed` | 我们的实时数据源中断时为true：价格来自运行有延迟的备用数据源，或在市场交易期间无法确认 |
| `state`, `message`, `next_open` | 仅在市场休市时出现：`closed`，并附带`message`和`next_open`（UTC） |

## 可以用来做什么

- 按磅追踪铜价、用于电线、电缆或管材报价的工具
- 按之后交割月份定价的采购计划
- 并排显示铜现货价和各期货月份的看板
- 回答铜期货当前价格的智能体

## 套餐

所有套餐中，期货都与现货遵循相同规则。完整列表见[定价](https://goldprice.dev/zh/pricing)。

| 套餐 | Free | Basic | Plus | Pro |
| --- | --- | --- | --- | --- |
| 期货价格 | 延迟15分钟 | 实时 | 实时 | 实时 |
| 每月请求数 | 5,000 | 100,000 | 300,000 | 1,000,000 |

## 接下来

所有参数和错误见[期货参考](https://goldprice.dev/docs/futures)。

## 常见问题

### 铜期货API免费吗？

是的。Free包含延迟15分钟的铜期货价格，每月5,000次请求。Basic、Plus和Pro提供实时价格。详见[定价](/zh/pricing)。

### 返回的是哪个铜期货月份？

返回成交最活跃的月份，月份名称在contract_month中。其他月份可用?month=YYYY-MM指定。

### 铜以什么单位计价？

美元每磅，unit为pound。/v1/prices中的铜现货价使用相同的单位。

### AI智能体可以读取铜期货吗？

可以。MCP工具get_futures_price返回与API相同的响应。设置方法见[MCP文档](/docs/mcp)。

## 继续阅读

- [期货API参考](https://goldprice.dev/docs/futures)
- [今日铜期货价格](https://goldprice.dev/zh/prices/hg-usd-futures)
- [定价](https://goldprice.dev/zh/pricing)

Source: https://goldprice.dev/zh/copper-futures-api
