Connector Details
Type
Virtual machines, Single VM , BYOL
Runs on
Google Compute Engine
Last Update
24 October, 2024
Category
REST Countries API
Connector Details
Type
Virtual machines, Single VM , BYOL
Runs on
Google Compute Engine
Last Update
24 October, 2024
Category
Overview
The REST Countries API provides a RESTful interface to access comprehensive country data, including names, flags, regions, languages, currencies, and more. It is designed to support applications needing geographical and demographic information about countries worldwide. The API supports various endpoints to retrieve country data based on different criteria such as names, codes, currencies, languages, and regions.
Integration Overview
The REST Countries API offers the following integration points to query country-related data:
Supported Integration Action Points
Detailed Integration Documentation
Get All Countries
Operation ID
Get All Countries
Purpose
Retrieves a list of all countries with optional field filtering to customize the response data.
Input Details
Output:
Workflow Example
1. Send a GET request to /all?fields=name,flags.
2. Parse the JSON response to extract country names and flag URLs.
3. Use the data for display or further processing in your application.
Get Independent Countries
Operation ID
getIndependentCountries
Purpose
Retrieves a list of countries that are independent.
Input Details
Output
Workflow Example
1. Send a GET request to /independent?status=true.
2. Process the response to display or analyze independent countries.
Get Country by Name
Operation ID
getCountryByName
Purpose
Retrieves country details by full or partial name match.
Input Details
Output
Workflow Example
1. Send a GET request to /name/Canada?fullText=true.
2. Extract country details such as population, capital, or flag from the response.
Get Country by Code
Operation ID
getCountryByCode
Purpose
Retrieves country details using ISO 3166-1 alpha-2 or alpha-3 codes.
Input Details
Output
Workflow Example
1. Send a GET request to /alpha/US.
2. Use the response data to display country-specific information.
Get Countries by Codes
Operation ID
getCountriesByCodes
Purpose
Retrieves details for multiple countries using a list of ISO codes.
Input Details
Output
Workflow Example
1. Send a GET request to /alpha?codes=US,GB,FR.
2. Process the response to compare or display data for multiple countries.
Get Countries by Currency
Operation ID
getCountriesByCurrency
Purpose
Retrieves countries that use a specific currency.
Input Details
Output
Workflow Example
1. Send a GET request to /currency/usd.
2. Use the response to analyze countries sharing the same currency.
Get Countries by Demonym
Operation ID
getCountriesByDemonym
Purpose
Retrieves countries based on their demonym (e.g., “American”).
Input Details
Output
Workflow Example
1. Send a GET request to /demonym/American.
2. Extract relevant country data for further use.
Get Countries by Language
Operation ID
getCountriesByLanguage
Purpose
Retrieves countries where a specific language is spoken.
Input Details
Output
Workflow Example
1. Send a GET request to /lang/en.
2. Use the response to identify countries with a common language.
Get Countries by Capital
Operation ID
getCountriesByCapital
Purpose
Retrieves countries with a specific capital city.
Input Details
Output
Workflow Example
1. Send a GET request to /capital/Paris.
2. Process the response to display country details for the capital.
Get Countries by Region
Operation ID
getCountriesByRegion
Purpose
Retrieves countries within a specific region (e.g., “Europe”).
Input Details
Output
Workflow Example
1. Send a GET request to /region/Europe.
2. Use the response to analyze or display regional country data.
Get Countries by Subregion
Operation ID
getCountriesBySubregion
Purpose
Retrieves countries within a specific subregion (e.g., “Northern Europe”).
Input Details
Output
Workflow Example
1. Send a GET request to /subregion/Northern Europe.
2. Process the response to focus on subregional data.
Get Countries by Translation
Operation ID
getCountriesByTranslation
Purpose
Retrieves countries based on their translated names (e.g., “Deutschland”).
Input Details
Output
Workflow Example
1. Send a GET request to /translation/Deutschland.
2. Extract country details for the matching translation.
Generic Service with Field Filtering
Operation ID
getGenericService
Purpose
Provides a flexible endpoint to query any service with customizable field filtering.
Input Details
Output
Workflow Example
1. Send a GET request to /all?fields=name,flags,region.
2. Parse the response to extract specific fields for the requested service.
Workflow Creation with the API
Example Workflow: Building a Country Information Dashboard
Fetch All Countries
Filter by Region
Retrieve Detailed Country Data
Monitor API Responses
Additional Notes
Pricing
iSolution logo - white - transparent 250 px
Register To The Future Fabric Event
[forminator_form id=”14485″]
[forminator_form id=”14419″]
[forminator_form id=”14298″]
[forminator_form id=”13094″]