Countries
curl --request POST \
--url https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"complete": true,
"count": 164,
"next_cursor": null,
"observed_at_ms": 1789178518688,
"records": [
{
"country": "Afghanistan",
"iso3": "AFG",
"source_url": "https://data.worldhappiness.report/country/AFG"
},
{
"country": "Angola",
"iso3": "AGO",
"source_url": "https://data.worldhappiness.report/country/AGO"
},
{
"country": "Albania",
"iso3": "ALB",
"source_url": "https://data.worldhappiness.report/country/ALB"
},
{
"country": "United Arab Emirates",
"iso3": "ARE",
"source_url": "https://data.worldhappiness.report/country/ARE"
},
{
"country": "Argentina",
"iso3": "ARG",
"source_url": "https://data.worldhappiness.report/country/ARG"
},
{
"country": "Armenia",
"iso3": "ARM",
"source_url": "https://data.worldhappiness.report/country/ARM"
},
{
"country": "Australia",
"iso3": "AUS",
"source_url": "https://data.worldhappiness.report/country/AUS"
},
{
"country": "Austria",
"iso3": "AUT",
"source_url": "https://data.worldhappiness.report/country/AUT"
},
{
"country": "Azerbaijan",
"iso3": "AZE",
"source_url": "https://data.worldhappiness.report/country/AZE"
},
{
"country": "Burundi",
"iso3": "BDI",
"source_url": "https://data.worldhappiness.report/country/BDI"
},
{
"country": "Belgium",
"iso3": "BEL",
"source_url": "https://data.worldhappiness.report/country/BEL"
},
{
"country": "Benin",
"iso3": "BEN",
"source_url": "https://data.worldhappiness.report/country/BEN"
},
{
"country": "Burkina Faso",
"iso3": "BFA",
"source_url": "https://data.worldhappiness.report/country/BFA"
},
{
"country": "Bangladesh",
"iso3": "BGD",
"source_url": "https://data.worldhappiness.report/country/BGD"
},
{
"country": "Bulgaria",
"iso3": "BGR",
"source_url": "https://data.worldhappiness.report/country/BGR"
},
{
"country": "Bahrain",
"iso3": "BHR",
"source_url": "https://data.worldhappiness.report/country/BHR"
},
{
"country": "Bosnia and Herzegovina",
"iso3": "BIH",
"source_url": "https://data.worldhappiness.report/country/BIH"
},
{
"country": "Belarus",
"iso3": "BLR",
"source_url": "https://data.worldhappiness.report/country/BLR"
},
{
"country": "Belize",
"iso3": "BLZ",
"source_url": "https://data.worldhappiness.report/country/BLZ"
},
{
"country": "Bolivia",
"iso3": "BOL",
"source_url": "https://data.worldhappiness.report/country/BOL"
},
{
"country": "Brazil",
"iso3": "BRA",
"source_url": "https://data.worldhappiness.report/country/BRA"
},
{
"country": "Bhutan",
"iso3": "BTN",
"source_url": "https://data.worldhappiness.report/country/BTN"
},
{
"country": "Botswana",
"iso3": "BWA",
"source_url": "https://data.worldhappiness.report/country/BWA"
},
{
"country": "Central African Republic",
"iso3": "CAF",
"source_url": "https://data.worldhappiness.report/country/CAF"
},
{
"country": "Canada",
"iso3": "CAN",
"source_url": "https://data.worldhappiness.report/country/CAN"
},
{
"country": "Switzerland",
"iso3": "CHE",
"source_url": "https://data.worldhappiness.report/country/CHE"
},
{
"country": "Chile",
"iso3": "CHL",
"source_url": "https://data.worldhappiness.report/country/CHL"
},
{
"country": "China",
"iso3": "CHN",
"source_url": "https://data.worldhappiness.report/country/CHN"
},
{
"country": "Côte d’Ivoire",
"iso3": "CIV",
"source_url": "https://data.worldhappiness.report/country/CIV"
},
{
"country": "Cameroon",
"iso3": "CMR",
"source_url": "https://data.worldhappiness.report/country/CMR"
},
{
"country": "DR Congo",
"iso3": "COD",
"source_url": "https://data.worldhappiness.report/country/COD"
},
{
"country": "Congo",
"iso3": "COG",
"source_url": "https://data.worldhappiness.report/country/COG"
},
{
"country": "Colombia",
"iso3": "COL",
"source_url": "https://data.worldhappiness.report/country/COL"
},
{
"country": "Comoros",
"iso3": "COM",
"source_url": "https://data.worldhappiness.report/country/COM"
},
{
"country": "Costa Rica",
"iso3": "CRI",
"source_url": "https://data.worldhappiness.report/country/CRI"
},
{
"country": "Cuba",
"iso3": "CUB",
"source_url": "https://data.worldhappiness.report/country/CUB"
},
{
"country": "Cyprus",
"iso3": "CYP",
"source_url": "https://data.worldhappiness.report/country/CYP"
},
{
"country": "Czechia",
"iso3": "CZE",
"source_url": "https://data.worldhappiness.report/country/CZE"
},
{
"country": "Germany",
"iso3": "DEU",
"source_url": "https://data.worldhappiness.report/country/DEU"
},
{
"country": "Djibouti",
"iso3": "DJI",
"source_url": "https://data.worldhappiness.report/country/DJI"
},
{
"country": "Denmark",
"iso3": "DNK",
"source_url": "https://data.worldhappiness.report/country/DNK"
},
{
"country": "Dominican Republic",
"iso3": "DOM",
"source_url": "https://data.worldhappiness.report/country/DOM"
},
{
"country": "Algeria",
"iso3": "DZA",
"source_url": "https://data.worldhappiness.report/country/DZA"
},
{
"country": "Ecuador",
"iso3": "ECU",
"source_url": "https://data.worldhappiness.report/country/ECU"
},
{
"country": "Egypt",
"iso3": "EGY",
"source_url": "https://data.worldhappiness.report/country/EGY"
},
{
"country": "Spain",
"iso3": "ESP",
"source_url": "https://data.worldhappiness.report/country/ESP"
},
{
"country": "Estonia",
"iso3": "EST",
"source_url": "https://data.worldhappiness.report/country/EST"
},
{
"country": "Ethiopia",
"iso3": "ETH",
"source_url": "https://data.worldhappiness.report/country/ETH"
},
{
"country": "Finland",
"iso3": "FIN",
"source_url": "https://data.worldhappiness.report/country/FIN"
},
{
"country": "France",
"iso3": "FRA",
"source_url": "https://data.worldhappiness.report/country/FRA"
},
{
"country": "Gabon",
"iso3": "GAB",
"source_url": "https://data.worldhappiness.report/country/GAB"
},
{
"country": "United Kingdom",
"iso3": "GBR",
"source_url": "https://data.worldhappiness.report/country/GBR"
},
{
"country": "Georgia",
"iso3": "GEO",
"source_url": "https://data.worldhappiness.report/country/GEO"
},
{
"country": "Ghana",
"iso3": "GHA",
"source_url": "https://data.worldhappiness.report/country/GHA"
},
{
"country": "Guinea",
"iso3": "GIN",
"source_url": "https://data.worldhappiness.report/country/GIN"
},
{
"country": "Gambia",
"iso3": "GMB",
"source_url": "https://data.worldhappiness.report/country/GMB"
},
{
"country": "Greece",
"iso3": "GRC",
"source_url": "https://data.worldhappiness.report/country/GRC"
},
{
"country": "Guatemala",
"iso3": "GTM",
"source_url": "https://data.worldhappiness.report/country/GTM"
},
{
"country": "Guyana",
"iso3": "GUY",
"source_url": "https://data.worldhappiness.report/country/GUY"
},
{
"country": "Hong Kong SAR of China",
"iso3": "HKG",
"source_url": "https://data.worldhappiness.report/country/HKG"
},
{
"country": "Honduras",
"iso3": "HND",
"source_url": "https://data.worldhappiness.report/country/HND"
},
{
"country": "Croatia",
"iso3": "HRV",
"source_url": "https://data.worldhappiness.report/country/HRV"
},
{
"country": "Haiti",
"iso3": "HTI",
"source_url": "https://data.worldhappiness.report/country/HTI"
},
{
"country": "Hungary",
"iso3": "HUN",
"source_url": "https://data.worldhappiness.report/country/HUN"
},
{
"country": "Indonesia",
"iso3": "IDN",
"source_url": "https://data.worldhappiness.report/country/IDN"
},
{
"country": "India",
"iso3": "IND",
"source_url": "https://data.worldhappiness.report/country/IND"
},
{
"country": "Ireland",
"iso3": "IRL",
"source_url": "https://data.worldhappiness.report/country/IRL"
},
{
"country": "Iran",
"iso3": "IRN",
"source_url": "https://data.worldhappiness.report/country/IRN"
},
{
"country": "Iraq",
"iso3": "IRQ",
"source_url": "https://data.worldhappiness.report/country/IRQ"
},
{
"country": "Iceland",
"iso3": "ISL",
"source_url": "https://data.worldhappiness.report/country/ISL"
},
{
"country": "Israel",
"iso3": "ISR",
"source_url": "https://data.worldhappiness.report/country/ISR"
},
{
"country": "Italy",
"iso3": "ITA",
"source_url": "https://data.worldhappiness.report/country/ITA"
},
{
"country": "Jamaica",
"iso3": "JAM",
"source_url": "https://data.worldhappiness.report/country/JAM"
},
{
"country": "Jordan",
"iso3": "JOR",
"source_url": "https://data.worldhappiness.report/country/JOR"
},
{
"country": "Japan",
"iso3": "JPN",
"source_url": "https://data.worldhappiness.report/country/JPN"
},
{
"country": "Kazakhstan",
"iso3": "KAZ",
"source_url": "https://data.worldhappiness.report/country/KAZ"
},
{
"country": "Kenya",
"iso3": "KEN",
"source_url": "https://data.worldhappiness.report/country/KEN"
},
{
"country": "Kyrgyzstan",
"iso3": "KGZ",
"source_url": "https://data.worldhappiness.report/country/KGZ"
},
{
"country": "Cambodia",
"iso3": "KHM",
"source_url": "https://data.worldhappiness.report/country/KHM"
},
{
"country": "Republic of Korea",
"iso3": "KOR",
"source_url": "https://data.worldhappiness.report/country/KOR"
},
{
"country": "Kuwait",
"iso3": "KWT",
"source_url": "https://data.worldhappiness.report/country/KWT"
},
{
"country": "Lao PDR",
"iso3": "LAO",
"source_url": "https://data.worldhappiness.report/country/LAO"
},
{
"country": "Lebanon",
"iso3": "LBN",
"source_url": "https://data.worldhappiness.report/country/LBN"
},
{
"country": "Liberia",
"iso3": "LBR",
"source_url": "https://data.worldhappiness.report/country/LBR"
},
{
"country": "Libya",
"iso3": "LBY",
"source_url": "https://data.worldhappiness.report/country/LBY"
},
{
"country": "Sri Lanka",
"iso3": "LKA",
"source_url": "https://data.worldhappiness.report/country/LKA"
},
{
"country": "Lesotho",
"iso3": "LSO",
"source_url": "https://data.worldhappiness.report/country/LSO"
},
{
"country": "Lithuania",
"iso3": "LTU",
"source_url": "https://data.worldhappiness.report/country/LTU"
},
{
"country": "Luxembourg",
"iso3": "LUX",
"source_url": "https://data.worldhappiness.report/country/LUX"
},
{
"country": "Latvia",
"iso3": "LVA",
"source_url": "https://data.worldhappiness.report/country/LVA"
},
{
"country": "Morocco",
"iso3": "MAR",
"source_url": "https://data.worldhappiness.report/country/MAR"
},
{
"country": "Republic of Moldova",
"iso3": "MDA",
"source_url": "https://data.worldhappiness.report/country/MDA"
},
{
"country": "Madagascar",
"iso3": "MDG",
"source_url": "https://data.worldhappiness.report/country/MDG"
},
{
"country": "Maldives",
"iso3": "MDV",
"source_url": "https://data.worldhappiness.report/country/MDV"
},
{
"country": "Mexico",
"iso3": "MEX",
"source_url": "https://data.worldhappiness.report/country/MEX"
},
{
"country": "North Macedonia",
"iso3": "MKD",
"source_url": "https://data.worldhappiness.report/country/MKD"
},
{
"country": "Mali",
"iso3": "MLI",
"source_url": "https://data.worldhappiness.report/country/MLI"
},
{
"country": "Malta",
"iso3": "MLT",
"source_url": "https://data.worldhappiness.report/country/MLT"
},
{
"country": "Myanmar",
"iso3": "MMR",
"source_url": "https://data.worldhappiness.report/country/MMR"
},
{
"country": "Montenegro",
"iso3": "MNE",
"source_url": "https://data.worldhappiness.report/country/MNE"
},
{
"country": "Mongolia",
"iso3": "MNG",
"source_url": "https://data.worldhappiness.report/country/MNG"
},
{
"country": "Mozambique",
"iso3": "MOZ",
"source_url": "https://data.worldhappiness.report/country/MOZ"
},
{
"country": "Mauritania",
"iso3": "MRT",
"source_url": "https://data.worldhappiness.report/country/MRT"
},
{
"country": "Mauritius",
"iso3": "MUS",
"source_url": "https://data.worldhappiness.report/country/MUS"
},
{
"country": "Malawi",
"iso3": "MWI",
"source_url": "https://data.worldhappiness.report/country/MWI"
},
{
"country": "Malaysia",
"iso3": "MYS",
"source_url": "https://data.worldhappiness.report/country/MYS"
},
{
"country": "Namibia",
"iso3": "NAM",
"source_url": "https://data.worldhappiness.report/country/NAM"
},
{
"country": "Niger",
"iso3": "NER",
"source_url": "https://data.worldhappiness.report/country/NER"
},
{
"country": "Nigeria",
"iso3": "NGA",
"source_url": "https://data.worldhappiness.report/country/NGA"
},
{
"country": "Nicaragua",
"iso3": "NIC",
"source_url": "https://data.worldhappiness.report/country/NIC"
},
{
"country": "Netherlands",
"iso3": "NLD",
"source_url": "https://data.worldhappiness.report/country/NLD"
},
{
"country": "Norway",
"iso3": "NOR",
"source_url": "https://data.worldhappiness.report/country/NOR"
},
{
"country": "Nepal",
"iso3": "NPL",
"source_url": "https://data.worldhappiness.report/country/NPL"
},
{
"country": "New Zealand",
"iso3": "NZL",
"source_url": "https://data.worldhappiness.report/country/NZL"
},
{
"country": "Oman",
"iso3": "OMN",
"source_url": "https://data.worldhappiness.report/country/OMN"
},
{
"country": "Pakistan",
"iso3": "PAK",
"source_url": "https://data.worldhappiness.report/country/PAK"
},
{
"country": "Panama",
"iso3": "PAN",
"source_url": "https://data.worldhappiness.report/country/PAN"
},
{
"country": "Peru",
"iso3": "PER",
"source_url": "https://data.worldhappiness.report/country/PER"
},
{
"country": "Philippines",
"iso3": "PHL",
"source_url": "https://data.worldhappiness.report/country/PHL"
},
{
"country": "Poland",
"iso3": "POL",
"source_url": "https://data.worldhappiness.report/country/POL"
},
{
"country": "Portugal",
"iso3": "PRT",
"source_url": "https://data.worldhappiness.report/country/PRT"
},
{
"country": "Paraguay",
"iso3": "PRY",
"source_url": "https://data.worldhappiness.report/country/PRY"
},
{
"country": "State of Palestine",
"iso3": "PSE",
"source_url": "https://data.worldhappiness.report/country/PSE"
},
{
"country": "Qatar",
"iso3": "QAT",
"source_url": "https://data.worldhappiness.report/country/QAT"
},
{
"country": "Romania",
"iso3": "ROU",
"source_url": "https://data.worldhappiness.report/country/ROU"
},
{
"country": "Russian Federation",
"iso3": "RUS",
"source_url": "https://data.worldhappiness.report/country/RUS"
},
{
"country": "Rwanda",
"iso3": "RWA",
"source_url": "https://data.worldhappiness.report/country/RWA"
},
{
"country": "Saudi Arabia",
"iso3": "SAU",
"source_url": "https://data.worldhappiness.report/country/SAU"
},
{
"country": "Sudan",
"iso3": "SDN",
"source_url": "https://data.worldhappiness.report/country/SDN"
},
{
"country": "Senegal",
"iso3": "SEN",
"source_url": "https://data.worldhappiness.report/country/SEN"
},
{
"country": "Singapore",
"iso3": "SGP",
"source_url": "https://data.worldhappiness.report/country/SGP"
},
{
"country": "Sierra Leone",
"iso3": "SLE",
"source_url": "https://data.worldhappiness.report/country/SLE"
},
{
"country": "El Salvador",
"iso3": "SLV",
"source_url": "https://data.worldhappiness.report/country/SLV"
},
{
"country": "Somalia",
"iso3": "SOM",
"source_url": "https://data.worldhappiness.report/country/SOM"
},
{
"country": "Serbia",
"iso3": "SRB",
"source_url": "https://data.worldhappiness.report/country/SRB"
},
{
"country": "South Sudan",
"iso3": "SSD",
"source_url": "https://data.worldhappiness.report/country/SSD"
},
{
"country": "Suriname",
"iso3": "SUR",
"source_url": "https://data.worldhappiness.report/country/SUR"
},
{
"country": "Slovakia",
"iso3": "SVK",
"source_url": "https://data.worldhappiness.report/country/SVK"
},
{
"country": "Slovenia",
"iso3": "SVN",
"source_url": "https://data.worldhappiness.report/country/SVN"
},
{
"country": "Sweden",
"iso3": "SWE",
"source_url": "https://data.worldhappiness.report/country/SWE"
},
{
"country": "Eswatini",
"iso3": "SWZ",
"source_url": "https://data.worldhappiness.report/country/SWZ"
},
{
"country": "Syria",
"iso3": "SYR",
"source_url": "https://data.worldhappiness.report/country/SYR"
},
{
"country": "Chad",
"iso3": "TCD",
"source_url": "https://data.worldhappiness.report/country/TCD"
},
{
"country": "Togo",
"iso3": "TGO",
"source_url": "https://data.worldhappiness.report/country/TGO"
},
{
"country": "Thailand",
"iso3": "THA",
"source_url": "https://data.worldhappiness.report/country/THA"
},
{
"country": "Tajikistan",
"iso3": "TJK",
"source_url": "https://data.worldhappiness.report/country/TJK"
},
{
"country": "Turkmenistan",
"iso3": "TKM",
"source_url": "https://data.worldhappiness.report/country/TKM"
},
{
"country": "Trinidad and Tobago",
"iso3": "TTO",
"source_url": "https://data.worldhappiness.report/country/TTO"
},
{
"country": "Tunisia",
"iso3": "TUN",
"source_url": "https://data.worldhappiness.report/country/TUN"
},
{
"country": "Türkiye",
"iso3": "TUR",
"source_url": "https://data.worldhappiness.report/country/TUR"
},
{
"country": "Taiwan Province of China",
"iso3": "TWN",
"source_url": "https://data.worldhappiness.report/country/TWN"
},
{
"country": "Tanzania",
"iso3": "TZA",
"source_url": "https://data.worldhappiness.report/country/TZA"
},
{
"country": "Uganda",
"iso3": "UGA",
"source_url": "https://data.worldhappiness.report/country/UGA"
},
{
"country": "Ukraine",
"iso3": "UKR",
"source_url": "https://data.worldhappiness.report/country/UKR"
},
{
"country": "Uruguay",
"iso3": "URY",
"source_url": "https://data.worldhappiness.report/country/URY"
},
{
"country": "United States",
"iso3": "USA",
"source_url": "https://data.worldhappiness.report/country/USA"
},
{
"country": "Uzbekistan",
"iso3": "UZB",
"source_url": "https://data.worldhappiness.report/country/UZB"
},
{
"country": "Venezuela",
"iso3": "VEN",
"source_url": "https://data.worldhappiness.report/country/VEN"
},
{
"country": "Viet Nam",
"iso3": "VNM",
"source_url": "https://data.worldhappiness.report/country/VNM"
},
{
"country": "Kosovo",
"iso3": "XKX",
"source_url": "https://data.worldhappiness.report/country/XKX"
},
{
"country": "Yemen",
"iso3": "YEM",
"source_url": "https://data.worldhappiness.report/country/YEM"
},
{
"country": "South Africa",
"iso3": "ZAF",
"source_url": "https://data.worldhappiness.report/country/ZAF"
},
{
"country": "Zambia",
"iso3": "ZMB",
"source_url": "https://data.worldhappiness.report/country/ZMB"
},
{
"country": "Zimbabwe",
"iso3": "ZWE",
"source_url": "https://data.worldhappiness.report/country/ZWE"
}
],
"retrieved_at": "2026-09-12T02:01:58.688Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://data.worldhappiness.report",
"warnings": []
}World Happiness Report
Countries
List the dashboard’s geographies as ISO 3166-1 alpha-3 codes with display names (164 entries incl. XKX Kosovo, TWN Taiwan Province of China, HKG Hong Kong SAR of China). Use it to resolve names before calling rankings or panel.
POST
https://api.aisa.one
/
apis
/
v1
/
worldhappiness-report
/
happiness
/
countries
Countries
curl --request POST \
--url https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"complete": true,
"count": 164,
"next_cursor": null,
"observed_at_ms": 1789178518688,
"records": [
{
"country": "Afghanistan",
"iso3": "AFG",
"source_url": "https://data.worldhappiness.report/country/AFG"
},
{
"country": "Angola",
"iso3": "AGO",
"source_url": "https://data.worldhappiness.report/country/AGO"
},
{
"country": "Albania",
"iso3": "ALB",
"source_url": "https://data.worldhappiness.report/country/ALB"
},
{
"country": "United Arab Emirates",
"iso3": "ARE",
"source_url": "https://data.worldhappiness.report/country/ARE"
},
{
"country": "Argentina",
"iso3": "ARG",
"source_url": "https://data.worldhappiness.report/country/ARG"
},
{
"country": "Armenia",
"iso3": "ARM",
"source_url": "https://data.worldhappiness.report/country/ARM"
},
{
"country": "Australia",
"iso3": "AUS",
"source_url": "https://data.worldhappiness.report/country/AUS"
},
{
"country": "Austria",
"iso3": "AUT",
"source_url": "https://data.worldhappiness.report/country/AUT"
},
{
"country": "Azerbaijan",
"iso3": "AZE",
"source_url": "https://data.worldhappiness.report/country/AZE"
},
{
"country": "Burundi",
"iso3": "BDI",
"source_url": "https://data.worldhappiness.report/country/BDI"
},
{
"country": "Belgium",
"iso3": "BEL",
"source_url": "https://data.worldhappiness.report/country/BEL"
},
{
"country": "Benin",
"iso3": "BEN",
"source_url": "https://data.worldhappiness.report/country/BEN"
},
{
"country": "Burkina Faso",
"iso3": "BFA",
"source_url": "https://data.worldhappiness.report/country/BFA"
},
{
"country": "Bangladesh",
"iso3": "BGD",
"source_url": "https://data.worldhappiness.report/country/BGD"
},
{
"country": "Bulgaria",
"iso3": "BGR",
"source_url": "https://data.worldhappiness.report/country/BGR"
},
{
"country": "Bahrain",
"iso3": "BHR",
"source_url": "https://data.worldhappiness.report/country/BHR"
},
{
"country": "Bosnia and Herzegovina",
"iso3": "BIH",
"source_url": "https://data.worldhappiness.report/country/BIH"
},
{
"country": "Belarus",
"iso3": "BLR",
"source_url": "https://data.worldhappiness.report/country/BLR"
},
{
"country": "Belize",
"iso3": "BLZ",
"source_url": "https://data.worldhappiness.report/country/BLZ"
},
{
"country": "Bolivia",
"iso3": "BOL",
"source_url": "https://data.worldhappiness.report/country/BOL"
},
{
"country": "Brazil",
"iso3": "BRA",
"source_url": "https://data.worldhappiness.report/country/BRA"
},
{
"country": "Bhutan",
"iso3": "BTN",
"source_url": "https://data.worldhappiness.report/country/BTN"
},
{
"country": "Botswana",
"iso3": "BWA",
"source_url": "https://data.worldhappiness.report/country/BWA"
},
{
"country": "Central African Republic",
"iso3": "CAF",
"source_url": "https://data.worldhappiness.report/country/CAF"
},
{
"country": "Canada",
"iso3": "CAN",
"source_url": "https://data.worldhappiness.report/country/CAN"
},
{
"country": "Switzerland",
"iso3": "CHE",
"source_url": "https://data.worldhappiness.report/country/CHE"
},
{
"country": "Chile",
"iso3": "CHL",
"source_url": "https://data.worldhappiness.report/country/CHL"
},
{
"country": "China",
"iso3": "CHN",
"source_url": "https://data.worldhappiness.report/country/CHN"
},
{
"country": "Côte d’Ivoire",
"iso3": "CIV",
"source_url": "https://data.worldhappiness.report/country/CIV"
},
{
"country": "Cameroon",
"iso3": "CMR",
"source_url": "https://data.worldhappiness.report/country/CMR"
},
{
"country": "DR Congo",
"iso3": "COD",
"source_url": "https://data.worldhappiness.report/country/COD"
},
{
"country": "Congo",
"iso3": "COG",
"source_url": "https://data.worldhappiness.report/country/COG"
},
{
"country": "Colombia",
"iso3": "COL",
"source_url": "https://data.worldhappiness.report/country/COL"
},
{
"country": "Comoros",
"iso3": "COM",
"source_url": "https://data.worldhappiness.report/country/COM"
},
{
"country": "Costa Rica",
"iso3": "CRI",
"source_url": "https://data.worldhappiness.report/country/CRI"
},
{
"country": "Cuba",
"iso3": "CUB",
"source_url": "https://data.worldhappiness.report/country/CUB"
},
{
"country": "Cyprus",
"iso3": "CYP",
"source_url": "https://data.worldhappiness.report/country/CYP"
},
{
"country": "Czechia",
"iso3": "CZE",
"source_url": "https://data.worldhappiness.report/country/CZE"
},
{
"country": "Germany",
"iso3": "DEU",
"source_url": "https://data.worldhappiness.report/country/DEU"
},
{
"country": "Djibouti",
"iso3": "DJI",
"source_url": "https://data.worldhappiness.report/country/DJI"
},
{
"country": "Denmark",
"iso3": "DNK",
"source_url": "https://data.worldhappiness.report/country/DNK"
},
{
"country": "Dominican Republic",
"iso3": "DOM",
"source_url": "https://data.worldhappiness.report/country/DOM"
},
{
"country": "Algeria",
"iso3": "DZA",
"source_url": "https://data.worldhappiness.report/country/DZA"
},
{
"country": "Ecuador",
"iso3": "ECU",
"source_url": "https://data.worldhappiness.report/country/ECU"
},
{
"country": "Egypt",
"iso3": "EGY",
"source_url": "https://data.worldhappiness.report/country/EGY"
},
{
"country": "Spain",
"iso3": "ESP",
"source_url": "https://data.worldhappiness.report/country/ESP"
},
{
"country": "Estonia",
"iso3": "EST",
"source_url": "https://data.worldhappiness.report/country/EST"
},
{
"country": "Ethiopia",
"iso3": "ETH",
"source_url": "https://data.worldhappiness.report/country/ETH"
},
{
"country": "Finland",
"iso3": "FIN",
"source_url": "https://data.worldhappiness.report/country/FIN"
},
{
"country": "France",
"iso3": "FRA",
"source_url": "https://data.worldhappiness.report/country/FRA"
},
{
"country": "Gabon",
"iso3": "GAB",
"source_url": "https://data.worldhappiness.report/country/GAB"
},
{
"country": "United Kingdom",
"iso3": "GBR",
"source_url": "https://data.worldhappiness.report/country/GBR"
},
{
"country": "Georgia",
"iso3": "GEO",
"source_url": "https://data.worldhappiness.report/country/GEO"
},
{
"country": "Ghana",
"iso3": "GHA",
"source_url": "https://data.worldhappiness.report/country/GHA"
},
{
"country": "Guinea",
"iso3": "GIN",
"source_url": "https://data.worldhappiness.report/country/GIN"
},
{
"country": "Gambia",
"iso3": "GMB",
"source_url": "https://data.worldhappiness.report/country/GMB"
},
{
"country": "Greece",
"iso3": "GRC",
"source_url": "https://data.worldhappiness.report/country/GRC"
},
{
"country": "Guatemala",
"iso3": "GTM",
"source_url": "https://data.worldhappiness.report/country/GTM"
},
{
"country": "Guyana",
"iso3": "GUY",
"source_url": "https://data.worldhappiness.report/country/GUY"
},
{
"country": "Hong Kong SAR of China",
"iso3": "HKG",
"source_url": "https://data.worldhappiness.report/country/HKG"
},
{
"country": "Honduras",
"iso3": "HND",
"source_url": "https://data.worldhappiness.report/country/HND"
},
{
"country": "Croatia",
"iso3": "HRV",
"source_url": "https://data.worldhappiness.report/country/HRV"
},
{
"country": "Haiti",
"iso3": "HTI",
"source_url": "https://data.worldhappiness.report/country/HTI"
},
{
"country": "Hungary",
"iso3": "HUN",
"source_url": "https://data.worldhappiness.report/country/HUN"
},
{
"country": "Indonesia",
"iso3": "IDN",
"source_url": "https://data.worldhappiness.report/country/IDN"
},
{
"country": "India",
"iso3": "IND",
"source_url": "https://data.worldhappiness.report/country/IND"
},
{
"country": "Ireland",
"iso3": "IRL",
"source_url": "https://data.worldhappiness.report/country/IRL"
},
{
"country": "Iran",
"iso3": "IRN",
"source_url": "https://data.worldhappiness.report/country/IRN"
},
{
"country": "Iraq",
"iso3": "IRQ",
"source_url": "https://data.worldhappiness.report/country/IRQ"
},
{
"country": "Iceland",
"iso3": "ISL",
"source_url": "https://data.worldhappiness.report/country/ISL"
},
{
"country": "Israel",
"iso3": "ISR",
"source_url": "https://data.worldhappiness.report/country/ISR"
},
{
"country": "Italy",
"iso3": "ITA",
"source_url": "https://data.worldhappiness.report/country/ITA"
},
{
"country": "Jamaica",
"iso3": "JAM",
"source_url": "https://data.worldhappiness.report/country/JAM"
},
{
"country": "Jordan",
"iso3": "JOR",
"source_url": "https://data.worldhappiness.report/country/JOR"
},
{
"country": "Japan",
"iso3": "JPN",
"source_url": "https://data.worldhappiness.report/country/JPN"
},
{
"country": "Kazakhstan",
"iso3": "KAZ",
"source_url": "https://data.worldhappiness.report/country/KAZ"
},
{
"country": "Kenya",
"iso3": "KEN",
"source_url": "https://data.worldhappiness.report/country/KEN"
},
{
"country": "Kyrgyzstan",
"iso3": "KGZ",
"source_url": "https://data.worldhappiness.report/country/KGZ"
},
{
"country": "Cambodia",
"iso3": "KHM",
"source_url": "https://data.worldhappiness.report/country/KHM"
},
{
"country": "Republic of Korea",
"iso3": "KOR",
"source_url": "https://data.worldhappiness.report/country/KOR"
},
{
"country": "Kuwait",
"iso3": "KWT",
"source_url": "https://data.worldhappiness.report/country/KWT"
},
{
"country": "Lao PDR",
"iso3": "LAO",
"source_url": "https://data.worldhappiness.report/country/LAO"
},
{
"country": "Lebanon",
"iso3": "LBN",
"source_url": "https://data.worldhappiness.report/country/LBN"
},
{
"country": "Liberia",
"iso3": "LBR",
"source_url": "https://data.worldhappiness.report/country/LBR"
},
{
"country": "Libya",
"iso3": "LBY",
"source_url": "https://data.worldhappiness.report/country/LBY"
},
{
"country": "Sri Lanka",
"iso3": "LKA",
"source_url": "https://data.worldhappiness.report/country/LKA"
},
{
"country": "Lesotho",
"iso3": "LSO",
"source_url": "https://data.worldhappiness.report/country/LSO"
},
{
"country": "Lithuania",
"iso3": "LTU",
"source_url": "https://data.worldhappiness.report/country/LTU"
},
{
"country": "Luxembourg",
"iso3": "LUX",
"source_url": "https://data.worldhappiness.report/country/LUX"
},
{
"country": "Latvia",
"iso3": "LVA",
"source_url": "https://data.worldhappiness.report/country/LVA"
},
{
"country": "Morocco",
"iso3": "MAR",
"source_url": "https://data.worldhappiness.report/country/MAR"
},
{
"country": "Republic of Moldova",
"iso3": "MDA",
"source_url": "https://data.worldhappiness.report/country/MDA"
},
{
"country": "Madagascar",
"iso3": "MDG",
"source_url": "https://data.worldhappiness.report/country/MDG"
},
{
"country": "Maldives",
"iso3": "MDV",
"source_url": "https://data.worldhappiness.report/country/MDV"
},
{
"country": "Mexico",
"iso3": "MEX",
"source_url": "https://data.worldhappiness.report/country/MEX"
},
{
"country": "North Macedonia",
"iso3": "MKD",
"source_url": "https://data.worldhappiness.report/country/MKD"
},
{
"country": "Mali",
"iso3": "MLI",
"source_url": "https://data.worldhappiness.report/country/MLI"
},
{
"country": "Malta",
"iso3": "MLT",
"source_url": "https://data.worldhappiness.report/country/MLT"
},
{
"country": "Myanmar",
"iso3": "MMR",
"source_url": "https://data.worldhappiness.report/country/MMR"
},
{
"country": "Montenegro",
"iso3": "MNE",
"source_url": "https://data.worldhappiness.report/country/MNE"
},
{
"country": "Mongolia",
"iso3": "MNG",
"source_url": "https://data.worldhappiness.report/country/MNG"
},
{
"country": "Mozambique",
"iso3": "MOZ",
"source_url": "https://data.worldhappiness.report/country/MOZ"
},
{
"country": "Mauritania",
"iso3": "MRT",
"source_url": "https://data.worldhappiness.report/country/MRT"
},
{
"country": "Mauritius",
"iso3": "MUS",
"source_url": "https://data.worldhappiness.report/country/MUS"
},
{
"country": "Malawi",
"iso3": "MWI",
"source_url": "https://data.worldhappiness.report/country/MWI"
},
{
"country": "Malaysia",
"iso3": "MYS",
"source_url": "https://data.worldhappiness.report/country/MYS"
},
{
"country": "Namibia",
"iso3": "NAM",
"source_url": "https://data.worldhappiness.report/country/NAM"
},
{
"country": "Niger",
"iso3": "NER",
"source_url": "https://data.worldhappiness.report/country/NER"
},
{
"country": "Nigeria",
"iso3": "NGA",
"source_url": "https://data.worldhappiness.report/country/NGA"
},
{
"country": "Nicaragua",
"iso3": "NIC",
"source_url": "https://data.worldhappiness.report/country/NIC"
},
{
"country": "Netherlands",
"iso3": "NLD",
"source_url": "https://data.worldhappiness.report/country/NLD"
},
{
"country": "Norway",
"iso3": "NOR",
"source_url": "https://data.worldhappiness.report/country/NOR"
},
{
"country": "Nepal",
"iso3": "NPL",
"source_url": "https://data.worldhappiness.report/country/NPL"
},
{
"country": "New Zealand",
"iso3": "NZL",
"source_url": "https://data.worldhappiness.report/country/NZL"
},
{
"country": "Oman",
"iso3": "OMN",
"source_url": "https://data.worldhappiness.report/country/OMN"
},
{
"country": "Pakistan",
"iso3": "PAK",
"source_url": "https://data.worldhappiness.report/country/PAK"
},
{
"country": "Panama",
"iso3": "PAN",
"source_url": "https://data.worldhappiness.report/country/PAN"
},
{
"country": "Peru",
"iso3": "PER",
"source_url": "https://data.worldhappiness.report/country/PER"
},
{
"country": "Philippines",
"iso3": "PHL",
"source_url": "https://data.worldhappiness.report/country/PHL"
},
{
"country": "Poland",
"iso3": "POL",
"source_url": "https://data.worldhappiness.report/country/POL"
},
{
"country": "Portugal",
"iso3": "PRT",
"source_url": "https://data.worldhappiness.report/country/PRT"
},
{
"country": "Paraguay",
"iso3": "PRY",
"source_url": "https://data.worldhappiness.report/country/PRY"
},
{
"country": "State of Palestine",
"iso3": "PSE",
"source_url": "https://data.worldhappiness.report/country/PSE"
},
{
"country": "Qatar",
"iso3": "QAT",
"source_url": "https://data.worldhappiness.report/country/QAT"
},
{
"country": "Romania",
"iso3": "ROU",
"source_url": "https://data.worldhappiness.report/country/ROU"
},
{
"country": "Russian Federation",
"iso3": "RUS",
"source_url": "https://data.worldhappiness.report/country/RUS"
},
{
"country": "Rwanda",
"iso3": "RWA",
"source_url": "https://data.worldhappiness.report/country/RWA"
},
{
"country": "Saudi Arabia",
"iso3": "SAU",
"source_url": "https://data.worldhappiness.report/country/SAU"
},
{
"country": "Sudan",
"iso3": "SDN",
"source_url": "https://data.worldhappiness.report/country/SDN"
},
{
"country": "Senegal",
"iso3": "SEN",
"source_url": "https://data.worldhappiness.report/country/SEN"
},
{
"country": "Singapore",
"iso3": "SGP",
"source_url": "https://data.worldhappiness.report/country/SGP"
},
{
"country": "Sierra Leone",
"iso3": "SLE",
"source_url": "https://data.worldhappiness.report/country/SLE"
},
{
"country": "El Salvador",
"iso3": "SLV",
"source_url": "https://data.worldhappiness.report/country/SLV"
},
{
"country": "Somalia",
"iso3": "SOM",
"source_url": "https://data.worldhappiness.report/country/SOM"
},
{
"country": "Serbia",
"iso3": "SRB",
"source_url": "https://data.worldhappiness.report/country/SRB"
},
{
"country": "South Sudan",
"iso3": "SSD",
"source_url": "https://data.worldhappiness.report/country/SSD"
},
{
"country": "Suriname",
"iso3": "SUR",
"source_url": "https://data.worldhappiness.report/country/SUR"
},
{
"country": "Slovakia",
"iso3": "SVK",
"source_url": "https://data.worldhappiness.report/country/SVK"
},
{
"country": "Slovenia",
"iso3": "SVN",
"source_url": "https://data.worldhappiness.report/country/SVN"
},
{
"country": "Sweden",
"iso3": "SWE",
"source_url": "https://data.worldhappiness.report/country/SWE"
},
{
"country": "Eswatini",
"iso3": "SWZ",
"source_url": "https://data.worldhappiness.report/country/SWZ"
},
{
"country": "Syria",
"iso3": "SYR",
"source_url": "https://data.worldhappiness.report/country/SYR"
},
{
"country": "Chad",
"iso3": "TCD",
"source_url": "https://data.worldhappiness.report/country/TCD"
},
{
"country": "Togo",
"iso3": "TGO",
"source_url": "https://data.worldhappiness.report/country/TGO"
},
{
"country": "Thailand",
"iso3": "THA",
"source_url": "https://data.worldhappiness.report/country/THA"
},
{
"country": "Tajikistan",
"iso3": "TJK",
"source_url": "https://data.worldhappiness.report/country/TJK"
},
{
"country": "Turkmenistan",
"iso3": "TKM",
"source_url": "https://data.worldhappiness.report/country/TKM"
},
{
"country": "Trinidad and Tobago",
"iso3": "TTO",
"source_url": "https://data.worldhappiness.report/country/TTO"
},
{
"country": "Tunisia",
"iso3": "TUN",
"source_url": "https://data.worldhappiness.report/country/TUN"
},
{
"country": "Türkiye",
"iso3": "TUR",
"source_url": "https://data.worldhappiness.report/country/TUR"
},
{
"country": "Taiwan Province of China",
"iso3": "TWN",
"source_url": "https://data.worldhappiness.report/country/TWN"
},
{
"country": "Tanzania",
"iso3": "TZA",
"source_url": "https://data.worldhappiness.report/country/TZA"
},
{
"country": "Uganda",
"iso3": "UGA",
"source_url": "https://data.worldhappiness.report/country/UGA"
},
{
"country": "Ukraine",
"iso3": "UKR",
"source_url": "https://data.worldhappiness.report/country/UKR"
},
{
"country": "Uruguay",
"iso3": "URY",
"source_url": "https://data.worldhappiness.report/country/URY"
},
{
"country": "United States",
"iso3": "USA",
"source_url": "https://data.worldhappiness.report/country/USA"
},
{
"country": "Uzbekistan",
"iso3": "UZB",
"source_url": "https://data.worldhappiness.report/country/UZB"
},
{
"country": "Venezuela",
"iso3": "VEN",
"source_url": "https://data.worldhappiness.report/country/VEN"
},
{
"country": "Viet Nam",
"iso3": "VNM",
"source_url": "https://data.worldhappiness.report/country/VNM"
},
{
"country": "Kosovo",
"iso3": "XKX",
"source_url": "https://data.worldhappiness.report/country/XKX"
},
{
"country": "Yemen",
"iso3": "YEM",
"source_url": "https://data.worldhappiness.report/country/YEM"
},
{
"country": "South Africa",
"iso3": "ZAF",
"source_url": "https://data.worldhappiness.report/country/ZAF"
},
{
"country": "Zambia",
"iso3": "ZMB",
"source_url": "https://data.worldhappiness.report/country/ZMB"
},
{
"country": "Zimbabwe",
"iso3": "ZWE",
"source_url": "https://data.worldhappiness.report/country/ZWE"
}
],
"retrieved_at": "2026-09-12T02:01:58.688Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://data.worldhappiness.report",
"warnings": []
}Request contract
- Method and path: POST /apis/v1/worldhappiness-report/happiness/countries
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/worldhappiness-report/happiness/countries
{
"operationId": "worldhappiness-report.happiness.countries",
"method": "POST",
"path": "/apis/v1/worldhappiness-report/happiness/countries",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {}
}
},
"schema": {
"additionalProperties": true,
"properties": {},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
The body is of type object.
Response
List the dashboard's geographies as ISO 3166-1 alpha-3 codes with display names (164 entries incl. XKX Kosovo, TWN Taiwan Province of China, HKG Hong Kong SAR of China). Use it to resolve names before calling rankings or panel.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
complete | boolean | true when every requested source call succeeded; false when a partial source failure left some fields null (see warnings). Not a statement about remaining pages. |
count | number | |
next_cursor | string | |
observed_at_ms | number | |
records | object[] | |
retrieved_at | string | RFC 3339 UTC, millisecond precision. |
schema_version | string | |
source_updated_at | object | The dashboard exposes no last-modified metadata; always null rather than the retrieval time. |
source_url | string | |
warnings | string[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.