lookup-bilateral-tariff
O que ela faz
Esta skill encontra a tarifa que um produto específico paga quando um país o importa de outro. Ela é para importadores, exportadores e pesquisadores que verificam impostos entre dois países.
Quando usar
- ✓Quando alguém pergunta qual imposto um produto específico paga entre dois países.
- ✓Quando você quer saber se um acordo comercial reduz uma tarifa.
- ✓Quando está comparando impostos sobre o mesmo produto vindo de países exportadores diferentes.
Link da skill
https://github.com/koala73/worldmonitor/blob/main/public/.well-known/agent-skills/lookup-bilateral-tariff/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Qual tarifa este código de produto de 6 dígitos paga quando a Alemanha importa do Japão, e um acordo comercial a reduz?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA chama o serviço bilateral de tarifas com o código do produto e os dois países. Informa a alíquota geral e qualquer alíquota preferencial que se aplique, e observa o que a alíquota deixa de fora.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
O que a alíquota deixa de fora?
A skill diz que não inclui tarifas adicionais como as Seções 301 e 232 dos EUA, direitos antidumping nem salvaguardas.
Qual skill devo usar para tarifas dos EUA?
A skill diz para usar a skill separada de imposto de importação dos EUA para tarifas atuais dos EUA.
Precisa de um plano pago?
Sim. A skill diz que a operação é restrita ao plano Pro, e uma chave gratuita recebe dados vazios ou uma resposta 403.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 90 mil
- Posição no ranking
- #1347
- Licença
- AGPL-3.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
chokepoint-check
90 milInforma a interrupção atual no transporte marítimo em grandes gargalos, como Ormuz, Suez e Malaca, com contagens de passagens e níveis de risco.
conflict-pulse
90 milResume conflitos armados e agitações recentes por local, com estimativas de mortes, datas e reportagens correspondentes.
country-briefing
90 milMonta um briefing de risco para um país, cobrindo seu índice de instabilidade, alerta de viagem, exposição a sanções e indicadores econômicos.
hazard-watch
90 milLista terremotos, incêndios florestais e outros riscos naturais recentes no mundo ou perto de um local, com localização, horário e gravidade.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.