/v1/decibel
Ratio <-> decibels
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/soundlevel-api/v1/decibel" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soundlevel-api/v1/decibel", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soundlevel-api/v1/decibel");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/soundlevel-api/v1/decibel",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"type": "power",
"ratio": 2,
"factor": 10,
"decibels": 3.0103
},
"meta": {
"timestamp": "2026-06-03T17:42:09.648Z",
"request_id": "1ff2c041-cc51-410a-8872-2f10eab7f910"
},
"status": "ok",
"message": "Decibel",
"success": true
}