Light Mode
Country Details
GET
/countries/{country}Last modified:Â 23 days ago
This endpoint allows you to return the details for a specific country by passing the country
as a path parameter.
Request
Path Params
country
integerÂ
required
The Country ID
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"success": true,
"status": 200,
"data": {
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966",
"capital": "Riyadh"
}
}
Last modified: 23 days ago