Aller au contenu
Skillpedia
Analyse et tableurs90k · #1347

lookup-bilateral-tariff

Ce qu’il fait

Cette skill trouve le droit de douane qu'un produit précis paie lorsqu'un pays l'importe d'un autre. Elle s'adresse aux importateurs, aux exportateurs et aux chercheurs qui vérifient les droits entre deux pays.

Quand l’utiliser

  • ✓Quand on vous demande quel droit un produit précis paie entre deux pays.
  • ✓Quand vous voulez savoir si un accord commercial réduit un droit de douane.
  • ✓Quand vous comparez les droits sur le même produit venant de différents pays exportateurs.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Quel droit de douane ce code produit à 6 chiffres paie-t-il lorsque l'Allemagne l'importe du Japon, et un accord commercial le réduit-il ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA appelle le service de droits bilatéraux avec le code produit et les deux pays. Elle rapporte le taux général et tout taux préférentiel applicable, et indique ce que ce taux ne couvre pas.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Qu'est-ce que le taux ne couvre pas ?

La skill indique qu'il exclut les droits supplémentaires comme les mesures 301 ou 232 américaines, les droits antidumping et les mesures de sauvegarde.

Quelle skill utiliser pour les droits américains ?

La skill indique d'utiliser la skill séparée sur les droits d'importation américains pour les droits actuels des États-Unis.

Faut-il un forfait payant ?

Oui. La skill indique que l'opération est réservée aux abonnés Pro, et qu'une clé gratuite reçoit des données vides ou une réponse 403.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
90k
Position au classement
#1347
Licence
AGPL-3.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires