# RedTube Category Stats Scraper: Videos, Uploads & Top Views (`velvetmetrics/redtube-category-stats`) Actor

Measure every RedTube category: total videos, share of all category videos, newest upload, estimated uploads per day and this week's most viewed video with its views. Pick categories or measure them all. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/velvetmetrics/redtube-category-stats.md
- **Developed by:** [VelvetMetrics](https://apify.com/velvetmetrics) (community)
- **Categories:** Videos, Marketing, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

## RedTube Category Stats Scraper: Videos, Uploads & Top Views

Size every RedTube category in one run. For each category you get the total number of videos, its share of all category videos, how fast new videos arrive and this week's most viewed video with its views.

### What you get

- Total videos and share per category
- Newest upload and estimated uploads per day
- This week's top video, its views and the top 20 average

### Who uses it

- Studios deciding which categories to produce for
- Affiliates comparing category supply and demand
- Analysts tracking category growth over time

### How to use it

1. Leave Categories empty for all, or list the ones you want.
2. Keep weekly top on for view metrics.
3. Click Start and export the dataset.

### Filters

- Category list
- Minimum videos

### Example record

One real record from this actor:

```json
{
  "category": "Amateur",
  "category_id": 6,
  "video_count": 953866,
  "newest_publish_at": "2026-11-11T06:54:55",
  "est_uploads_per_day": 1660,
  "weekly_top_video_title": "Part 1.I Hope my BF never Finds this Homemade Video!",
  "weekly_top_video_url": "https://www.redtube.com/307939891",
  "weekly_top_video_views": 7584,
  "weekly_top20_avg_views": 4076,
  "category_url": "https://www.redtube.com/redtube/amateur",
  "size_rank": 1,
  "share_of_category_videos": 0.670693,
  "source": "RedTube",
  "observed_at": "2026-11-11T16:18:20.554Z"
}
```

**[Input](https://apify.com/velvetmetrics/redtube-category-stats/input-schema) | [Output](https://apify.com/velvetmetrics/redtube-category-stats/output-schema) | [Pricing](https://apify.com/velvetmetrics/redtube-category-stats/pricing) | [Examples](https://apify.com/velvetmetrics/redtube-category-stats/examples)**

### Pricing

You pay per record returned, plus a small start fee per run. Runs that find nothing return no billable records. Free Apify plans get up to 10 records per run.

### Data and privacy

Only public metadata that the platform shows to every adult visitor is returned: public stage names or handles, counts, ratings, tags, durations, dates and page links. No real names, home addresses or private contact details are collected. Image and preview links are returned as plain text. No videos, images or streams are downloaded or stored. The content of the source platform is for adults only.

### FAQ

**How is uploads per day estimated?**

From the time span covered by the 20 newest videos in the category at run time.

**How often should I run it?**

Weekly or monthly runs show which categories grow fastest.

# Actor input Schema

## `categories` (type: `array`):

Category names to measure, for example Amateur, MILF, Asian. Leave empty for all categories.

## `includeWeeklyTop` (type: `boolean`):

Add this week's most viewed video per category and the average views of its top 20.

## `minVideos` (type: `integer`):

Skip categories with fewer videos.

## `maxCategories` (type: `integer`):

Maximum number of categories to return.

## Actor input object example

```json
{
  "includeWeeklyTop": true,
  "minVideos": 0,
  "maxCategories": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "maxCategories": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("velvetmetrics/redtube-category-stats").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 = { "maxCategories": 20 }

# Run the Actor and wait for it to finish
run = client.actor("velvetmetrics/redtube-category-stats").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 '{
  "maxCategories": 20
}' |
apify call velvetmetrics/redtube-category-stats --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,velvetmetrics/redtube-category-stats"
        }
    }
}
```

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/k15BiDIkXzLCio8Hx/builds/ZsPxfPlrcPtalHGRb/openapi.json
