Baidu Tieba Comments Scraper avatar

Baidu Tieba Comments Scraper

Pricing

from $1.50 / 1,000 comments

Go to Apify Store
Baidu Tieba Comments Scraper

Baidu Tieba Comments Scraper

Easily scrape comment data from Baidu Tieba posts. Get comment text, author data, images, like count, replies and more.

Pricing

from $1.50 / 1,000 comments

Rating

0.0

(0)

Developer

Nataniel Santos

Nataniel Santos

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

15 days ago

Last modified

Share

โœจ Features

  • ๐Ÿ’ฌ Scrape comments and replies for each post
  • โšก Fast and reliable scraping
  • ๐Ÿง‘โ€๐Ÿ’ป Perfect for non-technical users
  • ๐Ÿ”’ No need for authentication
  • ๐Ÿ”„ Automatically handles retries for failed requests
  • ๐Ÿ“ฆ Outputs data in JSON format for easy integration with other tools

๐ŸŽฏ 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

  • ๐Ÿ”— urls - You can add direct URLs to scrape here. It should be a post URL
  • ๐Ÿ”ข postIds - You can add direct post IDs here. The actor will scrape comments from these posts.
  • ๐Ÿ’ฌ maxCommentsPerPost - Maximum number of top-level comments to scrape per post.
  • ๐Ÿ’ฌ maxRepliesPerComment - Maximum number of replies to scrape per comment.
  • โ†•๏ธ sortCommentsBy - Choose how to sort the comments when scraping a post. popular sorts by relevance to the post, latest sorts by date with the newest comments first, and oldest sorts by date with the oldest comments first.

โš™๏ธ Options and limits:

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

โš™๏ธ Input Examples

Example 1 - Scrape comments and replies for each post, with a maximum of 20 comments per post and 10 replies per comment, sorted by latest:
{
"urls": [
{ "url": "https://tieba.baidu.com/p/10860925843?fr=frs" }
],
"maxCommentsPerPost": 20,
"maxRepliesPerComment": 10
}

๐Ÿ—‚๏ธ Output Format

  • commentId - The unique ID of the comment.
  • authorId - The unique ID of the comment author.
  • images - An array of image URLs attached to the comment.
  • mentions - An array of objects representing users mentioned in the comment, each containing:
    • name - The name of the mentioned user.
    • id - The unique ID of the mentioned user.
  • content - The text content of the comment.
  • createTime - The timestamp of when the comment was created (in milliseconds since epoch).
  • createTimeUtc - The UTC timestamp of when the comment was created.
  • agreeCount - The number of likes or upvotes the comment has received.
  • disagreeCount - The number of dislikes or downvotes the comment has received.
  • diffAgreeCount - The difference between the number of likes and dislikes.
  • replyCount - The number of replies to the comment.
  • authorName - The name of the comment author.
  • authorNameShow - The display name of the comment author.
  • authorAvatarUrl - The URL of the comment author's avatar image.
  • authorLevel - The level of the comment author.
  • authorLevelInForum - The level of the comment author within the forum.
  • authorIsVerified - A boolean indicating whether the comment author is verified.
  • authorGender - The gender of the comment author.
  • authorLevelName - The name of the level of the comment author.
  • ipAddress - The IP address of the comment author.
  • replyToCommentId - The unique ID of the comment that this comment is replying to (if applicable).

๐Ÿ“ค Comments Output Format

{
"commentId": 153714041200,
"authorId": 813941787,
"images": ["https://tiebapic.baidu.com/forum/pic/item/3dfa828ba61ea8d3163f3506d10a304e251f5897.jpg?tbpicau=2026-07-27-05_da20a784d635c8cb0925b55cb2f36137"],
"mentions": [
{
"name": "้กฝ็šฎ็†Šๆข",
"id": 3749198490
}
],
"content": "ๆˆ‘ไนŸไธ็œ‹๏ผŒๅฐ่ฑกๆœ€ๆทฑ็š„ๅฐฑๆ˜ฏ้‚ฃๅฅๅฆ‚ๆžœไฝ ๆ˜ฏๅ‘จๆ˜Ÿ้ฉฐ็š„้“ๆ†็ฒ‰ไธ๏ผŒ่€Œไธ”ๅฏนๅ‰งๆœฌๆ‰“็ฃจๆฒกไป€ไนˆ่ฆๆฑ‚็š„ๅฏไปฅๅŽป็œ‹[็ฌ‘็œผ]",
"createTime": 1783832869000,
"createTimeUtc": "2026-07-12T05:07:49.000Z",
"agreeCount": 5,
"disagreeCount": 1,
"diffAgreeCount": 4,
"replyCount": 0,
"authorName": "็บขๆฑชๆฑชdg",
"authorNameShow": "็Ÿฅๅพฎ็Ÿฅๅพฎ",
"authorAvatarUrl": "https://himg.bdimg.com/sys/portrait/item/tb.1.da70f27d.yMcd1lH2HLf32dkTxYF9tA?t=1784222695",
"authorLevel": 13,
"authorLevelInForum": 8,
"authorIsVerified": false,
"authorGender": "male",
"authorLevelName": "้“ถๅน•ๅทจไบบ",
"ipAddress": "ๆฒณๅ—",
"replyToCommentId": 153713866719
}

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

The pricing changes according to your Apify plan.

PlanPrice
Free$5.00 / 1,000 comments
Starter$2 / 1,000 comments
Scale$1.50 / 1,000 comments
Business$1.00 / 1,000 comments

๐Ÿ’ก Free Plan users can scrape up to 50 comments per run, and 50 replies per comment per run. Upgrading to a paid plan will remove this limitation.

๐Ÿงฉ Integrations and Baidu Tieba Comments Scraper

Baidu Tieba Comments 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 Comments Scraper successfully finishes a run.

๐Ÿ”ŒUsing Baidu Tieba Comments 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 Comments scraper or simply found a bug, please create an issue on the Actorโ€™s Issues tab in Apify Console. ๐Ÿ“ง Email: nathan.santos159@hotmail.com