{"openapi":"3.1.0","info":{"title":"WiFi Channel API","version":"1.0.0","description":"Wi-Fi channel maths as an API, computed locally and deterministically from the standard channel-numbering formulas. The channel endpoint returns the centre frequency of a Wi-Fi channel on the 2.4, 5 or 6 GHz band — the band is auto-detected from the channel number or can be given explicitly (2.4 GHz: 2407 + 5·channel, with channel 14 at 2484; 5 GHz: 5000 + 5·channel; 6 GHz: 5950 + 5·channel). The frequency endpoint does the reverse, returning the nearest channel and band for a centre frequency in MHz or GHz. The overlap endpoint reports whether two channels overlap at a chosen channel width (two channels overlap when their centre-frequency separation is less than the width) and gives the recommended non-overlapping set — the classic 1, 6 and 11 on 2.4 GHz at 20 MHz. Everything is computed locally and deterministically, so it is instant and private. Channel availability is regulated and varies by country. Ideal for networking and Wi-Fi tools, site-survey and IoT apps, and router and access-point configuration software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is Wi-Fi channel mapping; for general wavelength/frequency and photon energy use a wavelength API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/wifichannel-api","description":"oanor gateway"}],"tags":[{"name":"WiFi"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/channel":{"get":{"operationId":"get_v1_channel","tags":["WiFi"],"summary":"Channel → centre frequency","description":"","parameters":[{"name":"channel","in":"query","required":true,"description":"Channel number","schema":{"type":"string"},"example":"6"},{"name":"band","in":"query","required":false,"description":"2.4|5|6 (auto if omitted)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/frequency":{"get":{"operationId":"get_v1_frequency","tags":["WiFi"],"summary":"Frequency → nearest channel","description":"","parameters":[{"name":"frequency","in":"query","required":true,"description":"Centre frequency (MHz or GHz)","schema":{"type":"string"},"example":"2437"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/overlap":{"get":{"operationId":"get_v1_overlap","tags":["WiFi"],"summary":"Channel overlap & non-overlapping set","description":"","parameters":[{"name":"channel_a","in":"query","required":true,"description":"First channel","schema":{"type":"string"},"example":"1"},{"name":"channel_b","in":"query","required":true,"description":"Second channel","schema":{"type":"string"},"example":"6"},{"name":"band","in":"query","required":false,"description":"2.4|5|6 (default 2.4)","schema":{"type":"string"},"example":"2.4"},{"name":"width","in":"query","required":false,"description":"Channel width MHz (default 20)","schema":{"type":"string"},"example":"20"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Two channels overlap if their centre-frequency separation is less than the channel width. 2.4 GHz 20 MHz non-overlapping set is 1/6/11.","input":{"band":"2.4","channel_a":1,"channel_b":6,"channel_width_mhz":20},"overlaps":false,"separation_mhz":25,"frequency_a_mhz":2412,"frequency_b_mhz":2437,"recommended_non_overlapping":[1,6,11]},"meta":{"timestamp":"2026-06-04T01:59:15.282Z","request_id":"2e827e63-4251-4a7e-97bb-0e7d6f7aa19b"},"status":"ok","message":"Channel overlap","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Standard channel-numbering formulas. Regulatory channel availability varies by country.","bands":["2.4","5","6"],"service":"wifichannel","endpoints":{"/v1/channel":"Centre frequency for a Wi-Fi channel (band auto-detected or specified).","/v1/overlap":"Whether two channels overlap at a given width, plus the non-overlapping set.","/v1/frequency":"Nearest Wi-Fi channel and band for a centre frequency."},"description":"Wi-Fi channel maths: channel/frequency conversion for 2.4/5/6 GHz, channel overlap, and non-overlapping channels."},"meta":{"timestamp":"2026-06-04T01:59:15.372Z","request_id":"91d12206-cdae-4fc8-a026-e809e652556c"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":12035,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1355,"monthly_call_quota":21650,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3345,"monthly_call_quota":266500,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7145,"monthly_call_quota":1375000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/wifichannel-api"}