Get List of Countries in the world
https://core.hisend.hunnovate.com/api/v1/locations/countries?api_key={api_key}
Query Params
page string optional default to 1
Page number
per_page string optional default to 30
Number of projects per page
search string optional
Search in all projects by name or description
api_key string required
The api key from your dashboard
200 Success Response Example
{
"current_page": 1,
"data": [
{
"id": 196,
"planet_id": 3,
"continent_id": 3,
"code": "AF",
"name": "Afghanistan",
"official_name": "Islamic Republic of Afghanistan",
"tld": ".af",
"iso2": "AF",
"iso3": "AFG",
"region": "Asia",
"sub_region": "Southern Asia",
"capital": "Kabul",
"currency_code": "AFN",
"currency_name": "Afghan afghani",
"currency_symbol": "؋",
"language_code": "prs",
"language_name": "Dari",
"phone_code_prefix": +9,
"phone_code_suffix": [
3,
],
"timezone": "UTC+04:30",
"flag": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Flag_of_the_Taliban.svg/320px-Flag_of_the_Taliban.svg.png",
"coordinates": [
33,
65,
],
"map": "https://goo.gl/maps/BXBGw7yUUFknCfva9",
"postal_code": null,
"created_at": "2025-05-02T15:04:47.000000Z",
"updated_at": "2025-05-02T15:04:47.000000Z",
},
{
"id": 90,
"planet_id": 3,
"continent_id": 4,
"code": "AX",
"name": "Åland Islands",
"official_name": "Åland Islands",
"tld": ".ax",
"iso2": "AX",
"iso3": "ALA",
"region": "Europe",
"sub_region": "Northern Europe",
"capital": "Mariehamn",
"currency_code": "EUR",
"currency_name": "Euro",
"currency_symbol": "€",
"language_code": "swe",
"language_name": "Swedish",
"phone_code_prefix": +3,
"phone_code_suffix": [
5818,
],
"timezone": "UTC+02:00",
"flag": "https://flagcdn.com/w320/ax.png",
"coordinates": [
60.116667,
19.9,
],
"map": "https://goo.gl/maps/ewFb3vYsfUmVCoSb8",
"postal_code": null,
"created_at": "2025-05-02T15:04:47.000000Z",
"updated_at": "2025-05-02T15:04:47.000000Z",
},
],
"first_page_url": "https://core.hisend.hunnovate.com/api/v1/countries?page=1",
"from": 1,
"last_page": 126,
"last_page_url": "https://core.hisend.hunnovate.com/api/v1/countries?page=126",
"links": [
{
"url": null,
"label": "« Previous",
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=1",
"label": 1,
"active": true,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=2",
"label": 2,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=3",
"label": 3,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=4",
"label": 4,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=5",
"label": 5,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=6",
"label": 6,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=7",
"label": 7,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=8",
"label": 8,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=9",
"label": 9,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=10",
"label": 10,
"active": false,
},
{
"url": null,
"label": "...",
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=125",
"label": 125,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=126",
"label": 126,
"active": false,
},
{
"url": "https://core.hisend.hunnovate.com/api/v1/countries?page=2",
"label": "Next »",
"active": false,
},
],
"next_page_url": "https://core.hisend.hunnovate.com/api/v1/countries?page=2",
"path": "https://core.hisend.hunnovate.com/api/v1/countries",
"per_page": 2,
"prev_page_url": null,
"to": 2,
"total": 252,
}