Aller au contenu
GET /v1/videos

Instance videos

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/peertube-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/peertube-api/v1/videos" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/peertube-api/v1/videos", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/peertube-api/v1/videos");
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/videos",
    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": {
        "data": [
            {
                "id": 23435,
                "url": "https://tube.tchncs.de/videos/watch/3f6a4d43-4f6d-4f98-becd-b5aa629a0fe0",
                "name": "Learn JavaScript - Full Course for Beginners",
                "nsfw": false,
                "uuid": "3f6a4d43-4f6d-4f98-becd-b5aa629a0fe0",
                "likes": 1,
                "views": 559,
                "isLive": false,
                "account": {
                    "id": 20054,
                    "url": "https://tube.tchncs.de/accounts/designwithshoeb",
                    "host": "tube.tchncs.de",
                    "name": "designwithshoeb",
                    "avatars": [],
                    "displayName": "designwithshoeb"
                },
                "channel": {
                    "id": 1813,
                    "url": "https://tube.tchncs.de/video-channels/cybereak",
                    "host": "tube.tchncs.de",
                    "name": "cybereak",
                    "avatars": [],
                    "displayName": "Cybereak"
                },
                "isLocal": false,
                "licence": {
                    "id": null,
                    "label": "Unknown"
                },
                "privacy": {
                    "id": 1,
                    "label": "Public"
                },
                "viewers": 1,
                "category": {
                    "id": 13,
                    "label": "Education"
                },
                "comments": 0,
                "dislikes": 0,
                "duration": 12403,
                "language": {
                    "id": null,
                    "label": "Unknown"
                },
                "createdAt": "2021-03-17T22:06:15.333Z",
                "downloads": 0,
                "embedPath": "/videos/embed/8QbKZXJmwdaAjgPLtv9tqU",
                "nsfwFlags": 0,
                "shortUUID": "8QbKZXJmwdaAjgPLtv9tqU",
                "updatedAt": "2026-06-01T13:12:28.836Z",
                "thumbnails": [
                    {
                        "width": 223,
                        "height": 122,
                        "fileUrl": "https://framatube.org/lazy-static/thumbnails/c1cb8baa-1661-42e6-b7d5-e746f924a95f.jpg",
                        "aspectRatio": "16:9"
                    }
                ],
                "aspectRatio": null,
                "description": "This complete 134-part JavaScript tutorial for beginners will teach you everything you need to know to get started with the JavaScript programming language.\n\n⭐️Curriculum⭐️\nThis is a stand-alone video but it follows the JavaScript curriculum at fr...",
                "nsfwSummary": null,
                "previewPath": "/lazy-static/thumbnails/c1cb8baa-1661-42e6-b7d5-e746f924a95f.jpg",
                "publishedAt": "2021-03-17T22:06:15.333Z",
                "thumbnailPath": "/lazy-static/thumbnails/c1cb8baa-1661-42e6-b7d5-e746f924a95f.jpg",
  
…