# Pornhub scraper (`saswave/pornhub-scraper`) Actor

Pornhub scraper is a toolbox to extract any sort of data from the website pornhub.com . Perfect tool for monitoring trends and crawl multiple sources at scale. New features can be added on demand,
It suits +18 adult content creators or analysts

- **URL**: https://apify.com/saswave/pornhub-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** Automation, Social media, Videos
- **Stats:** 231 total users, 4 monthly users, 78.6% runs succeeded, 6 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Pornhub Scraper Toolbox

Pornhub Scraper is a versatile data extraction toolkit designed for analyzing trends, monitoring profiles, and crawling multiple sources at scale.

Ideal for content creators, marketers, or data analysts, it provides structured insights from profiles, videos, and channels.

### 🚀 Features

Extract profile information: verified status, rankings, subscribers, and more.

Retrieve videos uploaded by or tagged with a specific performer.

Analyze relationships: subscriptions, co-stars, featured channels, and social media links.

Structured JSON output for easy integration with dashboards or analytics tools.

Extensible: new features can be added on demand.

### Output example

Subscriptions / Pornstars / Channels / Friends / Subscribers from 1 profile url

```json
{
  "verified": false,
  "link": "https://pornhub.com/pornstar/marie-madison",
  "id": "5186",
  "image_url": "https://ei.phncdn.com/pics/users/379/723/971/avatar1505751998/(m=ewILGCjadOf)(mh=dSgDSKqsCf--w9VD)200x200.jpg",
  "title": "Marie Madison"
}
```

Profile About

```json
{
  "name": "Marie Madison",
  "username": "marie-madison",
  "model_rank": "16",
  "rank_week": "9",
  "rank_month": "16",
  "rank_last_month": "16",
  "rank_year": "17",
  "total_views": " 983,936,172",
  "subscribers": " 1,085,317",
  "featured_in": [
    {
      "name": "Lena Paul X",
      "url": "https://fr.pornhub.com/channels/lena-paul-x"
    },
    {
      "name": "Girlsway",
      "url": "https://fr.pornhub.com/channels/girlsway"
    },
    {
      "name": "Bang Bros Network",
      "url": "https://fr.pornhub.com/channels/bangbrosnetwork"
    }
  ],
  "twitter": "https://www.twitter.com/Lenaisapeach",
  "instagram": "https://www.instagram.com/Lenapaulxo",
  "about": [
    "Situation amoureuse: Disponible",
    "Intéressé par: Gars et Filles",
    "Ville et Pays: SoCal, US",
    "Vues du profil de la star du porno: 128,226,958",
    "Statut de Carrière: Actif",
    "Début et fin de Carrière: 2016 à Présent",
    "Sexe: Femme",
    "Lieu de Naissance: Florida, United States of America",
    "Étoile: Libra",
    "Mensurations: 32DDD-25-38",
    "Hauteur: 5 pi 4 po (163 cm)",
    "Poids: 128 lb (58 kg)",
    "Ethnicité: White",
    "Arrière-plan: Irish",
    "Couleur des cheveux: Blonde",
    "Couleur des yeux: Grey",
    "Faux Seins: No",
    "Tatouages: No",
    "Piercings: Yes",
    "Affichages de profil: 135 066 349",
    "Vidéos vues: 598"
  ],
  "description": "",
  "achievements": [
    {
      "name": "You survived 2020",
      "description": "You survived 2020",
      "progress": "100%"
    },
    {
      "name": "Amateur newcomer of the month 2016",
      "description": "Hottest amateur to join in the last 90 days",
      "progress": "100%"
    },
    {
      "name": "Model of the month 2020",
      "description": "Model of the month winner for 2020!",
      "progress": "100%"
    },
    {
      "name": "Best Chest",
      "description": "Nominee of the Pornhub Award - Best Chest",
      "progress": ""
    },
    //truncated for example
  ],
  "all_achievements": [
    {
      "name": "NICEST TITS",
      "description": "Nominee of the Fan Voted Award - NICEST TITS",
      "progress": ""
    },
    {
      "name": "Best Chest",
      "description": "Nominee of the Pornhub Award - Best Chest",
      "progress": ""
    },
    //truncated for example
  ]
}
```

