lookup-bilateral-tariff
Skill này làm gì
Skill này tìm thuế quan mà một sản phẩm cụ thể phải chịu khi một quốc gia nhập khẩu từ quốc gia khác. Skill dành cho nhà nhập khẩu, nhà xuất khẩu và nhà nghiên cứu kiểm tra thuế giữa hai quốc gia.
Khi nào nên dùng
- ✓Khi ai đó hỏi một sản phẩm cụ thể phải chịu thuế gì giữa hai quốc gia.
- ✓Khi bạn muốn biết một hiệp định thương mại có giảm thuế quan hay không.
- ✓Khi bạn so sánh thuế trên cùng một sản phẩm từ các nước xuất khẩu khác nhau.
Liên kết skill
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Mã sản phẩm 6 chữ số này phải chịu thuế gì khi Đức nhập từ Nhật Bản, và một hiệp định thương mại có giảm nó không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI gọi dịch vụ thuế song phương với mã sản phẩm và hai quốc gia. Nó báo mức thuế chung và mức ưu đãi áp dụng nếu có, đồng thời nói rõ mức thuế không bao gồm những gì.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.groupPreferenceslists 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=0picks the latest year TRAINS lists, which can itself be MFN-only, so retry with an explicit earlieryearthat 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
Câu hỏi thường gặp
Mức thuế không bao gồm những gì?
Skill nói không bao gồm thuế bổ sung như thuế Mục 301 hoặc 232 của Hoa Kỳ, thuế chống bán phá giá hoặc biện pháp tự vệ.
Tôi nên dùng skill nào cho thuế Hoa Kỳ?
Skill nói nên dùng skill thuế nhập khẩu Hoa Kỳ riêng để biết thuế hiện hành.
Nó có cần gói trả phí không?
Có. Skill nói thao tác này bị giới hạn theo gói Pro, và khóa miễn phí sẽ nhận dữ liệu rỗng hoặc phản hồi 403.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 90k
- Vị trí xếp hạng
- #1347
- Giấy phép
- AGPL-3.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
chokepoint-check
90kBáo cáo tình trạng gián đoạn vận tải hiện tại tại các điểm nghẽn hàng hải lớn như Hormuz, Suez và Malacca, gồm số lượt đi qua và mức rủi ro.
conflict-pulse
90kTóm tắt các sự kiện xung đột vũ trang và bất ổn gần đây theo địa điểm, kèm ước tính số người chết, ngày tháng và các bản tin liên quan.
country-briefing
90kLập bản tóm tắt rủi ro cho một quốc gia, bao gồm điểm bất ổn, cảnh báo du lịch, mức phơi nhiễm lệnh trừng phạt và các chỉ số kinh tế.
hazard-watch
90kLiệt kê động đất, cháy rừng và thiên tai khác gần đây trên toàn cầu hoặc gần một địa điểm, kèm vị trí, thời gian và mức độ nghiêm trọng.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.