List Countries
GET
/countriesThis endpoint allows you to list all available countries.
Request
The Pagination page number
Request samples
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.
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."
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
Number of returned results.
Number of all results.
Number of results per page.
Number of current page.
Number of total pages.
Array of linkes to next and previous pages.
{
"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"
}
}
}