# IFunny Video Downloader (`codenest/ifunny-video-downloader`) Actor

Extract viral IFunny videos at cheapest rate with complete metadata - titles, uploaders, duration, thumbnails, resolution, bitrates, and direct MP4 download URLs. Bulk process support.

- **URL**: https://apify.com/codenest/ifunny-video-downloader.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Social media, Videos, Developer tools
- **Features:** Limited permissions
- **Stats:** 9 total users, 0 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

## 🎬 IFunny Video Downloader - Ultimate Meme & Comedy Content Extraction Tool

**Effortlessly download IFunny videos with our enterprise-grade powerful actor! This Apify **IFunny Video Downloader** enables you to batch download hilarious meme content while preserving original quality, complete metadata, and direct CDN access.**

***

### 📋 Overview

Need to archive IFunny content or repurpose viral comedy videos? The **IFunny Video Downloader** delivers:

- 🎯 **Bulk Processing**: Download 100+ videos per run
- 📊 **FFprobe Integration**: Optional deep media analysis
- 🖼️ **High-Res Thumbnails**: 640x quality preview images
- ⏱️ **Precise Timing**: Millisecond-accurate duration tracking
- 📏 **Resolution Intelligence**: Auto-detects width/height dimensions
- 💾 **File Size Tracking**: Know exactly how much storage you need

Perfect for meme archivists 🤣, content creators 🎨, social media managers 📱, and comedy researchers 🔬!

***

### ⭐ Key Features of IFunny Video Downloader

#### 🎥 Media Extraction Capabilities

- **Direct MP4 Downloads**: Get original video files
- **Thumbnail Extraction**: High-quality cover images (640px)
- **Bulk Mode**: Process multiple URLs simultaneously
- **Format Detection**: Automatic MP4/H264/AAC identification

#### 📝 Comprehensive Metadata

- **Video Titles**: Exact titles with creator info
- **Uploader Profiles**: Author usernames and handles
- **Timestamps**: Both date (YYYYMMDD) and Unix timestamp formats
- **Content Descriptions**: Native iFunny descriptions
- **Technical Specs**: Codec, bitrate, FPS, and file size

#### 🔧 Advanced Technical Features

- **FFprobe Integration**: Optional deep media analysis (toggle on/off)
- **Resolution Tracking**: Width/height in pixels
- **Codec Detection**: H264 video + AAC audio identification
- **Bitrate Monitoring**: Video (VBR) and audio (ABR) bitrates
- **Protocol Verification**: HTTPS CDN link validation

#### 📊 Unique Capabilities

- **Content ID Extraction**: Unique identifiers for each video
- **Tag Support**: Hashtag and category tracking
- **Success Validation**: Per-URL success/failure status
- **Multiple Format Output**: Single or batch processing

***

### ⚙️ Input Configuration

Simply enter IFunny video URLs in the Input Section, toggle FFprobe if needed, then click "Start" and wait for results. URL format example:

```json
{
  "run_ffprobe": true,
  "video_urls": [
    {
      "url": "https://ifunny.co/video/pov-a359-peterbilt-drives-through-apeacefyl-town-at-am-VflWyCPHD?s=cl"
    },
    {
      "url": "https://ifunny.co/video/OTeKOFPHD?s=cl"
    }
  ]
}
```

#### 📊 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `video_urls` | Array | ✅ Yes | IFunny video URLs to process |
| `url` | String | ✅ Yes | Valid IFunny video URL |
| `run_ffprobe` | Boolean | ❌ No | Enable deep media analysis (default: false) |

***

### 📤 Output Structure

Your **IFunny Video Downloader** will produce output like this:

```json
{
  "input_url": "https://ifunny.co/video/OTeKOFPHD?s=cl",
  "content_id": "OTeKOFPHD",
  "title": "Video memes OTeKOFPHD by repost_repost_repost: 7 comments - iFunny (1)",
  "description": "IFunny is fun of your life. Images, GIFs and videos featured seven times a day.",
  "thumbnail": "https://imageproxy.ifunny.co/resize:640x,quality:90x75/images/58ca1d49385388f750f2c809449dcb67ec2fb2abf589db349a7320091e607959_3.jpg",
  "duration": 51.669,
  "width": 640,
  "height": 360,
  "uploader": "repost_repost_repost",
  "upload_date": "20260420",
  "upload_timestamp": 1776677717,
  "tags": [],
  "media_type": "mp4",
  "filesize": 3572875,
  "content_type": "video/mp4",
  "download_url": "https://img.ifunny.co/videos/58ca1d49385388f750f2c809449dcb67ec2fb2abf589db349a7320091e607959_1.mp4",
  "formats": [
    {
      "format_id": "0",
      "url": "https://img.ifunny.co/videos/58ca1d49385388f750f2c809449dcb67ec2fb2abf589db349a7320091e607959_1.mp4",
      "ext": "mp4",
      "width": 640,
      "height": 360,
      "fps": 30,
      "tbr": 553.2,
      "vbr": 415.6,
      "abr": 129.1,
      "vcodec": "h264",
      "acodec": "aac",
      "filesize": 3572875,
      "protocol": "https"
    }
  ],
  "success": true
}
```

#### 📋 Output Field Documentation

**🎯 Content Identification**
| Field | Description |
|-------|-------------|
| `input_url` | Original IFunny video URL provided |
| `content_id` | Unique identifier for the IFunny video |
| `success` | Boolean indicating successful extraction |

