Country Search
ref_geo_searchSearch and filter countries by region, subregion, language, currency, or free-text keyword. At least one filter is required. Returns a ranked list of matching country summaries. Use ref_geo_lookup to get the full record for a specific result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100). | |
| region | No | Filter by continent region: Africa, Americas, Asia, Europe, Oceania, or Antarctic. | |
| keyword | No | Matches against country name, native name, capital city, and subregion. | |
| currency | No | ISO 4217 currency code (e.g., "EUR") or currency name (e.g., "Euro"). | |
| language | No | ISO 639-1 language code (e.g., "pt") or language name (e.g., "Portuguese"). | |
| subregion | No | Filter by subregion (e.g., "Western Europe", "Southeast Asia", "South America"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Recovery hint when no countries matched — echoes active filters and suggests how to broaden. | |
| results | No | Matching country summaries, up to limit. | |
| truncated | No | True when totalMatches exceeds the limit and results are cut off. | |
| totalMatches | No | Total countries matching the filters before limit is applied. | |
| appliedFilters | No | Active filters applied to the search. |