lookup-bilateral-tariff
ما الذي تفعله
تجد هذه المهارة التعريفة التي يدفعها منتج محدد عندما يستورده بلد من بلد آخر. وهي موجهة للمستوردين والمصدّرين والباحثين الذين يتحققون من الرسوم بين دولتين.
متى تستخدمها
- ✓عندما يسأل أحد عن الرسم الذي يدفعه منتج محدد بين دولتين.
- ✓عندما تريد معرفة ما إذا كانت اتفاقية تجارية تخفض التعريفة.
- ✓عندما تقارن الرسوم على المنتج نفسه من دول مصدّرة مختلفة.
رابط المهارة
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ما التعريفة على رمز المنتج المكون من 6 أرقام عندما تستورده ألمانيا من اليابان، وهل تخفضها اتفاقية تجارية؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستدعي الذكاء الاصطناعي خدمة التعريفة الثنائية برمز المنتج والدولتين. ويعرض المعدل العام وأي معدل تفضيلي ينطبق، ويذكر ما الذي لا يشمله المعدل.
المحتوى التقني (ملف 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.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
الأسئلة الشائعة
ماذا لا يشمله المعدل؟
تقول المهارة إنه لا يشمل الرسوم الإضافية مثل تعريفات القسم 301 أو 232 الأمريكية، ولا رسوم مكافحة الإغراق ولا إجراءات الوقاية.
أي مهارة أستخدم للرسوم الأمريكية؟
تقول المهارة إن عليك استخدام مهارة رسوم الاستيراد الأمريكية المنفصلة للرسوم الأمريكية الحالية.
هل تحتاج إلى خطة مدفوعة؟
نعم. تقول المهارة إن العملية مقيدة بالاشتراك المدفوع، والمفتاح المجاني يتلقى بيانات فارغة أو استجابة 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
chokepoint-check
90kتعرض الاضطراب الحالي في الممرات البحرية الحيوية، مثل هرمز وقناة السويس وملقا، بما فيها أعداد العبور ومستويات المخاطر.
conflict-pulse
90kتلخص أحداث النزاعات المسلحة وأعمال الشغب الحديثة حسب الموقع، مع تقديرات الوفيات والتواريخ وتقارير الأخبار المطابقة.
country-briefing
90kتعد تقريرا عن المخاطر في دولة واحدة، يشمل مؤشر عدم الاستقرار وتحذير السفر والتعرض للعقوبات والمؤشرات الاقتصادية.
hazard-watch
90kتعرض الزلازل والحرائق وغيرها من المخاطر الطبيعية الحديثة في العالم أو قرب مكان، مع موقعها ووقتها وشدتها.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.