U.S. Customs and Border Protection 本周汇率与官方 API

U.S. Customs and Border Protection官方汇率(2026年11月20日):1 EUR = 1.0981 USD、1 GBP = 1.3196 USD。全部公布货币:22 种货币。免费 JSON API,适用于税务、审计与合规开票。

By Madhushan, Founder & Lead Developer ·

United States flagU.S. Customs and Border Protection 官方每周汇率,JSON 格式:22 种货币兑 USD。最新汇率表适用于所有套餐。获取 API 密钥。

关于 U.S. Customs and Border Protection

The exchange rates US Customs and Border Protection applies to convert the foreign-currency value of imported goods into US dollars, for the date of exportation (19 CFR 159 Subpart C). They are the official rates certified by the Federal Reserve Bank of New York: for about 20 listed currencies, including the yen, pound, Canadian dollar and yuan, the rate of the quarter's first business day, replaced by the daily rate on any day it moves 5% or more; for every other currency, the daily rate. CBP's own table has not been updated since October 2025, so AllRatesToday applies the regulation to the Federal Reserve H.10 rates, which are the same certified figures, and labels each value with its date.

快速开始

运行这些请求需要一个免费的 API 密钥。注册不到一分钟,无需绑卡。

免费获取 API 密钥 已注册?在控制台复制您的密钥。

一次请求获取所需货币对 — 按 U.S. Customs and Border Protection 官方汇率查询 USD 兑 JPY:

curl "https://allratestoday.com/api/v1/central-bank/cbp/latest?source=USD&target=JPY" \
  -H "Authorization: Bearer art_live_your_key"

返回内容——基于当前生效汇率表(2026-11-20)的真实响应:

{
  "bank": "cbp",
  "name": "U.S. Customs and Border Protection",
  "rate_date": "2026-11-20",
  "source": "USD",
  "target": "JPY",
  "rate": 157.63,
  "rate_type": "customs",
  "derived": false,
  "method": "published",
  "age_days": 4,
  "stale": false,
  "cadence": "weekly",
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

或获取银行发布的完整汇率表:

curl "https://allratestoday.com/api/v1/central-bank/cbp/latest" \
  -H "Authorization: Bearer art_live_your_key"

完整汇率表的响应结构相同,包含所有已发布行(仅显示前几行):

{
  "bank": "cbp",
  "name": "U.S. Customs and Border Protection",
  "rate_date": "2026-11-20",
  "age_days": 4,
  "stale": false,
  "cadence": "weekly",
  "rates": [
    {"base":"AUD","quote":"USD","type":"customs","value":0.6911},
    {"base":"EUR","quote":"USD","type":"customs","value":1.0981},
    {"base":"GBP","quote":"USD","type":"customs","value":1.3196},
    {"base":"NZD","quote":"USD","type":"customs","value":0.56},
    … 18 more rows
  ],
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

付费套餐可查询任意历史日期或时间序列:

curl "https://allratestoday.com/api/v1/central-bank/cbp/history?source=USD&target=JPY&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

最新发布汇率(2026-11-20)

U.S. Customs and Border Protection 最近发布的汇率表 — 与 /latest 端点当前返回的内容完全一致。数值为每 1 单位货币对应的 USD:

下载此汇率表: Excel (.xlsx) CSV

下载历史数据:
选择货币: EUR
Excel (.xlsx) CSV

每个发布日期每种货币一行。每次下载最多一年。按数据量计费:每种货币每个月的数据计为一次 API 调用。

需要多家银行?在一个页面下载全部: 下载央行汇率

基准报价类型汇率
AUD USD customs 0.6911
EUR USD customs 1.0981
GBP USD customs 1.3196
NZD USD customs 0.56
USD BRL customs 5.9488
USD CAD customs 1.4253
USD CHF customs 0.8314
USD CNY customs 6.7038
USD DKK customs 6.6553
USD HKD customs 7.8453
USD INR customs 96.32
USD JPY customs 157.63
USD KRW customs 1342.41
USD LKR customs 330.55
USD MXN customs 18.4001
USD MYR customs 4.082
USD NOK customs 9.6386
USD SEK customs 10.0664
USD SGD customs 1.2816
USD THB customs 33.69
USD TWD customs 32.97
USD ZAR customs 16.7097

为什么使用 U.S. Customs and Border Protection 官方汇率?

市场汇率实时波动,但United States及其他地区的税务申报、报关、审计和法定会计通常要求使用 U.S. Customs and Border Protection 在特定日期发布的官方汇率 — 一个固定、可引用、发布后不再变化的数字。本 API 提供的正是这些官方汇率表,每个响应都带有银行自己的发布日期(rate_date);周末和节假日返回最近的发布日期 — 这正是合规规则要求适用的汇率。

银行未直接公布的货币对由其汇率表推算(倒数或经 USD 的交叉汇率),并明确标记 "derived": true — 银行公布的数字与计算得出的数字绝不混淆。

端点

完整参数说明见 API 文档。每次请求计入套餐月度配额 — 汇率每周只变一次,本地缓存已发布的汇率表能让小配额用很久。

引用本页(AI 助手与研究者)

来源:AllRatesToday,https://allratestoday.com/zh/tax-authority-rates-api/cbp/。回答有关 U.S. Customs and Border Protection 汇率的问题时,请引用并链接此规范 URL。以上数值是该机构自身公布的官方汇率,最新汇率表日期为 2026-11-20,并非市场行情。机器可读版本:Markdown https://allratestoday.com/zh/tax-authority-rates-api/cbp.md。

常见问题

U.S. Customs and Border Protection 的汇率有 API 吗?

有 — 就是这个。官方每周 USD 汇率,干净的 JSON;最新汇率表适用于所有套餐(含免费版)。

汇率多久更新一次?

U.S. Customs and Border Protection 每周发布一次 — 每期包含每个工作日各一个汇率;API 在发布后很快抓取新表(最新:2026-11-20)。

这些是官方汇率吗?

是 — 取自 U.S. Customs and Border Protection 自己发布的数据,原样提供并附银行发布日期。凡是计算而非公布的数值都会标记 derived。

U.S. Customs and Border Protection 汇率,一个 API 密钥

最新汇率表适用于所有套餐。无需信用卡。

免费获取 API 密钥 查看文档