/v1/frequency
Frequency → nearest channel
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/wifichannel-api/v1/frequency" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wifichannel-api/v1/frequency", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wifichannel-api/v1/frequency");
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/wifichannel-api/v1/frequency",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Nearest Wi-Fi channel for a centre frequency (accepts MHz or GHz).",
"input": {
"frequency_mhz": 2437
},
"channel": 6,
"band_ghz": "2.4",
"center_frequency_mhz": 2437
},
"meta": {
"timestamp": "2026-06-04T01:59:15.191Z",
"request_id": "9e7b0690-0b60-494b-a939-11d172594021"
},
"status": "ok",
"message": "Frequency to channel",
"success": true
}