跳到正文
Skillpedia
分析与电子表格90k · #1347

lookup-bilateral-tariff

它能做什么

这个技能查找一个国家从另一个国家进口某一特定产品时需缴纳的关税。适合进口商、出口商和研究人员,用于核查两国之间的税负。

适用场景

  • ✓当有人询问两个国家之间某一特定产品需缴纳什么税款的时候。
  • ✓当你想知道某项贸易协定是否降低了关税的时候。
  • ✓当你要比较不同出口国同一产品的税负的时候。

技能链接

https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“当德国从日本进口这个 6 位产品编码时,需要缴纳什么关税?贸易协定是否会降低它?”

每周 5 个新技能,1 分钟读完。

工作原理

AI 使用产品编码和两个国家调用双边关税服务。它报告一般税率以及适用的优惠税率,并说明该税率未包括哪些内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

lookup-bilateral-tariff

Use this skill when the user asks what tariff a specific product (a 6-digit HS subheading) pays when country A imports it from country B, or whether a trade agreement lowers that rate.

Entitlement: this operation is Pro-gated (entitlement tier ≥ 1). API Starter and API Business keys qualify. A free caller receives empty data with upstreamUnavailable: true, or 403 when the gateway enforces the premium RPC.

What the rate does not include. TRAINS records the MFN schedule and the preferential schedules each importer files. It does not record unilateral additional duties (US Section 301, 232 or IEEPA tariffs), anti-dumping or countervailing duties, or safeguards. For pairs subject to those measures, say that the rate understates what importers pay. For the current US duty on a product, including Section 301 and 232 duties, use lookup-us-import-duty instead; TRAINS has no US preferences after 2021.

Authentication

Server-to-server callers (agents, scripts, SDKs) MUST present an API key in the X-WorldMonitor-Key header. Authorization: Bearer … is for MCP/OAuth or Clerk JWTs — not raw API keys.

X-WorldMonitor-Key: wm_0123456789abcdef0123456789abcdef01234567

Issue a key at https://www.worldmonitor.app/pro.

Endpoint

GET https://api.worldmonitor.app/api/trade/v1/get-bilateral-tariff

Parameters

Name In Required Shape Notes
reporting_country query yes 3-digit UN M49 (840 = US) The importer. EU member states are answered from the EU schedule (918); the response names it in filingReporter.
partner_country query yes 3-digit UN M49 (484 = Mexico) The exporter. 000 returns the MFN rate only.
hs_code query yes 6 digits HS subheading in the importer's nomenclature for that year.
year query no integer 0–2100 0 selects the latest year TRAINS lists for the importer, usually one with preferential schedules on file.
jmespath query no JMESPath, ≤ 1024 chars Server-side projection.

Response shape

{
  "reportingCountry": "840",
  "partnerCountry": "484",
  "hsCode": "870323",
  "filingReporter": "840",
  "year": 2021,
  "nomenclature": "H5",
  "basis": "APPLIED_TARIFF_BASIS_PREFERENTIAL",
  "appliedRate": { "rate": 0, "minRate": 0, "maxRate": 0, "tariffLines": 1, "nonAdValoremLines": 0 },
  "mfnRate": { "rate": 2.5, "minRate": 2.5, "maxRate": 2.5, "tariffLines": 1, "nonAdValoremLines": 0 },
  "preferentialRate": { "rate": 0, "minRate": 0, "maxRate": 0, "tariffLines": 1, "nonAdValoremLines": 0 },
  "groupPreferences": [
    { "groupCode": "A41", "groupName": "Caribbean Basin Economic Recovery Act: USA 2014", "rate": { "rate": 0 } }
  ],
  "source": "UNCTAD TRAINS via World Bank WITS",
  "sourceUrl": "https://wits.worldbank.org/API/V1/SDMX/V21/datasource/TRN/reporter/840/partner/all/product/870323/year/2021/datatype/reported",
  "upstreamUnavailable": false,
  "unavailableReason": "BILATERAL_TARIFF_UNAVAILABLE_REASON_UNSPECIFIED"
}

Read basis before quoting appliedRate:

  • PREFERENTIAL — a partner-specific preferential rate is on file and is lower than MFN.
  • MFN — the importer filed preferential schedules that year and none names this partner for this product, so MFN applies. groupPreferences lists preferences granted to partner groups (GSP lists, regional agreements); membership is not resolved, so check whether the partner belongs before relying on one.
  • MFN_PREFERENCES_NOT_REPORTED — the importer filed no preferential schedules for that year. Only the MFN rate is known; the rate actually applied may be lower. year=0 picks the latest year TRAINS lists, which can itself be MFN-only, so retry with an explicit earlier year that has preferences on file (for the US, 2021 or earlier).

Rates are simple averages, in percent, across the importer's national tariff lines under the HS6 code. When mfnRate.nonAdValoremLines is above 0, specific duties are left out of that average; mfnAveRate then carries the ad valorem equivalent and appliedRate uses it when MFN applies.

unavailableReason is the closed BilateralTariffUnavailableReason enum — NOT_COVERED (no TRAINS row for that importer, product and year) leaves upstreamUnavailable: false; UPSTREAM_UNAVAILABLE sets it true.

Worked example

curl -s --get -H "X-WorldMonitor-Key: $WM_API_KEY" \
  'https://api.worldmonitor.app/api/trade/v1/get-bil
常见问题

这个税率不包括什么?

该技能说明,它不包括附加税,例如美国的第 301 条或第 232 条关税、反倾销税或保障措施。

查询美国的关税应使用哪个技能?

该技能说明,应使用单独的美国进口关税技能查询当前的美国关税。

它需要付费计划吗?

需要。该技能说明,该操作仅限 Pro 用户,免费密钥会收到空数据或 403 响应。

详情

作者的原始描述

Look up the applied tariff on one HS6 product imported by one country from another (MFN, partner-specific preferential, and the best available applied rate), from UNCTAD TRAINS via World Bank WITS. Use when the user asks what duty a specific product pays between two specific countries.

repo: koala73/worldmonitor

热度

GitHub 星标
90k
排名
#1347
许可证
AGPL-3.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能