# XNXX Tag Popularity Scraper: Video Counts per Tag (`velvetmetrics/xnxx-tag-popularity`) Actor

Get XNXX tags with the number of videos for each one, a popularity rank and share. Read the top tag directory or any letters A to Z, filter by keyword and minimum count. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/velvetmetrics/xnxx-tag-popularity.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

## XNXX Tag Popularity Scraper: Video Counts per Tag

Measure supply across XNXX tags. The actor reads the public tag directory and returns each tag with its video count, a popularity rank and its share of all tags read, so you can see which niches are crowded and which are thin.

### What you get

- Tag name and search link
- Video count per tag
- Popularity rank and share within the run
- Top tag directory or the A to Z directory, letter by letter

### Who uses it

- Creators and studios choosing tags for new uploads
- Affiliates and SEO teams sizing adult niches
- Analysts tracking how niches grow month to month

### How to use it

1. Choose Top tags or Letters A to Z.
2. Optionally filter by words in the tag and a minimum video count.
3. Click Start and export the dataset.

### Filters

- Letters to read
- Tag contains any of several words
- Minimum videos
- Sort by count or name

### Example record

One real record from this actor:

```json
{
  "tag": "big ass teen",
  "tag_slug": "big-ass-teen",
  "video_count": 702872,
  "popularity_rank": 1,
  "share_of_listed_videos": 0.003177,
  "directory": "top",
  "search_url": "https://www.xnxx.com/search/big-ass-teen",
  "source": "XNXX",
  "source_url": "https://www.xnxx.com/tags",
  "observed_at": "2026-11-11T16:21:17.527Z"
}
```

**[Input](https://apify.com/velvetmetrics/xnxx-tag-popularity/input-schema) | [Output](https://apify.com/velvetmetrics/xnxx-tag-popularity/output-schema) | [Pricing](https://apify.com/velvetmetrics/xnxx-tag-popularity/pricing) | [Examples](https://apify.com/velvetmetrics/xnxx-tag-popularity/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 many tags are there?**

The top directory lists about 2,000 tags. Each letter page lists up to about 2,000 more.

**Can I track growth?**

Yes. Schedule a monthly run and compare video counts per tag.

# Actor input Schema

## `scope` (type: `string`):

Top tags reads the main tag directory (about 2,000 tags). Letters reads the A to Z directory pages you choose (up to about 2,000 tags per letter).

## `letters` (type: `array`):

Letters to read when the directory is Letters A to Z, for example a, b, 0-9. Leave empty for all letters.

## `tagContains` (type: `array`):

Only return tags that contain any of these words. Leave empty for all.

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

Skip tags with fewer videos than this.

## `sortBy` (type: `string`):

Order of the output.

## `maxTags` (type: `integer`):

Maximum number of tags to return.

## Actor input object example

```json
{
  "scope": "top",
  "minVideos": 0,
  "sortBy": "videos",
  "maxTags": 50
}
```

# 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 = {
    "maxTags": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("velvetmetrics/xnxx-tag-popularity").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 = { "maxTags": 50 }

# Run the Actor and wait for it to finish
run = client.actor("velvetmetrics/xnxx-tag-popularity").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 '{
  "maxTags": 50
}' |
apify call velvetmetrics/xnxx-tag-popularity --silent --output-dataset

```

## MCP server setup

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

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/544dy7mzhWjexwPDq/builds/nGl4F5YvE3yDfy2Kr/openapi.json
