Singapore Customs 本周汇率与官方 API

Singapore Customs汇率 API:官方每周SGD汇率,21 种货币,支持 JSON、CSV、XLSX,历史数据自 1988 年起,适用于税务、海关与审计。免费 API 密钥。

By Madhushan, Founder & Lead Developer ·

Singapore flagSingapore Customs 官方每周汇率,JSON 格式:21 种货币兑 SGD,历史数据可追溯至 1988 年。最新汇率表适用于所有套餐。获取 API 密钥。

关于 Singapore Customs

Singapore Customs converts the foreign-currency value of imports into Singapore dollars for GST and duty using the previous week's average exchange rate as computed by the Monetary Authority of Singapore. Each weekly table is in force from the Monday after the week it averages, in Singapore dollars per unit of foreign currency.

快速开始

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

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

一次请求获取所需货币对 — 按 Singapore Customs 官方汇率查询 USD 兑 SGD:

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

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

{
  "bank": "sgcustoms",
  "name": "Singapore Customs",
  "rate_date": "2026-11-30",
  "source": "USD",
  "target": "SGD",
  "rate": 1.2903,
  "rate_type": "weekly",
  "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/sgcustoms/latest" \
  -H "Authorization: Bearer art_live_your_key"

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

{
  "bank": "sgcustoms",
  "name": "Singapore Customs",
  "rate_date": "2026-11-30",
  "age_days": 4,
  "stale": false,
  "cadence": "weekly",
  "rates": [
    {"base":"AED","quote":"SGD","type":"weekly","value":0.3513},
    {"base":"AUD","quote":"SGD","type":"weekly","value":0.8559},
    {"base":"CAD","quote":"SGD","type":"weekly","value":0.9032},
    {"base":"CHF","quote":"SGD","type":"weekly","value":1.5422},
    … 17 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/sgcustoms/history?source=USD&target=SGD&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

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

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

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

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

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

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

基准报价类型汇率
AED SGD weekly 0.3513
AUD SGD weekly 0.8559
CAD SGD weekly 0.9032
CHF SGD weekly 1.5422
CNY SGD weekly 0.1936
EUR SGD weekly 1.4136
GBP SGD weekly 1.6893
HKD SGD weekly 0.1646
IDR SGD weekly 0.00007053
INR SGD weekly 0.013924
JPY SGD weekly 0.008108
KRW SGD weekly 0.00096
MYR SGD weekly 0.3134
NZD SGD weekly 0.7059
PHP SGD weekly 0.020242
QAR SGD weekly 0.354
SAR SGD weekly 0.3439
THB SGD weekly 0.037944
TWD SGD weekly 0.039151
USD SGD weekly 1.2903
VND SGD weekly 0.00004998

为什么使用 Singapore Customs 官方汇率?

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

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

端点

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

Monetary Authority of Singapore官方汇率 API

很多企业两种汇率都需要:Singapore Customs确定的汇率用于向该机构申报,Monetary Authority of Singapore的官方汇率用于发票、会计和审计。同一个 API 密钥即可获取两者,JSON 格式相同,每条响应都注明各机构自己的汇率日期和来源。

Monetary Authority of Singapore官方汇率(2026-12-03): 1 USD = 1.2951 SGD

用途接口套餐
最新官方汇率表/api/v1/central-bank/mas/latest所有套餐,包括免费密钥
某一历史日期的汇率/api/v1/central-bank/mas/YYYY-MM-DD付费套餐
日期区间,每天一行/api/v1/central-bank/mas/history付费套餐
以 CSV、XML 或 Excel 代替 JSON上述任一接口加 format=csv、xml 或 xlsx与对应接口相同

最新官方 USD/SGD 汇率:

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

某一日期的官方汇率(用于发票或纳税申报):

curl "https://allratestoday.com/api/v1/central-bank/mas/2026-12-03?source=USD&target=SGD" \
  -H "Authorization: Bearer art_live_your_key"

今年以来的数据,导出为 CSV 文件:

curl "https://allratestoday.com/api/v1/central-bank/mas/history?source=USD&target=SGD&from=2026-01-01&to=2026-12-03&format=csv" \
  -H "Authorization: Bearer art_live_your_key" -o mas-usd-sgd.csv

Monetary Authority of Singapore官方汇率及完整 API 文档 →

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

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

常见问题

Singapore Customs 的汇率有 API 吗?

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

汇率多久更新一次?

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

这些是官方汇率吗?

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

Singapore Customs 汇率,一个 API 密钥

最新汇率表适用于所有套餐;付费套餐历史数据可追溯至 1988 年。无需信用卡。

免费获取 API 密钥 查看文档

Singapore商业银行汇率