Categories

Country Information

Get detailed information about any country including capital, currency, population, and more

Key Facts

Category
Geography
Input Types
text, select, checkbox
Output Type
json
Sample Coverage
4
API Ready
Yes

Overview

The Country Information tool provides instant access to essential geographic, demographic, and economic data for any nation worldwide. Simply enter a country name, ISO code, or calling code to retrieve accurate details including capital cities, official currencies, and population statistics.

When to Use

  • When you need to quickly verify geographic facts or national data for research or reports.
  • When you are building applications that require standardized country information based on ISO codes.
  • When you need to identify a country's origin based on its international calling code.

How It Works

  • Select your preferred search method: by country name, 2-letter ISO code, or international calling code.
  • Enter the specific identifier into the input field.
  • Toggle the 'Include Full Details' option to choose between a summary or a comprehensive data profile.
  • Submit the request to receive a structured JSON response containing the requested national information.

Use Cases

Academic research for geography projects and international studies.
Data validation for web forms requiring country-specific inputs.
Quick reference for travelers or business professionals needing local currency and capital information.

Examples

1. Verifying National Data

Researcher
Background
A researcher needs to compile a list of capitals and currencies for a comparative study on global economies.
Problem
Manually searching for each country is time-consuming and prone to data entry errors.
How to Use
Enter the country name and ensure 'Include Full Details' is checked to get all relevant economic data at once.
Outcome
The tool returns a JSON object containing the capital, currency, and population, which can be directly exported to the research spreadsheet.

2. ISO Code Lookup

Web Developer
Background
A developer is setting up a user registration form and needs to map 2-letter ISO codes to full country names.
Problem
Need a reliable way to verify that the ISO codes being used in the database are correct.
How to Use
Select 'ISO Code (2-letter)' in the search options and input the code (e.g., 'JP').
Outcome
The tool confirms the country name 'Japan', allowing the developer to validate their form inputs accurately.

Try with Samples

geography

Related Hubs

FAQ

Can I search for a country using its calling code?

Yes, select 'Calling Code' in the search options and enter the numeric code to find the associated country.

What information is included in the full details?

The full details typically include the capital city, official currency, population count, region, and ISO country codes.

Is the data provided in real-time?

The tool accesses a reliable database of geographic information to ensure the facts provided are current and accurate.

Can I search for multiple countries at once?

No, this tool is designed to process one country query at a time for optimal accuracy.

What format is the output?

The output is returned in a clean, structured JSON format, making it easy to integrate into other applications or documents.

API Documentation

Request Endpoint

POST /en/api/tools/country-info

Request Parameters

Parameter Name Type Required Description
country text Yes -
searchBy select No -
includeDetails checkbox No -

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-country-info": {
      "name": "country-info",
      "description": "Get detailed information about any country including capital, currency, population, and more",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=country-info",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]