Country Details
GET
/countries/{country}This endpoint allows you to return the details for a specific country by passing the country
as a path parameter.
Request
The Country ID
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
Detailed structure of the country model object showing its fields and data types.
A unique identifier assigned to a specific country for purposes of data management or classification.
The official or commonly used name of a specific nation or geographic region.
Country name expressed in English characters.
Country iso code , a standardized, three-letter code assigned to each country by the International Organization for Standardization (ISO) for easy identification and data exchange.
The international dialing code used to make phone calls to a specific country from abroad, also known as the country's "calling code."
{
"success": true,
"status": 200,
"data": {
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966",
"capital": "Riyadh"
}
}