**📝 Metadata Section**
| Field | Description |
|-------|-------------|
| `title` | Full video title with creator and comment count |
| `description` | Native iFunny platform description |
| `uploader` | Content creator's username |
| `upload_date` | Publication date in YYYYMMDD format |
| `upload_timestamp` | Unix timestamp for precise archiving |
| `tags` | Hashtags and categories (array format) |

**🎬 Media Specifications**
| Field | Description |
|-------|-------------|
| `duration` | Video length in seconds (decimal precision) |
| `width` | Horizontal resolution in pixels |
| `height` | Vertical resolution in pixels |
| `media_type` | Container format (mp4) |
| `filesize` | File size in bytes |
| `content_type` | MIME type specification |

**📥 Download Assets**
| Field | Description |
|-------|-------------|
| `download_url` | Direct CDN link for video download |
| `thumbnail` | High-quality preview image (640px) |

**🎛️ Advanced Format Details**
| Field | Description |
|-------|-------------|
| `format_id` | Quality tier identifier |
| `fps` | Frames per second (typically 30) |
| `tbr` | Total bitrate in kbps |
| `vbr` | Video bitrate in kbps |
| `abr` | Audio bitrate in kbps |
| `vcodec` | Video codec (H264) |
| `acodec` | Audio codec (AAC) |
| `protocol` | Transfer protocol (HTTPS) |

***

### 🎨 Quality & Resolution Options

The **IFunny Video Downloader** automatically detects and provides:

1. **Portrait Mode** - 640x1138 (vertical smartphone format)
2. **Landscape Mode** - 640x360 (horizontal widescreen)
3. **Standard Definition** - Consistent 640px width with variable height
4. **Optimized Bitrates** - Balanced quality vs. file size (550-1300 kbps)

Each video includes complete technical specifications for professional editing workflows.

***

### 🔬 FFprobe Integration (Optional)

Enable `run_ffprobe: true` to unlock:

- **Deep codec analysis** - Extended video stream information
- **Frame-accurate metadata** - Perfect for frame-by-frame editing
- **Container validation** - Verify file integrity
- **Stream mapping** - Detailed audio/video track information

***

### 💼 Use Cases for IFunny Video Downloader

- **Meme Archivists** – Preserve viral comedy content before it disappears
- **Content Compilation Creators** – Build "best of iFunny" montages
- **Social Media Managers** – Repurpose funny content for other platforms
- **Comedy Researchers** – Study humor patterns and viral trends
- **Video Editors** – Access raw MP4 files for remixing
- **Data Scientists** – Analyze metadata patterns (duration, resolution, upload times)
- **Digital Marketers** – Find trending comedy for campaigns

***

### 🚀 Why Choose Our IFunny Video Downloader?

- **⚡ Blazing Fast** – Direct CDN access for maximum download speeds
- **🎯 100% Free** – No hidden costs or premium tiers
- **📦 Bulk Ready** – Process dozens of URLs in one run
- **🔒 Reliable** – Stable extraction with comprehensive error handling
- **🔄 Regular Updates** – Maintained for iFunny platform changes
- **📊 Rich Data** – Get 20+ metadata fields per video
- **🎨 User-Friendly** – Simple JSON input, clean structured output

***

### ⚠️ Limitations

- Only works with **public iFunny videos** (no private content)
- Maximum **640px width** (iFunny platform limitation)
- May encounter **rate limits** based on iFunny's restrictions
- Requires **valid video URLs** (supports `?s=cl` and other parameters)

***

### 🔗🛠 Related Actors (Complete Social Media Suite)

Explore our full scraping suite for enhanced content extraction:

#### 🎥 Video Downloaders:

- [Instagram Reels Downloader](https://apify.com/codenest/instagram-reels-downloader)
- [Facebook Video Downloader](https://apify.com/codenest/facebook-video-downloader)
- [Facebook Reels Downloader](https://apify.com/codenest/facebook-reels-downloader)

***

### 📧 Need Customization?

Want **higher resolution support**, **batch export to cloud storage**, or **custom metadata formatting**?

✉ Email **<codenest2.0@gmail.com>** for tailored solutions!

# Actor input Schema

## `video_urls` (type: `array`):

List of iFunny URLs to extract. Each item must have a url key. Supports /video/, /gif/, /picture/, /meme/, and /cartoon/ paths.

## `cookies` (type: `string`):

Netscape-format cookies.txt content from a logged-in iFunny browser session. Enables view_count, like_count, comment_count, and uploader_id fields that require authenticated API access.

## `run_ffprobe` (type: `boolean`):

Probe each video URL with ffprobe to extract precise duration, fps, video/audio codecs, and bitrates. Requires ffprobe in the runtime PATH. Adds a few seconds per URL.

## `proxy` (type: `object`):

Apify proxy settings. Residential proxies recommended if iFunny blocks datacenter IPs.

## Actor input object example

```json
{
  "video_urls": [
    {
      "url": "https://ifunny.co/video/prVHE9NHD?s=cl"
    }
  ],
  "run_ffprobe": true,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "video_urls": [
        {
            "url": "https://ifunny.co/video/prVHE9NHD?s=cl"
        }
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/ifunny-video-downloader").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 = {
    "video_urls": [{ "url": "https://ifunny.co/video/prVHE9NHD?s=cl" }],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("codenest/ifunny-video-downloader").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 '{
  "video_urls": [
    {
      "url": "https://ifunny.co/video/prVHE9NHD?s=cl"
    }
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call codenest/ifunny-video-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codenest/ifunny-video-downloader"
        }
    }
}
```

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/nLFAxQdk9UkTeyGge/builds/tIfxrdZdcW83lTtfp/openapi.json
