PeerTube API
Returns PeerTube videos, channels, channel videos and comment threads, plus federated video search across the network.
View as Markdown| GET | /peertube/search | Videos across the federated PeerTube network that match a query. |
| GET | /peertube/video | One video from the PeerTube instance that hosts it, by UUID or short id. |
| GET | /peertube/videos | Videos of one PeerTube server, most trending, newest, most viewed or most liked first, 20 per page. |
| GET | /peertube/channels | Channels a PeerTube server knows, newest first, 20 per page. |
| GET | /peertube/channelVideos | Videos of one channel, newest first, 20 per page. A channel on another server is named name@host. |
| GET | /peertube/videoComments | Top-level comment threads on one video, newest first, 20 per page, with the reply count of each. |
| GET | /peertube/categories | Video categories of one PeerTube server, with their ids. |
| GET | /peertube/instance | Name, description and languages of one PeerTube server. |
| GET | /peertube/channel | One PeerTube channel by name: its display name, description, follower count and creation time. A channel on another server is named name@host. |
| GET | /peertube/channelPlaylists | Playlists of one PeerTube channel, 20 per page. A channel on another server is named name@host. |
| GET | /peertube/playlistVideos | Videos of one PeerTube playlist in playlist order, 20 per page. |
search
/v1/peertube/searchVideos across the federated PeerTube network that match a query.
Parameters
querystring required | Words to search for in video titles and descriptions. e.g. linux |
limitinteger | Number of videos, from 1 to 50. default 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
22 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
host | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
shortId | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/search?query=linux" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/search?query=linux", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/search?query=linux", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "trafotin", "url": "", "username": "" }, "commentCount": 0, "description": "People online complain that Linux is hard to install for new users. But who are these people and why do they levy these complaints? The bigg…", "durationSeconds": 639, "host": "spectra.video", "id": "da5463ca-fbc7-4311-948a-356594d5c70a", "likeCount": 5, "publishedAt": "2025-05-11T20:43:40Z", "shortId": "sXGnj113k5GYzdzzYmr4cY", "tags": [ "linux" ], "thumbnails": [], "title": "Installing Linux Doesn't Need to Change. The Experience Does.", "url": "https://spectra.video/videos/watch/da5463ca-fbc7-4311-948a-356594d5c70a", "viewCount": 1062 }, { "author": { "avatarUrl": "", "id": "", "name": "trafotin", "url": "", "username": "" }, "commentCount": 0, "description": "Did you know that developers have an intended way to install your programs? Turns out most distributions (and people) willfully ignore them.…", "durationSeconds": 840, "host": "spectra.video", "id": "013473df-fed4-4d26-a429-81f361df6dee", "likeCount": 7, "publishedAt": "2024-10-06T19:05:09Z", "shortId": "19CvNFGKB1fFP7mRH756bo", "tags": [ "linux" ], "thumbnails": [], "title": "We've Been Installing Apps on Linux WRONG!", "url": "https://spectra.video/videos/watch/013473df-fed4-4d26-a429-81f361df6dee", "viewCount": 764 } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
video
/v1/peertube/videoOne video from the PeerTube instance that hosts it, by UUID or short id.
Parameters
idstring required | Video UUID or short id. e.g. da5463ca-fbc7-4311-948a-356594d5c70a |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
22 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
host | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
shortId | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/video?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/video?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/video?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "", "name": "trafotin", "url": "", "username": "" }, "commentCount": 0, "description": "People online complain that Linux is hard to install for new users. But who are these people and why do they levy these complaints? The bigg…", "durationSeconds": 639, "host": "spectra.video", "id": "da5463ca-fbc7-4311-948a-356594d5c70a", "likeCount": 5, "publishedAt": "2025-05-11T20:43:40Z", "shortId": "sXGnj113k5GYzdzzYmr4cY", "tags": [ "linux" ], "thumbnails": [], "title": "Installing Linux Doesn't Need to Change. The Experience Does.", "url": "https://spectra.video/videos/watch/da5463ca-fbc7-4311-948a-356594d5c70a", "viewCount": 1064 }, "meta": { "cached": false, "endpoint": "video", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
videos
/v1/peertube/videosVideos of one PeerTube server, most trending, newest, most viewed or most liked first, 20 per page.
Parameters
sortstring | Order: -trending, -publishedAt (newest), -views or -likes.-trending-publishedAt-views-likesdefault -trending |
nsfwstring | false leaves out videos marked NSFW, both includes them.falsebothdefault false |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
22 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
host | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
shortId | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/videos?instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/videos?instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/videos?instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "thelinuxexperiment_channel", "url": "", "username": "" }, "commentCount": 0, "description": "Check out TuxCare's Endless LifeCycle Support for .net (and a lot Linux distros, frameworks, FOSS apps, and languages): https://tuxcare.com/…", "durationSeconds": 1784, "host": "tilvids.com", "id": "75458950-1377-42fb-be1c-34a2c5b9f98c", "likeCount": 85, "publishedAt": "2026-10-30T14:18:10Z", "shortId": "ftUKYjPizbkubiRLiYuxC9", "tags": [], "thumbnails": [], "title": "Proton goes A.I. crazy, Ubuntu goes all SNAP, Vibe-coded Linux compatible kernel - Linux Weekly News", "url": "https://tilvids.com/videos/watch/75458950-1377-42fb-be1c-34a2c5b9f98c", "viewCount": 947 }, { "author": { "avatarUrl": "", "id": "", "name": "blender_channel", "url": "", "username": "" }, "commentCount": 0, "description": "What's New Changelog and Q&A: https://devtalk.blender.org/t/blender-today-291-huge-sequencer-improvements-projects-in-blender-5-3/45975?sort…", "durationSeconds": 6488, "host": "video.blender.org", "id": "4815edd4-2867-412b-86e6-da69b177c7f5", "likeCount": 8, "publishedAt": "2026-10-20T10:45:36Z", "shortId": "9UhsEGd8vM4PTtg6bphpEM", "tags": [], "thumbnails": [], "title": "Huge SEQUENCER improvements, PROJECTS in Blender 5.3! - Blender Today LIVE #291", "url": "https://video.blender.org/videos/watch/4815edd4-2867-412b-86e6-da69b177c7f5", "viewCount": 118 } ], "meta": { "cached": false, "endpoint": "videos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channels
/v1/peertube/channelsChannels a PeerTube server knows, newest first, 20 per page.
Parameters
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
host | string |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/peertube/channels?instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/channels?instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/channels?instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "", "bio": "", "createdAt": "2026-11-06T15:55:53Z", "followerCount": 0, "followingCount": 0, "host": "makertube.net", "id": "14547", "name": "Dom Okon Short Films", "postCount": 0, "url": "https://makertube.net/video-channels/dom_okon_short_films", "username": "dom_okon_short_films", "verified": false }, { "avatarUrl": "", "bio": "Just a serval on the internet. Used to build combat robots, currently on indefinite hiatus due to a lack of suitable CAD software.", "createdAt": "2026-11-06T10:32:43Z", "followerCount": 0, "followingCount": 0, "host": "makertube.net", "id": "14546", "name": "Serval Nonsense", "postCount": 0, "url": "https://makertube.net/video-channels/serval_nonsense", "username": "serval_nonsense", "verified": false } ], "meta": { "cached": false, "endpoint": "channels", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelVideos
/v1/peertube/channelVideosVideos of one channel, newest first, 20 per page. A channel on another server is named name@host.
Parameters
channelstring required | Channel name, or name@host for a channel on another server, such as serval_nonsense@makertube.net. e.g. serval_nonsense@makertube.net |
nsfwstring | false leaves out videos marked NSFW, both includes them.falsebothdefault false |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
22 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
host | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
shortId | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/channelVideos?channel=serval_nonsense%40makertube.net&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/channelVideos?channel=serval_nonsense%40makertube.net&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/channelVideos?channel=serval_nonsense%40makertube.net&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "serval_nonsense", "url": "", "username": "" }, "commentCount": 0, "description": "From Small Bots of Mass Destruction Fair Fights 2017", "durationSeconds": 86, "host": "makertube.net", "id": "9ca48df2-65b0-4d9d-ac49-6efd89696d20", "likeCount": 0, "publishedAt": "2025-08-13T17:34:14Z", "shortId": "kkTzJBnAiFQP4puMY8R3Nm", "tags": [], "thumbnails": [], "title": "Melanistic Leopard vs Trilobiter", "url": "https://makertube.net/videos/watch/9ca48df2-65b0-4d9d-ac49-6efd89696d20", "viewCount": 1 } ], "meta": { "cached": false, "endpoint": "channelVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
videoComments
/v1/peertube/videoCommentsTop-level comment threads on one video, newest first, 20 per page, with the reply count of each.
Parameters
idstring required | Video UUID or short id. e.g. da5463ca-fbc7-4311-948a-356594d5c70a |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
replyCount | integer (int64) |
text | string |
url | string |
videoId | string |
curl "https://api.hoshime.com/v1/peertube/videoComments?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/videoComments?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/videoComments?id=da5463ca-fbc7-4311-948a-356594d5c70a&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "joncarlos", "url": "", "username": "" }, "createdAt": "2026-03-20T19:39:01Z", "id": "56916", "likeCount": 0, "replyCount": 0, "text": "💯", "url": "https://my-sunshine.video/videos/watch/da5463ca-fbc7-4311-948a-356594d5c70a/comments/32101", "videoId": "167978" }, { "author": { "avatarUrl": "", "id": "", "name": "eewbf", "url": "", "username": "" }, "createdAt": "2025-08-25T20:55:31Z", "id": "46559", "likeCount": 0, "replyCount": 0, "text": "As a long time Linux user I have to say... I mostly agree. The biggest problems I encounter are massive backend changes like wayland, pipewi…", "url": "https://spectra.video/videos/watch/da5463ca-fbc7-4311-948a-356594d5c70a/comments/46559", "videoId": "167978" } ], "meta": { "cached": false, "endpoint": "videoComments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
categories
/v1/peertube/categoriesVideo categories of one PeerTube server, with their ids.
Parameters
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
id | string |
name | string |
curl "https://api.hoshime.com/v1/peertube/categories?instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/categories?instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/categories?instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "1", "name": "Music" }, { "id": "2", "name": "Films" } ], "meta": { "cached": false, "endpoint": "categories", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
instance
/v1/peertube/instanceName, description and languages of one PeerTube server.
Parameters
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
description | string |
host | string |
name | string |
shortDescription | string |
terms | string |
curl "https://api.hoshime.com/v1/peertube/instance?instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/instance?instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/instance?instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "Spectra is a PeerTube instance dedicated to supporting original content creators, and building the video community within the fediverse!", "host": "spectra.video", "name": "Spectra Video", "shortDescription": "Spectra is a PeerTube instance dedicated to supporting original content creators, and building the video community within the fediverse!", "terms": "Creators on this instance are required to only upload their own content. While it's fine if they mirror their own videos from elsewhere, suc…" }, "meta": { "cached": false, "endpoint": "instance", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channel
/v1/peertube/channelOne PeerTube channel by name: its display name, description, follower count and creation time. A channel on another server is named name@host.
Parameters
channelstring required | Channel name, or name@host for a channel on another server, such as serval_nonsense@makertube.net. e.g. serval_nonsense@makertube.net |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
host | string |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/peertube/channel?channel=serval_nonsense%40makertube.net&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/channel?channel=serval_nonsense%40makertube.net&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/channel?channel=serval_nonsense%40makertube.net&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://…", "bio": "…", "createdAt": "2026-11-06T09:41:00Z", "followerCount": 1280, "followingCount": 1280, "host": "…", "id": "abc123", "name": "…", "postCount": 1280, "url": "https://…", "username": "…", "verified": false }, "meta": { "cached": false, "endpoint": "channel", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelPlaylists
/v1/peertube/channelPlaylistsPlaylists of one PeerTube channel, 20 per page. A channel on another server is named name@host.
Parameters
channelstring required | Channel name, or name@host for a channel on another server. e.g. lizardguystreamarchive@spectra.video |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
createdAt | string |
description | string |
id | string |
title | string |
updatedAt | string |
url | string |
videoCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/channelPlaylists?channel=lizardguystreamarchive%40spectra.video&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/channelPlaylists?channel=lizardguystreamarchive%40spectra.video&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/channelPlaylists?channel=lizardguystreamarchive%40spectra.video&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "createdAt": "2026-11-06T09:41:00Z", "description": "…", "id": "abc123", "title": "…", "updatedAt": "2026-11-06T09:41:00Z", "url": "https://…", "videoCount": 1280 } ], "meta": { "cached": false, "endpoint": "channelPlaylists", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }
playlistVideos
/v1/peertube/playlistVideosVideos of one PeerTube playlist in playlist order, 20 per page.
Parameters
idstring required | Playlist UUID or short id, as channelPlaylists gives it. e.g. 44d18b2e-e4c0-4b6a-9a86-d8546803e3a0 |
instancestring | Hosting instance: spectra.video or framatube.org.spectra.videoframatube.orgdefault spectra.videoe.g. spectra.video |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
22 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
host | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
shortId | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/peertube/playlistVideos?id=44d18b2e-e4c0-4b6a-9a86-d8546803e3a0&instance=spectra.video" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/peertube/playlistVideos?id=44d18b2e-e4c0-4b6a-9a86-d8546803e3a0&instance=spectra.video", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/peertube/playlistVideos?id=44d18b2e-e4c0-4b6a-9a86-d8546803e3a0&instance=spectra.video", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "commentCount": 1280, "description": "…", "durationSeconds": 0, "host": "…", "id": "abc123", "likeCount": 1280, "publishedAt": "2026-11-06T09:41:00Z", "shortId": "abc123", "tags": [ "…" ], "thumbnails": [ { "height": null, "url": null, "width": null } ], "title": "…", "url": "https://…", "viewCount": 1280 } ], "meta": { "cached": false, "endpoint": "playlistVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "peertube", "requestId": "req_2Xb9kQ…", "units": 1 } }