Video

PeerTube API

by docs.joinpeertube.org

Video Added on November 1st, 2026
Visit docs.joinpeertube.org →

What it does

PeerTube is free, federated video hosting software, and every PeerTube server offers the same REST API. List and search videos, channels, playlists and comments, for example /api/v1/videos on any server, and with a user token upload and manage videos. Answers are JSON, and an OpenAPI specification is available for generating clients. Free and open source, no key needed for public data.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free and open source, no key needed for public data.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
docs.joinpeertube.org

More information: https://docs.joinpeertube.org/api/rest-getting-started

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

docs.joinpeertube.org
PeerTube API

Example request

curl

curl 'https://framatube.org/api/v1/videos?count=5'

JavaScript

const response = await fetch("https://framatube.org/api/v1/videos?count=5");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://framatube.org/api/v1/videos?count=5",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried PeerTube API.