Search channels
search_channelsSearches public channels (filters: q, country, category, language, network, quality, playable; kind=radio for radio stations, tag for a radio tag; sort=score orders by the health that a third party measures, sort=votes by the radio votes; online=1 returns only channels seen online in the last 48 h). This is the main entry point of the product. The response changes with the browser, the system and the country of the caller: each channel has social.your_fails, the result for YOUR environment, so the response is Cache-Control: private.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free text in the channel name and its aliases (full-text search). | |
| tag | No | Radio station tag (free vocabulary, for example `mpb` or `news`); see `GET /api/tags`. | |
| city | No | City, catalog code. | |
| kind | No | `tv` (default) is the TV catalog; `radio` is the radio stations; `all` is both. Without `kind`, radio never appears. | tv |
| sort | No | `score` orders by the health that a third party measures, best first; channels with no measurement go to the end. `votes` orders by the votes recorded for the station (radio). `name` is alphabetical order. | name |
| guide | No | `1` returns only channels with a TV guide (EPG). | 0 |
| online | No | `1` returns only channels that the source saw online in the 48 h before the last catalog reload (`health_ext.online`). When the catalog has not reloaded for more than 48 h, the filter returns no channel. | 0 |
| country | No | Country of the channel, ISO 3166-1 alpha-2. | |
| network | No | Exact name of the network or broadcaster. | |
| quality | No | Exact quality of the stream. | |
| category | No | Category ID from the catalog. | |
| language | No | Language of the channel, ISO 639-3. | |
| playable | No | `0` also includes channels with no known usable stream. | 1 |
| subdivision | No | State or province, catalog code. |