Search Profile & Profile Costars

```json
{
  "performer_url": "https://fr.pornhub.com/pornstar/aiden-starr",
  "performer_image_url": "https://ei.phncdn.com/(m=bLqDuhKlbyaT)(mh=WqC0aCggAM_zF8Hx)b2d31bd9-2fee-4117-aa82-2747bb93c02f.jpg",
  "performer_rank_nb": "1941",
  "performer_rank_mov": "rank-up",
  "performer_name": "Aiden Starr",
  "performer_badges": [
    "Verified Model"
  ],
  "performer_videos": "215 Vidéos",
  "performer_views": "46M Vues"
}
```

Search video / Video Uploaded / Video Tagged

```json
{
  "video_id": "65ca2aec1b4f8",
  "video_url": "https://pornhub.com/view_video.php?viewkey=65ca2aec1b4f8",
  "image_url": "https://ei.phncdn.com/videos/202402/12/448055681/original/(m=qVU628YbeafTGgaaaa)(mh=IqIgSCqugKURCHr9)0.jpg",
  "username_url": "https://pornhub.com/model/pantiesqueen",
  "username": "PantiesQueen",
  "views": "117K",
  "rating": "91%",
  "duration": "24:57",
  "title": "Hot professeur clignote d’énormes lèvres de chatte pompées et éjacule sur cam pendant les cours en ligne"
}
```

### 💡 Use Cases

Monitor performer popularity trends over time.

Analyze audience engagement and video performance.

Build dashboards for content analytics.

Aggregate social media profiles and achievements.

### ⚙️ How It Works

Provide a performer profile URL or search query.

Retrieve structured JSON data for profiles, videos, and co-stars.

Integrate with analytics tools, dashboards, or databases.

### 📝 Why Choose Pornhub Scraper

Fast and reliable data extraction.

Easy to extend with new features.

Structured output ready for data analysis.

Perfect for marketers, analysts, or content creators.

### 🔗 Related Resources

JSON data handling for analytics dashboards.

Trend monitoring techniques for media content.

Social media integration with profile analytics.

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `url_videos` (type: `string`):

Any search url with video as results

## `url_profiles` (type: `string`):

Any search url with profile as results

## `url_get_profile_infos` (type: `string`):

Any profile url to get data from different section: about, subscriptions, pornstar subscriptions, channel subscriptions, costars, friends, subscribers, videos uploaded, videos tagged

## `get_profile_type` (type: `string`):

When providing profile URL, select the type of scraping

## `max_page` (type: `integer`):

0 = no limit

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

Pornhub is not available in some US states until new state law remove the ID requirements to access website

## Actor input object example

```json
{
  "url_get_profile_infos": "https://pornhub.com/model/sweetie-fox",
  "get_profile_type": "about",
  "max_page": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# 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 = {
    "url_videos": "",
    "url_profiles": "",
    "url_get_profile_infos": "https://pornhub.com/model/sweetie-fox",
    "get_profile_type": "about",
    "max_page": 1,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/pornhub-scraper").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 = {
    "url_videos": "",
    "url_profiles": "",
    "url_get_profile_infos": "https://pornhub.com/model/sweetie-fox",
    "get_profile_type": "about",
    "max_page": 1,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/pornhub-scraper").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 '{
  "url_videos": "",
  "url_profiles": "",
  "url_get_profile_infos": "https://pornhub.com/model/sweetie-fox",
  "get_profile_type": "about",
  "max_page": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}' |
apify call saswave/pornhub-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/pornhub-scraper"
        }
    }
}

```

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/3rClX9WK9x9BTie22/builds/yWggeE619y4NwCrtF/openapi.json
