Skip to content
GET /v1/search/channels

Federated channel search

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/peertube-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/peertube-api/v1/search/channels" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/peertube-api/v1/search/channels", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/peertube-api/v1/search/channels");
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/peertube-api/v1/search/channels",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "data": [
            {
                "id": 5,
                "url": "https://video.fedihost.co/video-channels/news",
                "host": "video.fedihost.co",
                "name": "news",
                "score": 1,
                "avatars": [
                    {
                        "url": "https://video.fedihost.co/lazy-static/avatars/ae0f608f-9f77-449a-820c-7aeea9d83f4d.png",
                        "path": "/lazy-static/avatars/ae0f608f-9f77-449a-820c-7aeea9d83f4d.png",
                        "width": 48,
                        "height": 48,
                        "fileUrl": "https://video.fedihost.co/lazy-static/avatars/ae0f608f-9f77-449a-820c-7aeea9d83f4d.png",
                        "createdAt": "2024-11-14T20:23:41.942Z",
                        "updatedAt": "2024-11-14T20:23:41.942Z"
                    },
                    {
                        "url": "https://video.fedihost.co/lazy-static/avatars/1bc78deb-b5ee-4a49-84f4-39d54f509540.png",
                        "path": "/lazy-static/avatars/1bc78deb-b5ee-4a49-84f4-39d54f509540.png",
                        "width": 120,
                        "height": 120,
                        "fileUrl": "https://video.fedihost.co/lazy-static/avatars/1bc78deb-b5ee-4a49-84f4-39d54f509540.png",
                        "createdAt": "2024-11-14T20:23:41.940Z",
                        "updatedAt": "2024-11-14T20:23:41.940Z"
                    },
                    {
                        "url": "https://video.fedihost.co/lazy-static/avatars/5b858c02-1e16-487d-b023-7f8a59c4fec0.png",
                        "path": "/lazy-static/avatars/5b858c02-1e16-487d-b023-7f8a59c4fec0.png",
                        "width": 600,
                        "height": 600,
                        "fileUrl": "https://video.fedihost.co/lazy-static/avatars/5b858c02-1e16-487d-b023-7f8a59c4fec0.png",
                        "createdAt": "2024-11-14T20:23:41.938Z",
                        "updatedAt": "2024-11-14T20:23:41.938Z"
                    },
                    {
                        "url": "https://video.fedihost.co/lazy-static/avatars/9b70d9d1-8dc6-487d-a044-2124f9b950dc.png",
                        "path": "/lazy-static/avatars/9b70d9d1-8dc6-487d-a044-2124f9b950dc.png",
                        "width": 1500,
                        "height": 1500,
                        "fileUrl": "https://video.fedihost.co/lazy-static/avatars/9b70d9d1-8dc6-487d-a044-2124f9b950dc.png",
                        "createdAt": "2024-11-14T20:23:41.933Z",
                        "updatedAt": "2024-11-14T20:23:41.933Z"
                    }
                ],
                "banners": [
                    {
                        "url": "https://video.fedihost.co/lazy-static/banners/7278ad2b-4c43-495f-9e26-25d1ac0da4ec.png",
                        "path": "/lazy-static/banners/7278ad2b-4c43-495f-9e26-25d1ac0da4ec.png",
                        "width": 600,
                    
…