# Pipixia 皮皮虾 Scraper - Posts, Users & Comments (`vulnv/pipixia-scraper`) Actor

Scrape Pipixia (皮皮虾): keyword post search, full post details, post comments, user profiles and a user's posts. Export plays, views, likes, comments, shares, favorites and author data to JSON/CSV/Excel. No login, cookies or proxy needed.

- **URL**: https://apify.com/vulnv/pipixia-scraper.md
- **Developed by:** [VulnV](https://apify.com/vulnv) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 5 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Pipixia Scraper - Search 皮皮虾 Posts, Users & Comments

**Scrape Pipixia (皮皮虾) and export posts, user profiles and comments to JSON, CSV or Excel.** Search posts by keyword, pull a single post's full details, collect a post's comments, get a user's profile, or list every post a user has published - all from one Actor. Each result is one clean, flat row with plays, views, likes, comments, shares, favorites and author data.

No login, no cookies, no proxies and no China IP to configure - data is fetched through a fast, managed pipeline. Just pick an operation, add your input and press **Start**.

> **Unofficial notice:** This is an independent tool and is **not** affiliated with, endorsed by, or connected to Pipixia, 皮皮虾 or ByteDance. "Pipixia" and "皮皮虾" are trademarks of their respective owners, used here only to describe what the Actor scrapes.

### What is Pipixia?

Pipixia (皮皮虾, "Pipi Shrimp") is ByteDance's Chinese humor and meme community, the successor to Neihan Duanzi (内涵段子). Users share funny short videos, image sets and jokes, and the app is famous for its "god comments" (神评) - witty replies that get promoted alongside the post. This scraper gives you programmatic access to Pipixia's search, posts, comments and users so you can track viral content, discover creators and analyze engagement at scale without a Pipixia account.

### Operations

Pick one **Operation** and fill in the matching field:

| Operation | Input field | What you get |
|-----------|-------------|--------------|
| **Search posts by keyword** | `keywords` | Posts matching each keyword, with plays, views, likes and author data. |
| **Post details** | `postUrls` | The full detail of each post (caption, hashtags, media, views, likes, comments, shares, favorites). |
| **Post comments** | `postUrls` | Top-level comments for each post, with likes, replies, attached images or video, and commenter data. |
| **User profile** | `userUrls` | A user's profile: followers, following, total likes, featured-comment count, level, certification, bio. |
| **User's posts** | `userUrls` | Every post a user has published, newest first, paginated. |

`postUrls` accept share links such as `https://h5.pipix.com/ppx/item/7674319711751903551` or bare numeric **post IDs**. `userUrls` accept bare numeric **user IDs** (e.g. `5776675066`) or any link that contains one - one per line.

### How to use it (step by step)

1. Choose an **Operation**.
2. Fill in the matching input:
   - Search posts -> add one or more **Search keywords** (Chinese works best).
   - Post details / Post comments -> paste **Post URLs / IDs**.
   - User profile / User's posts -> paste **User URLs / IDs**.
3. Set **Maximum results per input** (default 100, or 0 for all available) for the paginated operations.
4. Press **Start**. Export the dataset as JSON, CSV, Excel, XML or via the API.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `operation` | string | **Required.** `search_posts`, `post_detail`, `post_comments`, `user_profile`, or `user_posts`. |
| `keywords` | array | Search keywords (for `search_posts`). |
| `postUrls` | array | Post share URLs or post IDs (for `post_detail`, `post_comments`). |
| `userUrls` | array | User IDs or links containing one (for `user_profile`, `user_posts`). |
| `maxItems` | integer | Max results per keyword / user / post. `0` = all available. Default `100`. |

### Output

Every row carries a `record_type` of `post`, `user` or `comment`. Common post fields:

| Field | Description |
|-------|-------------|
| `post_id`, `post_url`, `post_type` | Post identity, share URL, and `video`, `image` or `text`. |
| `content`, `hashtags` | Caption and attached hashtags. |
| `play_count`, `view_count`, `like_count`, `comment_count`, `share_count`, `favorite_count` | Engagement metrics. |
| `author_id`, `author_name`, `author_avatar_url`, `author_followers_count` | Author data. |
| `cover_url`, `video_url`, `duration_seconds`, `image_count` | Media. |
| `create_time`, `ip_location` | Publish time (ISO-8601 UTC) and the region Pipixia shows. |

User (`user`) rows add `nickname`, `description`, `gender`, `followers_count`, `following_count`, `likes_total`, `featured_comment_count`, `level`, `verified`, `verify_desc`, `city` and `create_time` (account creation). Comment (`comment`) rows add `comment_id`, `content`, `like_count`, `reply_count`, `image_count`, `image_url`, `video_url` and the commenter's author fields.

Example post row:

```json
{
  "record_type": "post",
  "operation": "post_detail",
  "input": "https://h5.pipix.com/ppx/item/7674319711751903551",
  "post_id": "7674319711751903551",
  "post_url": "https://h5.pipix.com/ppx/item/7674319711751903551",
  "post_type": "video",
  "content": "怎么你的猫和我的猫不一样啊？",
  "hashtags": "深圳",
  "duration_seconds": 23,
  "create_time": "2026-08-15T17:59:58+00:00",
  "ip_location": "广东",
  "play_count": 207747,
  "view_count": 329137,
  "like_count": 3026,
  "comment_count": 174,
  "share_count": 169,
  "favorite_count": 1061,
  "author_id": "5776675066",
  "author_name": "…"
}
```

### Common use cases

- **Meme and trend tracking** - watch what is going viral on Pipixia for any keyword.
- **Creator discovery** - find humor and lifestyle creators for a niche, then pull their profile and full post history.
- **Comment and sentiment research** - collect a post's comments, including the image and video replies Pipixia is known for.
- **Market and AI research** - build datasets of Chinese internet humor, captions and comments.

### Notes on reliability

- Video, cover and avatar URLs are signed by Pipixia's CDN and expire; download them promptly.
- `play_count` is only set for video posts; image and text posts report `view_count` instead.
- Keyword search returns Pipixia's own ranking and stops when Pipixia reports no more results.
- Pipixia repeats a few popular comments on later comment pages; those repeats are removed, so each comment appears once.
- If a post or user is private, deleted or banned, that input is skipped and the run continues.

### FAQ

**Do I need a Pipixia account, cookies or a proxy?** No. Just add your input and press Start.

**Where do I find a post ID?** Open the post's share link in a browser: the long number after `/ppx/item/` in the final address is the post ID. You can paste that whole link. Shortened links (`/s/...`) must be opened first so they expand to the full address.

**Can I run several keywords or URLs at once?** Yes - add multiple lines. For search and user posts, cross-input duplicate posts are removed automatically.

**Can I try it for free?** Yes. Users on the free Apify plan can fetch up to 10 results in total to try the Actor. Upgrade to a paid Apify plan to run it without that limit.

**What export formats are supported?** JSON, CSV, Excel, XML and HTML, plus the Apify API and integrations such as Google Sheets, Zapier, Make and webhooks.

### Pricing

This Actor is **pay per result**: you are charged for each record it returns (posts, comments and user profiles), plus standard Apify platform usage. Different record types have different prices; see the **Pricing** tab for current rates. You are never charged for inputs that return nothing.

### Related scrapers

- **[Douyin Scraper](https://apify.com/vulnv/douyin-search-scraper)** - 抖音 videos by keyword, with creators and downloads.
- **[Bilibili Scraper](https://apify.com/vulnv/bilibili-scraper)** - 哔哩哔哩 videos, creators and comments.
- **[Xiaohongshu Scraper](https://apify.com/vulnv/xiaohongshu-scraper)** - 小红书 / RedNote notes, users and comments.

# Actor input Schema

## `operation` (type: `string`):

What to scrape. Each operation uses a different input field below:

• Search posts → Keywords
• Post details → Post URLs / IDs
• Post comments → Post URLs / IDs
• User profile → User URLs / IDs
• User's posts → User URLs / IDs

## `keywords` (type: `array`):

For the "Search posts" operation. Add one or more keywords - Chinese works best on Pipixia. Each keyword is searched independently and cross-keyword duplicates are removed.

## `postUrls` (type: `array`):

For the "Post details" and "Post comments" operations. Paste full share URLs (e.g. https://h5.pipix.com/ppx/item/7674319711751903551) or bare numeric post IDs - one per line.

## `userUrls` (type: `array`):

For the "User profile" and "User's posts" operations. Paste bare numeric user IDs (e.g. 5776675066) or any link that contains one - one per line.

## `maxItems` (type: `integer`):

Upper bound on results per keyword / user / post (for the paginated operations: search, user's posts, comments). Cost scales linearly. Set 0 to fetch all available.

## Actor input object example

```json
{
  "operation": "search_posts",
  "keywords": [
    "猫",
    "搞笑"
  ],
  "maxItems": 100
}
```

# Actor output Schema

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

All scraped Pipixia results in the default dataset.

## `overview` (type: `string`):

Overview table of the scraped results.

# 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 = {
    "keywords": [
        "猫",
        "搞笑"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vulnv/pipixia-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 = { "keywords": [
        "猫",
        "搞笑",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vulnv/pipixia-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 '{
  "keywords": [
    "猫",
    "搞笑"
  ]
}' |
apify call vulnv/pipixia-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vulnv/pipixia-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/PZBsDcdw6P1HQuxBD/builds/lOKcsJ2SbhY2QI2lG/openapi.json
