Baidu Tieba Scraper
Pricing
from $2.20 / 1,000 results
Baidu Tieba Scraper
This powerful tool allows you to easily extract posts and comments 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
Maintained by CommunityActor stats
0
Bookmarked
55
Total users
8
Monthly active users
10 days ago
Last modified
Categories
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
- ๐ฌ Scrape comments and replies for each post
๐ฏ 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 themaxPostsfield - ๐ท๏ธ
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.
๐จ๏ธ Scraping comments and replies:
- ๐ฌ
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 - 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": [{"url": "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}
Example 6 - 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}
๐ค Post 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": "็ตๅญ็ซๆๅ้ๆ"}
๐ค 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 cost you?
The pricing changes according to your Apify plan.
| Plan | Price per 1,000 posts | Price per 1,000 comments |
|---|---|---|
| Free | $5.00 | $3.00 |
| Starter | $3.00 | $1.50 |
| Scale | $2.50 | $1.50 |
| Business | $2.20 | $1.00 |
๐ก Free Plan users can scrape up to 50 posts per run, 50 comments per run, and 50 replies per comment per run. Upgrading to a paid plan will remove this limitation.
๐งฉ 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

