---
title: "铂金期货API：按月份获取实时NYMEX铂金 · goldprice.dev"
description: "通过REST API和MCP按交割月份获取实时铂金期货价格。成交最活跃的月份、买价、卖价和当日价格区间。含免费套餐，延迟15分钟。"
canonical: "https://goldprice.dev/zh/platinum-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返回哪些数据

铂金期货在NYMEX按交割月份交易。我们提供1月、4月、7月和10月，覆盖约一年。每个响应都会标明月份。

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

## 发送首次请求

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

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

```javascript
const res = await fetch("https://api.goldprice.dev/v1/futures/XPT", {
  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/XPT",
    headers={"Authorization": f"Bearer {os.environ['GOLDPRICE_API_KEY']}"},
    timeout=10,
)
res.raise_for_status()
data = res.json()
```

## 读取响应

`price`是最优买价和最优卖价的中间值，单位为美元每金衡盎司。以下示例采集于2026年11月26日 00:40 UTC，并非当前价格。

```json title="响应示例，采集于2026年11月26日 00:40 UTC"
{
  "symbol": "XPT",
  "exchange": "NYMEX",
  "contract_month": "2027-01",
  "most_traded": true,
  "price": 1268.80,
  "bid": 1268.50,
  "ask": 1269.10,
  "day_high": 1272.90,
  "day_low": 1262.20,
  "currency": "USD",
  "unit": "troy_ounce",
  "timestamp": "2026-11-26T00:40:19Z",
  "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指定。

### 为什么铂金期货有时低于现货价？

铂金期货并不总是高于现货价。当前现货短缺时，买家愿意为现在的金属付出比之后月份更高的价格。

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

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

## 继续阅读

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

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