curl --request GET \
--url https://api.ihuus.com/v1/environment/noise-levels \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ihuus.com/v1/environment/noise-levels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ihuus.com/v1/environment/noise-levels', 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.ihuus.com/v1/environment/noise-levels",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ihuus.com/v1/environment/noise-levels"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ihuus.com/v1/environment/noise-levels")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ihuus.com/v1/environment/noise-levels")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"result": {
"description": "Noise level: 61dB (Road: 58dB, Aviation: 42dB)",
"score": 138
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>"
}Noise Levels Score
Quantifies acoustic comfort using federal noise modelling data for road, railroad, and aviation sources. The score is a serenity scale: 1 is the worst (extreme noise — immediate proximity to an airport runway or heavy rail) and 255 is the best (serene — nature sounds only). A score of 0 indicates no noise data is available, which typically implies a rural or very secluded location. The response includes the composite score and a human-readable breakdown of individual noise sources in decibels.
curl --request GET \
--url https://api.ihuus.com/v1/environment/noise-levels \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ihuus.com/v1/environment/noise-levels"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ihuus.com/v1/environment/noise-levels', 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.ihuus.com/v1/environment/noise-levels",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ihuus.com/v1/environment/noise-levels"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ihuus.com/v1/environment/noise-levels")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ihuus.com/v1/environment/noise-levels")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"result": {
"description": "Noise level: 61dB (Road: 58dB, Aviation: 42dB)",
"score": 138
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>"
}Authorizations
Your access token or API key. Pass as Authorization: Bearer <token>.
Query Parameters
The latitude of the location in decimal degrees (WGS 84). Must be between -90 and 90.
-90 <= x <= 90The longitude of the location in decimal degrees (WGS 84). Must be between -180 and 180.
-180 <= x <= 180Response
Successful Response
API response for a Noise Levels lookup.
The Noise Levels result. A score of 0 means no noise data is available (typically a rural or unpopulated location).
Show child attributes
Show child attributes
{
"description": "Noise level: 61dB (Road: 58dB, Aviation: 42dB)",
"score": 138
}