---
title: "大宗商品 API：价格序列与历史 | Narwhal API"
description: "用于实物大宗商品价格、棕榈油、美国零售燃油和World Bank月度基准的REST和MCP。发现序列并读取价格历史。"
url: "https://narwhalapi.com/zh/docs/api/commodities"
---

# 大宗商品 API 参考

实物大宗商品价格、序列发现和历史。涵盖约120种大宗商品的实物价格（金属、电池材料、能源、化肥和化工原料、农产品），另有美国零售燃油（EIA）和World Bank月度基准。

## 基础 URL

本页涵盖实物棕榈油和实物大宗商品价格路由。 全部四种金属的现货价格另有专门的 [现货金属参考](https://narwhalapi.com/zh/docs/api/commodities/spot.md)。 期货参考在相关产品发布前仍不可用。

REST 基础路径

```
https://api.narwhalapi.com/v1/commodities
```

- 每个请求都使用同一个 Narwhal Bearer 密钥和共用额度。
- REST 和 MCP 使用相同的输入和输出数据结构。

## 实物价格操作

| 操作 | REST 路径 | MCP 工具 |
| --- | --- | --- |
| [查找 棕榈油 实物数据序列](https://narwhalapi.com/zh/docs/api/commodities/palmoil-physical-series.md) | `/v1/commodities/palmoil/physical` | `commodities_list_palmoil_physical_series` |
| [获取最新 棕榈油 实物价格](https://narwhalapi.com/zh/docs/api/commodities/palmoil-physical-price.md) | `/v1/commodities/palmoil/physical/{series_id}` | `commodities_get_palmoil_physical_price` |
| [获取 棕榈油 实物历史数据](https://narwhalapi.com/zh/docs/api/commodities/palmoil-physical-price-history.md) | `/v1/commodities/palmoil/physical/{series_id}/observations` | `commodities_get_palmoil_physical_observations` |
| [发现实物价格序列](https://narwhalapi.com/zh/docs/api/commodities/physical-series.md) | `/v1/commodities/physical/series` | `commodities_list_physical_series` |
| [获取实物价格序列详情](https://narwhalapi.com/zh/docs/api/commodities/physical-series-detail.md) | `/v1/commodities/physical/series/{series_id}` | `commodities_get_physical_series` |
| [获取最新实物价格](https://narwhalapi.com/zh/docs/api/commodities/physical-latest.md) | `/v1/commodities/physical/series/{series_id}/latest` | `commodities_get_physical_latest` |
| [获取实物价格历史](https://narwhalapi.com/zh/docs/api/commodities/physical-observations.md) | `/v1/commodities/physical/series/{series_id}/observations` | `commodities_get_physical_observations` |

## 共享行为

- 实物数据序列发现接口仅返回完整且已获使用授权的序列。
- CPO 和马来西亚 FFB 返回一个价格数值。印度尼西亚 FFB 返回完整的树龄价目表。
- 价格保留原始币种和单位，并以十进制字符串表示。
- 历史数据按从旧到新排列，并使用与筛选条件绑定的不透明游标。
- 价目表缺失、重叠、含糊不清或混合了不同使用权的数据时，请求会以失败结束。
- 被拒绝或不可用的请求不收费。

## 覆盖范围

美国燃油数据涵盖20个普通汽油和2号公路用柴油的周度序列。每种产品均包含全美平均值和九个地区，价格以 USD/美制加仑计。全美平均汽油价格历史始于1990年8月，柴油始于1994年3月。地区序列起始较晚。历史在每周一调查后逐周增加。来源: 美国能源信息署

提供三个每日现货价格序列：库欣 WTI 原油自 1986 年 1 月 2 日起、布伦特原油自 1987 年 5 月 20 日起，单位均为美元/桶；亨利枢纽天然气自 1997 年 1 月 7 日起，单位为美元/MMBtu。Source: U.S. Energy Information Administration

[探索美国燃油价格 API](https://narwhalapi.com/zh/api/commodities/fuel.md)

月度基准涵盖70个序列，包括软商品、油脂和油籽、金属、谷物、能源、化肥、林产品以及畜牧和乳制品。历史最早可追溯至1960年。部分序列起始较晚或已结束。价格以 USD 计价，并保留发布时的单位。来源: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

[探索商品历史价格 API](https://narwhalapi.com/zh/api/commodities/historical.md)

自2026年11月14日起，实物价格路由还提供51个直接从发布方公开页面读取的序列：37个来自Shanghai Metals Market（SMM），另外14个来自Cameco（铀现货）、Umicore（铑）、CEPEA（巴西结晶糖）、International Pepper Community（胡椒）、National Egg Coordination Committee（NECC，印度鸡蛋）、Methanex（甲醇挂牌价）、Thai Rice Exporters Association（白米5%）、Thai Tapioca Trade Association（木薯）、Ship & Bunker（新加坡船用燃料）和ChemPortal（中国萤石）。每个价格每天从发布方页面读取一次，任务于11:00 UTC开始，并在存储前由普通代码与页面核对。序列会保留最后一次发布的价格，直到页面显示新价格。这些序列中43个为每日，5个为每周，3个为每月。它们属于金属、能源、软商品、谷物以及畜牧和乳制品类别。每个序列都以发布方名称作为出处。

本次发布涵盖印度尼西亚 CPO 政府参考价、印度尼西亚 FFB 收购价目表、马来西亚 CPO 本地交货市场均价和马来西亚 FFB 地区参考价。它们属于不同序列，各自具有不同含义和原始单位。

各序列的历史起始日期不同，且存在已注明的来源缺口。不包含 FCPO 期货。请参阅 [大宗商品覆盖范围](https://narwhalapi.com/zh/coverage.md#commodities) 以及 [方法](https://narwhalapi.com/zh/methodology/commodities.md) ，了解具体限制。

使用 Narwhal API 密钥即可访问。

## 从免费密钥开始

每月赠送 10 美元免费额度，无需绑卡。每月 10 美元免费额度，无需绑卡。

[获取免费 API 密钥](https://narwhalapi.com/zh/signup)

此页面对你有帮助吗?
