Baidu Tieba Scraper avatar

Baidu Tieba Scraper

Pricing

from $2.20 / 1,000 results

Go to Apify Store
Baidu Tieba Scraper

Baidu Tieba Scraper

This powerful tool allows you to easily extract posts from forums, profiles, search terms and topics from tieba.baidu.com. Only pay for what you use. Works with MCP and AI tools.

Pricing

from $2.20 / 1,000 results

Rating

0.0

(0)

Developer

Nataniel Santos

Nataniel Santos

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

โœจ Features

  • ๐Ÿ”Ž Scrape post using search terms
  • ๐Ÿท๏ธ Scrape posts from specific forums tabs
  • ๐Ÿ“Š Search inside forums
  • ๐Ÿ‘ค Scrape posts from specific user profiles
  • ๐Ÿ”ฅ Scrape posts from hot topics

๐ŸŽฏ Who Is This For?

  • Researchers looking to analyze trends and discussions on Baidu Tieba
  • Marketers interested in understanding consumer sentiment and popular topics
  • Data scientists seeking to build models based on Baidu Tieba data
  • Anyone interested in exploring the rich content of Baidu Tieba for personal or professional reasons

๐Ÿ’ก Input Parameters

๐Ÿ” Scraping by search terms:

  • ๐Ÿ” searchTerms - Enter one or more keywords to search for. Each keyword runs as a separate search. Add the limit per term in the maxPosts field
  • ๐Ÿท๏ธ sortSearchBy - Choose how to sort search results: most_relevant, latest or oldest
  • ๐Ÿ‘ฅ searchWithinForum - If you want to search within a specific forum, enter the forum name, ID or URL here. This will limit the search results to that forum. Leave empty to search across all forums.

๐ŸŒ Scraping by forum tabs:

  • ๐Ÿ—ซ forums
    • ๐Ÿ—ซ forum - Enter the forum name, ID or URL you want to scrape
    • ๐Ÿ—‚๏ธ tabs - Select the forum tabs you want to scrape. You can choose from: highlights, popular, latest and video.
    • ๐Ÿ—ƒ๏ธ customTabs - Write the tab names in Chinese, it must match the website exactly.
    • โš™๏ธ maxPostsPerTab - Maximum number of posts to scrape per forum tab. The Actor will stop scraping once this limit is reached for the tab.

๐Ÿ”— Scraping by post URLs, profile URLs or hot topic URLs:

  • ๐Ÿ”— urls - You can add direct URLs to scrape here. It can be a post URL, User Profile URL or Hot Topic URL.

#๏ธโƒฃ Scraping by topics:

  • ๐Ÿ’ฌ topics - Enter the topics you want to scrape. Example: ๅ‰งๆƒ… or #ๅ‰งๆƒ…. Alternatively, you can also add Topic URLs in the Direct URLs section above.
  • โ†•๏ธ sortTopicPostsBy - Choose how to sort the posts when scraping a Hot Topic URL or Topic. 'Hottest' sorts by popularity, while 'Latest' sorts by date with the newest posts first.

โš™๏ธ Options and limits:

  • โš™๏ธ maxPosts - Maximum number of posts to be scraped per search term, topic, profile or hot topic.

โš™๏ธ Input Examples

Example 1 - Search for "AI" and "็”ต่ง†ๅ‰ง", sort results by latest and scrape up to 50 posts per search term:
{
"searchTerms": ["AI", "็”ต่ง†ๅ‰ง"],
"sortSearchBy": "latest",
"maxPosts": 50
}
Example 2 - Search for "็”ตๅฝฑ" within the forum "ๅฝฑ่ง†็ปผๅˆๅง", sort results by most relevant and scrape up to 30 posts:
{
"searchTerms": ["็”ตๅฝฑ"],
"searchWithinForum": "ๅฝฑ่ง†็ปผๅˆๅง",
"sortSearchBy": "most_relevant",
"maxPosts": 30
}
Example 3 - Scrape the "highlights" and "latest" tabs of the forum "็ง‘ๆŠ€ๅง", and the custom tab "ๅฝฑ่ง†่ฏ„่ฎบ" of the forum "็”ตๅฝฑๅง". Limit to 30 posts per tab.
{
"forums": [
{
"forum": "็ง‘ๆŠ€ๅง",
"tabs": ["highlights", "latest"],
"maxPostsPerTab": 30
},
{
"forum": "https://tieba.baidu.com/f?kw=็”ตๅฝฑ",
"customTabs": ["ๅฝฑ่ง†่ฏ„่ฎบ"],
"maxPostsPerTab": 30
}
]
}
Example 4 - Scrape 50 posts from a specific user profile URL
{
"urls": [
"https://tieba.baidu.com/home/main?id=tb.1.135d68fd.x0_ekF6cFiliserYCXzKgg%3Ft%3D1777329085&fr=pb",
],
"sortTopicPostsBy": "hottest",
"maxPosts": 50
}
Example 5 - Scrape the topic "ๅ‰งๆƒ…" and sort posts by latest:
{
"topics": ["ๅ‰งๆƒ…"],
"sortTopicPostsBy": "latest",
"maxPosts": 50
}

๐Ÿ“ค Output Format

The output will be a dataset with the following fields for each post:

๐Ÿ“ฆ Output Example

