# PeerTube API

Category: [Video](https://free-web-services.com/web-services/graphics/video/)  
Page: https://free-web-services.com/web-services/graphics/video/peertube-api.html  
Documentation: https://docs.joinpeertube.org/api/rest-getting-started

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 key: Not needed
- 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

Example request:

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

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

