/v1/decibel
Ratio <-> decibels
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}