{
"postId": 153462872847,
"type": "post",
"url": "https://tieba.baidu.com/p/10673597972",
"title": "ไธๆ˜ฏ๏ผŒๅคงๆ—ฉไธŠ่ตทๅบŠๅฐฑๆœ‰็“œๅƒๅ•Š",
"authorName": "tsๆฑ้Ÿฉ็ˆน้‚ช",
"authorId": 2705111892,
"authorIsVerified": false,
"authorLevel": 8,
"authorAvatarUrl": "https://gss0.bdstatic.com/6LZ1dD3d1sgCo2Kml5_Y_D3/sys/portrait/item/tb.1.a755301f.gC8Lgc_ZruZdDjCRVOlmwA?t=1777389324",
"content": "ๅฆ‚ๆžœๆ˜ฏ็œŸ็š„๏ผŒๅฐ้’ฐ่ฟ™ๆฌกๅบ”่ฏฅๆ˜ฏ่ฆๆฒกๅทฅไฝœไบ†",
"images": [
{
"width": 560,
"height": 1205,
"smallPic": "https://tiebapic.baidu.com/forum/w%3D720%3Bq%3D80/sign=5127075ccdd4b31cf03c96b9b7ed5642/8435e5dde71190ef6d0c8ec0881b9d16fdfa603d.jpg?tbpicau=2026-05-09-05_d68c0afab3877fa6d85b29978f530149",
"waterPic": "https://tiebapic.baidu.com/forum/w%3D580%3B/sign=dd9639171543fbf2c52ca62b8045cb80/8435e5dde71190ef6d0c8ec0881b9d16fdfa603d.jpg?tbpicau=2026-05-09-05_ea0df641264aa6d122bb3ffcffbf127a",
"bigPic": "https://tiebapic.baidu.com/forum/pic/item/fe68f1d2572c11dfb226a33c252762d0f603c268.jpg?tbpicau=2026-05-09-05_36f0c9ef7ad5fe6fd9c0cf4cafb79e22"
},
{
"width": 560,
"height": 1205,
"smallPic": "https://tiebapic.baidu.com/forum/w%3D720%3Bq%3D80/sign=32b9a2fbf51c8701d6b6b0e41744ef12/e4dde71190ef76c6bb25e734db16fdfaaf51673d.jpg?tbpicau=2026-05-09-05_087d854ea64143d7ac62a8e288b8da96",
"waterPic": "https://tiebapic.baidu.com/forum/w%3D580%3B/sign=0cf27a6cbdf2b211e42e8546fabb6438/e4dde71190ef76c6bb25e734db16fdfaaf51673d.jpg?tbpicau=2026-05-09-05_47b33e10141bdbef08075860f3eb1087",
"bigPic": "https://tiebapic.baidu.com/forum/pic/item/6e62542d11dfa9ec96d94a0824d0f703908fc168.jpg?tbpicau=2026-05-09-05_7b9ecfa9d4643228d2a97d3ca7c19f07"
}
],
"videoInfo": {
"playUrl": "http://tb-video.bdstatic.com/tieba-smallvideo/39_91bb5f0a2373792849633cb6315f9366.mp4",
"playCount": 444286,
"duration": 40,
"thumbnailUrl": "https://tiebapic.baidu.com/forum/w%3D960%3Bq%3D80/sign=1c5989f59700baa1ba2c4bbd772bc82f/42166d224f4a20a4c54778ded6529822720ed04a.jpg?tbpicau=2026-05-10-05_eb9af95421f9af282af320471e278e5b",
"height": 1080,
"width": 1920
},
"createTime": 1777330155,
"createTimeUtc": "2026-04-27T22:49:15.000Z",
"viewCount": 279527,
"commentCount": 503,
"collectCount": 241,
"shareCount": 126,
"agreeCount": 9276,
"disagreeCount": 60,
"diffAgreeCount": 9216,
"validPostCount": 220,
"forumId": 17019292,
"forumName": "ๆŠ—ๅŽ‹่ƒŒ้”…",
"forumAvatarUrl": "https://tiebapic.baidu.com/forum/w%3D120%3Bh%3D120/sign=2d07ca6aec014c08193b2ca73a406a35/a2cc7cd98d1001e9fd2253ccfd0e7bec55e797d3.jpg?tbpicau=2026-05-09-05_eaa69592cd88edae251b63cb69818d4d",
"forumPrimaryCategory": "ๆธธๆˆ",
"forumSecondaryCategory": "็”ตๅญ็ซžๆŠ€ๅŠ้€‰ๆ‰‹"
}

๐Ÿ’ฒHow much will scraping Baidu Tieba cost you?

The pricing changes according to your Apify plan.

  • Free: $5.00/1,000 posts
  • Starter: $3.00/1,000 posts
  • Scale: $2.50/1,000 posts
  • Business: $2.20/1,000 posts

๐Ÿงฉ Integrations and Baidu Tieba Scraper

Baidu Tieba Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Baidu Tieba Scraper successfully finishes a run.

๐Ÿ”ŒUsing Baidu Tieba Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

๐Ÿ’ฌ Giving feedback

Weโ€™re always working on improving the performance of our Actors. So if youโ€™ve got any technical feedback for Baidu Tieba scraper or simply found a bug, please create an issue on the Actorโ€™s Issues tab in Apify Console. ๐Ÿ“ง Email: nathan.santos159@hotmail.com