Light Mode
List Countries
GET
/countriesLast modified:Â 2 months ago
This endpoint allows you to list all available countries.
Request
Query Params
page
integerÂ
optional
The Pagination page number
Request samples
Responses
Success(200)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966",
"capital": "Riyadh"
},
{
"id": 566146469,
"name": "الامارات",
"name_en": "United Arab Emirates",
"code": "AE",
"mobile_code": "+971",
"capital": "Abu Dhabi"
},
{
"id": 1939592358,
"name": "الكويت",
"name_en": "Kuwait",
"code": "KW",
"mobile_code": "+965",
"capital": "Kuwait City"
},
{
"id": 1298199463,
"name": "قطر",
"name_en": "Qatar",
"code": "QA",
"mobile_code": "+974",
"capital": "Doha"
},
{
"id": 525144736,
"name": "البØرين",
"name_en": "Bahrain",
"code": "BH",
"mobile_code": "+973",
"capital": "Manama"
},
{
"id": 1764372897,
"name": "العراق",
"name_en": "Iraq",
"code": "IQ",
"mobile_code": "+964",
"capital": "Baghdad"
},
{
"id": 989286562,
"name": "عمان",
"name_en": "Oman",
"code": "OM",
"mobile_code": "+968",
"capital": "Muscat"
},
{
"id": 349994915,
"name": "اليمن",
"name_en": "Yemen",
"code": "YE",
"mobile_code": "+967",
"capital": "Sanaa"
},
{
"id": 1723506348,
"name": "مصر",
"name_en": "Egypt",
"code": "EG",
"mobile_code": "+20",
"capital": "Cairo"
},
{
"id": 814202285,
"name": "السودان",
"name_en": "Sudan",
"code": "SD",
"mobile_code": "+249",
"capital": "Khartoum"
},
{
"id": 40688814,
"name": "ليبيا",
"name_en": "Libya",
"code": "LY",
"mobile_code": "+218",
"capital": "Tripoli"
},
{
"id": 1548352431,
"name": "الجزائر",
"name_en": "Algeria",
"code": "DZ",
"mobile_code": "+213",
"capital": "Algiers"
},
{
"id": 773200552,
"name": "تونس",
"name_en": "Tunisia",
"code": "TN",
"mobile_code": "+216",
"capital": "Tunis"
},
{
"id": 2079537577,
"name": "المغرب",
"name_en": "Morocco",
"code": "MA",
"mobile_code": "+212",
"capital": "Rabat"
},
{
"id": 1440241834,
"name": "سوريا",
"name_en": "Syria",
"code": "SY",
"mobile_code": "+963",
"capital": "Damascus"
}
],
"pagination": {
"count": 15,
"total": 240,
"perPage": 15,
"currentPage": 1,
"totalPages": 16,
"links": {
"next": "https://api.salla.dev/admin/v2/countries?page=2"
}
}
}
Last modified: 2 months ago