Country reference data
ref_countryLook up a country by ISO 3166 alpha-2, alpha-3, numeric code or name. Returns ISO codes, official name, capital, region and sub-region, continent, currency (ISO 4217), international calling code, internet TLD, languages and flag emoji. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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": {
"country": "<country>"
},
"name": "ref_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO code (AE, ARE, 784) or country name |