Country details by ISO code via the World Bank
world_countryCountry details by ISO code via the World Bank. Returns name, ISO codes, capital, region, income and lending level, and coordinates for a country. Use for country reference data. Price $0.005 per call (x402: USDC on Base or Solana).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "world_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | Alternative to the X-Payment-Tx header | |
| code | Yes | ISO 3166-1 alpha-2 or alpha-3 country code |