# Ixigua Video Downloader 🎥 (`easyapi/ixigua-video-downloader`) Actor

Download high-quality videos from Ixigua (西瓜视频) with ease. Extract video metadata and get direct download links in multiple resolutions. Perfect for content creators and researchers who need to archive or analyze Ixigua videos.

- **URL**: https://apify.com/easyapi/ixigua-video-downloader.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Videos, Other
- **Stats:** 67 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

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

## Ixigua Video Downloader 🎥

### 🚀 Features

- Download videos from Ixigua (西瓜视频) in multiple quality options (720p, 480p, 360p)
- Extract video metadata including title, author, duration, and thumbnail
- Support batch processing of multiple video URLs
- Get direct MP4 download links
- Fast and reliable processing with rate limiting
- Detailed output with video quality options and metadata

### 📋 Input Parameters

The actor accepts the following input parameters:

| Field | Type | Description |
|-------|------|-------------|
| links | array | Array of Ixigua video URLs to process (e.g., https://www.ixigua.com/7xxxxxxxxxx) |

### 📦 Output

The actor outputs JSON files containing:

- Original video URL
- Video source information
- Author details
- Video title
- Thumbnail URL
- Video duration
- Available media formats with direct download links
- Quality options for each format
- Processing status and timestamps

### 🔍 Use Cases

- Content creators needing to download and archive Ixigua videos
- Researchers collecting video data for analysis
- Media companies managing content from multiple sources
- Backup important videos for offline viewing

### 💡 Tips

- Make sure to provide valid Ixigua video URLs
- For batch processing, include multiple URLs in the input array
- Download links are temporary and should be used promptly
- Consider video quality based on your needs (720p for best quality)

### ⚠️ Limitations

- Only works with public Ixigua videos
- Download links expire after a certain period
- Rate limiting applies to prevent API abuse
- Some videos might be region-restricted

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "links": [
        "https://www.ixigua.com/7439995159104487976"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "url": "https://www.ixigua.com/7439995159104487976",
        "result": {
            "url": "https://www.ixigua.com/7439995159104487976",
            "source": "ixigua",
            "author": "toutiao",
            "title": "v02004g10000ct02k6nog65lkbk2ij5g",
            "thumbnail": "https://p9-tt-video-play-sign.byteimg.com/tos-cn-o-0004/oABgqIQohAEipyAAQDvKGEAA0IZ2VTi1ugJLI~tplv-noop.image?dy_q=1738824335&l=20250206144535DD6E549501663F8FA377&x-expires=1738829855&x-signature=qc%2Fe4%2Ft1Qmz4f7jjyQooZrDYIp8%3D",
            "duration": 1920.034,
            "medias": [
                {
                    "url": "https://v3-cha.toutiaovod.com/7966b655244df44fb801f61f652d1eb6/67a4701f/video/tos/cn/tos-cn-ve-4/osABjaQgCfAFWECW6lRmrQfdSoDvABDISmnnRA/?a=13&ch=0&cr=0&dr=0&net=5&cd=0%7C0%7C0%7C0&cv=1&br=826&bt=826&cs=0&ds=3&ft=F.4Zz5b30h712NvjhIi.FnRfDTcjs-4kSYNc&mime_type=video_mp4&qs=0&rc=ZjdkNjVoNGRnNjdkO2lmOkBpam01ZW85cjk1dzMzNDczM0AyYmJfNi1fNjQxMi0yNWFgYSMyZmhoMmRraC1gLS1kLS9zcw%3D%3D&btag=80000e000b8030&dy_q=1738824335&l=20250206144535DD6E549501663F8FA377",
                    "quality": "720p",
                    "extension": "mp4",
                    "type": "video"
                },
                {
                    "url": "https://v3-cha.toutiaovod.com/92cddfe4b94fe92bc1a7b95e1a479780/67a4701f/video/tos/cn/tos-cn-ve-4/oQdaAASlCCifBEInqQFfABgFmWRcoWQRRjDrAa/?a=13&ch=0&cr=0&dr=0&net=5&cd=0%7C0%7C0%7C0&cv=1&br=348&bt=348&cs=0&ds=1&ft=F.4Zz5b30h712NvjhIi.FnRfDTcjs-4kSYNc&mime_type=video_mp4&qs=0&rc=NWVkOmk6ZjM2NGRmMzVkOkBpam01ZW85cjk1dzMzNDczM0BiYF8zMy00NjAxLTZhLS1eYSMyZmhoMmRraC1gLS1kLS9zcw%3D%3D&btag=80000e000b8030&dy_q=1738824335&l=20250206144535DD6E549501663F8FA377",
                    "quality": "360p",
                    "extension": "mp4",
                    "type": "video"
                },
                {
                    "url": "https://v3-cha.toutiaovod.com/e464e6f15f532434e48d20bdb8084755/67a4701f/video/tos/cn/tos-cn-ve-4/oUIiqoE1EiRGgLQhALRAgIipFtBRuTOZA0Avw/?a=13&ch=0&cr=0&dr=0&net=5&cd=0%7C0%7C0%7C0&cv=1&br=478&bt=478&cs=0&ds=2&ft=F.4Zz5b30h712NvjhIi.FnRfDTcjs-4kSYNc&mime_type=video_mp4&qs=0&rc=OmRkaTVpZzpoZjZkNjw3M0Bpam01ZW85cjk1dzMzNDczM0BeLWI0LWBgXy8xXzI1LV4wYSMyZmhoMmRraC1gLS1kLS9zcw%3D%3D&btag=80000e000b8030&dy_q=1738824335&l=20250206144535DD6E549501663F8FA377",
                    "quality": "480p",
                    "extension": "mp4",
                    "type": "video"
                }
            ],
            "type": "multiple",
            "error": false,
            "time_end": 2443
        }
    }
]
```

### Related Actors

- 🎥 [Douyin Video Downloader](https://apify.com/easyapi/douyin-video-downloader) - Download videos from Chinese TikTok without watermark
- 🎥 [TikTok Video Downloader](https://apify.com/easyapi/tiktok-video-downloader) - Download TikTok videos without watermarks in original quality
- 🎥 [Bilibili Video Downloader](https://apify.com/easyapi/bilibili-video-downloader) - Extract and download videos from Bilibili with multiple quality options
- 🎥 [WeiBo Media Downloader](https://apify.com/easyapi/weibo-wei-bo-media-downloader) - Download high-quality videos and images from Weibo posts
- 🎥 [YouTube Video Downloader](https://apify.com/easyapi/youtube-video-and-mp3-downloader) - Download high-quality videos and audio from YouTube
- 🎥 [DailyMotion Video Downloader](https://apify.com/easyapi/dailymotion-video-downloader) - Extract and download videos from DailyMotion in various formats
- 🎥 [Facebook Video Download](https://apify.com/easyapi/facebook-video-download) - Download Facebook videos in HD quality up to 4K resolution
- 🎥 [Instagram Videos Downloader](https://apify.com/easyapi/instagram-videos-downloader) - Download videos from Instagram posts, reels, and stories
- 🎥 [Vimeo Video Downloader](https://apify.com/easyapi/vimeo-video-downloader) - Download videos from Vimeo in multiple quality options
- 🎥 [Twitter/X Video Downloader](https://apify.com/easyapi/twitter-x-video-downloader) - Download high-quality videos from Twitter/X platform
- 🎥 [Reddit Media Downloader](https://apify.com/easyapi/reddit-media-downloader) - Download videos, GIFs, and images from Reddit posts
- 🎥 [Snapchat Video Downloader](https://apify.com/easyapi/snapchat-video-downloader) - Download videos from Snapchat stories and posts
- 🎥 [VK Video Downloader](https://apify.com/easyapi/vk-video-downloader) - Extract and download high-quality videos from VK.com
- 🎥 [Telegram Media Downloader](https://apify.com/easyapi/telegram-media-downloader) - Download videos and photos from Telegram posts
- 🎥 [CapCut Video Downloader](https://apify.com/easyapi/capcut-video-downloader) - Download CapCut videos in multiple quality options
- 🎥 [RedNote(Xiaohongshu) Video Downloader](https://apify.com/easyapi/rednote-xiaohongshu-video-downloader) - Download videos from Xiaohongshu with comprehensive metadata

# Actor input Schema

## `links` (type: `array`):

Array of Ixigua video URLs to process

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

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "links": [
    "https://www.ixigua.com/7439995159104487976"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "links": [
        "https://www.ixigua.com/7439995159104487976"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/ixigua-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 = { "links": ["https://www.ixigua.com/7439995159104487976"] }

# Run the Actor and wait for it to finish
run = client.actor("easyapi/ixigua-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 '{
  "links": [
    "https://www.ixigua.com/7439995159104487976"
  ]
}' |
apify call easyapi/ixigua-video-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/ixigua-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/6ahb4lGtngd6FBd6M/builds/BR4viph6AWAk4ewed/openapi.json
