Wits Trade
international__wits-tradeQuery World Bank trade data (exports, imports, balance) by country and year to analyze international trade indicators with quality-scored results.
Instructions
[International Data Agent] Query World Bank trade indicators (exports, imports, trade balance) by country and year. Uses World Bank Development Indicators API. Source: World Bank (CC BY 4.0), updates monthly. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO country code (e.g. USA, CHN, DEU) | USA |
| year | No | Data year (World Bank WITS data lags ~2 years) | |
| indicator | No | World Bank indicator ID (NE.EXP.GNFS.CD = exports, NE.IMP.GNFS.CD = imports, NE.TRD.GNFS.ZS = trade % of GDP) | NE.EXP.GNFS.CD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |