/v1/channel
Channel → centre frequency
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/wifichannel-api/v1/channel" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wifichannel-api/v1/channel", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wifichannel-api/v1/channel");
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/channel",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Channel→frequency. 2.4 GHz: 2407 + 5·ch (ch14 = 2484). 5 GHz: 5000 + 5·ch. 6 GHz: 5950 + 5·ch.",
"input": {
"band": "2.4",
"channel": 6
},
"band_ghz": "2.4",
"center_frequency_ghz": 2.437,
"center_frequency_mhz": 2437
},
"meta": {
"timestamp": "2026-06-04T01:59:15.106Z",
"request_id": "5af14703-40f5-4a21-8f6d-63e3636ceb8f"
},
"status": "ok",
"message": "Channel to frequency",
"success": true
}