Light Mode
Country Details
GET
/countries/{country}Last modified: 2 months 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: 2 months ago