# Peertube Videos Search Sepiasearch (`bigibyte/peertube-videos-search-sepiasearch`) Actor

Search PeerTube videos across federated instances using SepiaSearch. Instantly query titles, licenses, languages, and timestamps without complex setup. Set your keyword, cap the results, and export your video metadata directly in JSON, CSV, or Excel formats.

- **URL**: https://apify.com/bigibyte/peertube-videos-search-sepiasearch.md
- **Developed by:** [BigiByte](https://apify.com/bigibyte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## PeerTube Videos Search (SepiaSearch) Scraper

Search videos across the federated PeerTube network with the PeerTube Videos Search (SepiaSearch) Scraper. Discover videos by keyword and collect titles, descriptions, categories, licences, languages, relevance scores, and publication dates in structured datasets.

### What It Does

This actor searches for videos across PeerTube instances through SepiaSearch, making it easier to discover content without selecting individual instances.

Enter a search term, choose your collection limit, and retrieve structured video information in one Apify dataset. Results are collected across multiple pages, with duplicate videos removed using their unique identifiers.

### Why Use This Scraper?

- **Federated Video Discovery:** Find relevant videos across multiple PeerTube instances with a single search.
- **Keyword-Based Search:** Discover videos matching your topics and research interests.
- **Structured Video Metadata:** Collect titles, descriptions, categories, languages, licences, and publication timestamps.
- **Duplicate-Free Results:** Avoid duplicate records within a collection run.
- **Flexible Data Export:** Download results in JSON, CSV, Excel, and other supported Apify formats.
- **Scheduled Monitoring:** Repeat searches using Apify Schedules to track newly discovered content.

### Use Cases

- **Federated Content Discovery:** Find PeerTube videos about specific subjects without searching individual instances.
- **Research and Analysis:** Build datasets containing video titles, categories, and publication dates.
- **Content Monitoring:** Repeat keyword searches and compare results to identify newly discovered videos.
- **Licence and Language Research:** Explore the licences and languages associated with videos matching a topic.
- **Content Discovery Pipelines:** Use structured video metadata as a starting point for research and other data workflows.

### Search Mode

**Videos**

Searches for videos across the PeerTube federation through SepiaSearch.

Provide a keyword or phrase using `search` and set `maxItems` to control how many results you want. The actor supports a maximum of 1,000 records per run.

### Input Parameters

| Parameter | Description | Default |
|---|---|---|
| `mode` | Collection mode. Use `videos` to search PeerTube videos. | `videos` |
| `search` | Keyword or phrase used to find videos. | `linux` |
| `maxItems` | Maximum number of successful video records to collect (1–1,000). | `100` |
| `requestDelayMs` | Delay between collection requests, in milliseconds. | `1000` |
| `timeoutSecs` | Maximum duration allowed for the overall run, in seconds. | `300` |
| `requestTimeoutSecs` | Maximum waiting time for an individual request, in seconds. | `30` |
| `proxyConfiguration` | Optional proxy configuration for collection requests. | Disabled |

### Input Example

```json
{
  "mode": "videos",
  "search": "linux",
  "maxItems": 100,
  "requestDelayMs": 1000,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Output Example

Each dataset item represents a discovered PeerTube video.

```json
{
  "id": 167978,
  "uuid": "da5463ca-fbc7-4311-948a-356594d5c70a",
  "shortUUID": "sXGnj113k5GYzdzzYmr4cY",
  "score": 1,
  "createdAt": "2025-05-11T20:36:00.942Z",
  "updatedAt": "2026-09-27T00:10:13.618Z",
  "publishedAt": "2025-05-11T20:43:40.247Z",
  "originallyPublishedAt": null,
  "category": {
    "id": 15,
    "label": "Science & Technology"
  },
  "licence": {
    "id": null,
    "label": "Unknown"
  },
  "language": {
    "id": "en",
    "label": "English"
  },
  "privacy": {
    "id": 1,
    "label": "Public"
  },
  "name": "Installing Linux Doesn't Need to Change. The Experience Does.",
  "videoDescription": "People online complain that Linux is hard to install for new users.",
  "scrapedAt": "2026-10-26T00:00:00+00:00",
```

### Output Fields

| Field | Description |
|---|---|
| `id` | Numeric identifier assigned to the video. |
| `uuid` | Unique video identifier used for deduplication. |
| `shortUUID` | Short version of the video's unique identifier. |
| `score` | Search relevance score returned for the video. |
| `createdAt` | Timestamp when the video record was created. |
| `updatedAt` | Timestamp of the video's latest update. |
| `publishedAt` | Video publication timestamp. |
| `originallyPublishedAt` | Original publication timestamp, when available. |
| `category` | Video category information, including its ID and label. |
| `licence` | Licence information associated with the video. |
| `language` | Video language information, including its ID and label. |
| `privacy` | Video privacy information, including its ID and label. |
| `name` | Video title. |
| `videoDescription` | Description of the video. |
| `scrapedAt` | Timestamp indicating when the record was collected. |

### Collection Limits

- **Maximum records:** 1,000 per run.
- **Default records:** 100.
- **Default request delay:** Approximately one second between paginated requests.
- **Duplicate handling:** Videos are deduplicated using their UUID.
- **Empty searches:** Queries with no matching results return an empty dataset.
- **Failed requests:** An error record is saved when a request fails.

For more consistent collection, use a reasonable request delay and avoid sending excessive traffic to the search service.

### FAQ

**What is PeerTube?**

PeerTube is a decentralized video-sharing platform where independent hosting providers operate their own video platforms while participating in a federated network.

**What is SepiaSearch?**

SepiaSearch is a search service that helps users discover videos across the PeerTube federation.

**Can I search across multiple PeerTube instances?**

Yes. SepiaSearch makes it possible to discover matching videos across the federated network without selecting individual instances.

**What information does this actor collect?**

It collects video titles, descriptions, categories, licences, languages, privacy information, relevance scores, and available timestamps.

**Why is the description field named `videoDescription`?**

The actor uses `videoDescription` to store the video's description text because `description` is reserved by the dataset schema.

**How many videos can one run collect?**

You can collect up to 1,000 video records per run. The default limit is 100.

**What happens when a search returns no results?**

The actor completes the run with zero video records when no matching results are available.

**Can I schedule recurring searches?**

Yes. Use Apify Schedules to run the same keyword searches automatically at your preferred intervals.

### Related Tools

Explore other data collection solutions that may complement this scraper:

- **YouTube Video Search Scrapers** – Discover videos by keyword and collect publicly available video metadata.
- **Lemmy Posts Scraper** – Collect public community posts and discussions from Lemmy instances.
- **Audioboom Podcasts Scraper** – Discover podcast clips and collect their available metadata.

Looking to collect data from another platform or build a specialized content discovery solution? **BigiByte** develops custom web scrapers, automation solutions, and data APIs tailored to your requirements.

Visit [BigiByte](https://bigibyte.com) to discuss your project.

### Trademark Notice

PeerTube, SepiaSearch, and their associated names, logos, and trademarks belong to their respective owners. They are referenced solely to identify the platforms and sources of the collected information. This actor does not imply affiliation, sponsorship, endorsement, or partnership with these organizations.

### Disclaimer

This actor is an independent data collection tool. It is not affiliated with, endorsed by, sponsored by, or officially associated with PeerTube, SepiaSearch, or their respective owners.

The collected information comes from publicly accessible dataset. Users are responsible for verifying the accuracy of collected records and respecting applicable usage policies, video licences, and attribution requirements.

### Is Web Scraping Legal?

This actor extracts publicly accessible data without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

- **Personal Data:** Video metadata may contain usernames or other personal information. Follow applicable privacy regulations, including GDPR and CCPA where relevant, and handle personal identifiers responsibly.
- **Copyrighted Content:** Video titles, descriptions, images, and other creative materials may be protected by copyright. Respect individual video licences and avoid duplicating or redistributing copyrighted content without permission.
- **Platform Terms and Rate Limits:** Collect data responsibly, avoid excessive traffic, and respect the source platform's applicable usage policies and rate limits.

**Disclaimer:** This information is provided for educational purposes only and does not constitute legal advice. Consult a qualified legal professional if you need guidance about your specific use case.

For more information, read Apify's guide: [Is Web Scraping Legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

## `mode` (type: `string`):

What to scrape. Video search queries PeerTube videos across instances via SepiaSearch.

## `search` (type: `string`):

Search query sent to SepiaSearch.

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between paginated requests. Raise if you see 429.

## `userAgent` (type: `string`):

Identify your scraper

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it. SepiaSearch usually works without a proxy.

## Actor input object example

```json
{
  "mode": "videos",
  "search": "linux",
  "maxItems": 100,
  "requestDelayMs": 1000,
  "userAgent": "BigiByteActorResearch/1.0 (contact: hello@bigibyte.com)",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "search": "linux"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigibyte/peertube-videos-search-sepiasearch").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "search": "linux" }

# Run the Actor and wait for it to finish
run = client.actor("bigibyte/peertube-videos-search-sepiasearch").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search": "linux"
}' |
apify call bigibyte/peertube-videos-search-sepiasearch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigibyte/peertube-videos-search-sepiasearch"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/W0Md9XgubRLhlbLQR/builds/cPEmYcikSUrNmmjEw/openapi.json
