微信公众号 API | WeChat Articles, Comments & Profiles avatar

微信公众号 API | WeChat Articles, Comments & Profiles

Under maintenance

Pricing

from $4.99 / 1,000 article or comments

Go to Apify Store
微信公众号 API | WeChat Articles, Comments & Profiles

微信公众号 API | WeChat Articles, Comments & Profiles

Under maintenance

SocialDataX 微信公众号文章搜索、正文、账号资料与历史文章、阅读点赞统计、评论与回复。WeChat Official Account API: article search, full text, metrics, profiles and comments. 无需配置 API Key。

Pricing

from $4.99 / 1,000 article or comments

Rating

0.0

(0)

Developer

SocialDataX

SocialDataX

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

Categories

Share

微信公众号 API | WeChat Official Account Data

Search WeChat Official Account (微信公众号 / WeChat MP) articles, read article content, explore account profiles and article lists, and retrieve engagement statistics, comments and replies. No API key is required on Apify.

This Actor covers Official Accounts. For WeChat Channels / 视频号 videos, use the separate WeChat Channels Actor.

Operations and pricing

Each exported Dataset row is one result. Article search, account article lists and top-level comments cost $4.99 per 1,000 results; article detail, statistics, account profiles and comment replies cost $19.99 per 1,000 results. Each run has a $0.00005 startup fee. There are no plan-based discounts.

OperationRequired inputResultPrice per 1,000 results
search_articleskeywordArticle search results$4.99
list_account_articlesaccount_idAccount articles$4.99
get_article_commentsurlTop-level comments$4.99
get_article_detailurlOne article detail record$19.99
get_article_statsurlOne statistics record$19.99
get_account_infoaccount_idOne account profile$19.99
get_comment_repliesurl, comment_idIndividual replies$19.99

For example, 20 article search rows cost $0.0998 plus the startup fee. One article detail record costs $0.01999 plus the startup fee. Failed requests and empty lists do not generate result charges; the startup fee still applies. If a later page returns an upstream error, the run fails before exporting its collected results. If the free trial quota is exhausted during pagination, the Actor stops with a warning and exports the results from earlier successful pages; those exported rows count as result events.

Free Apify accounts have a limited trial under the existing SocialDataX trial quota. Apify credits and that trial quota are separate limits. Upgrade to a paid Apify plan when the trial is exhausted.

Quick start

{
"operation": "search_articles",
"keyword": "量子位",
"max_items": 20,
"auto_paginate": true
}

Copy an article_url from the search results into url for article detail, statistics or comments. Copy the article detail's account_account_id into account_id for account information or article lists. For replies, copy comment_id from a top-level comment and keep the same article URL. IDs should be strings. The Actor requires an explicit comment ID and does not choose a comment automatically.

Search supports sort_type (general, time_descending, hot) and publish_time_range (all, day, week, half_year). Availability and ordering depend on the source.

Pagination and output

max_items limits exported rows (default 20, maximum 1,000). auto_paginate follows continuation tokens for search, account articles, comments and replies. Set it to false for one page. Pass the returned page_next_page_token as page_token with the same operation and query to continue.

If max_items or the run's spending limit cuts a page short, its continuation token starts after that entire page. Increase the limit to retain the remaining entries; it cannot resume within a page. The Actor stops at repeated cursors or 100 page requests.

Results are available as JSON, CSV and Excel. Account and author fields are flattened for tables. The OUTPUT record includes request and item counts, pagination summaries and warnings. Empty results are possible; deleted articles, unavailable comments and upstream failures can prevent a result. A successful sample is not a guarantee that every article or account is available.

Support

Contact SocialDataX / 社媒数据助手 with the Actor run URL and operation.

Examples for all operations

These inputs use publicly accessible articles and accounts from validation. Availability can change. List examples export at most 3 rows and do not auto-paginate. Replace the article URL or account ID for your own query.

微信公众号文章搜索 | WeChat Article search

{
"operation": "search_articles",
"keyword": "量子位",
"max_items": 3,
"auto_paginate": false
}

微信公众号文章正文 | WeChat Article content

{
"operation": "get_article_detail",
"url": "http://mp.weixin.qq.com/s?__biz=MzIzNjc1NzUzMw==&mid=2247934549&idx=1&sn=a4f6350aaa5fe1caf0410edcbcf48c44&chksm=e90b98c7b69d3142d2a0ea4dbb33ebb364054f57e2b49c809be823ec09bd9389ad877c4a6c91#rd"
}

微信公众号账号资料 | WeChat Account profile

{
"operation": "get_account_info",
"account_id": "gh_114e76fd6e5d"
}

微信公众号账号文章 | WeChat Account articles

{
"operation": "list_account_articles",
"account_id": "gh_114e76fd6e5d",
"max_items": 3,
"auto_paginate": false
}

微信公众号阅读点赞统计 | WeChat Article statistics

{
"operation": "get_article_stats",
"url": "http://mp.weixin.qq.com/s?__biz=MzIzNjc1NzUzMw==&mid=2247934549&idx=1&sn=a4f6350aaa5fe1caf0410edcbcf48c44&chksm=e90b98c7b69d3142d2a0ea4dbb33ebb364054f57e2b49c809be823ec09bd9389ad877c4a6c91#rd"
}

微信公众号一级评论 | WeChat Article comments

{
"operation": "get_article_comments",
"url": "http://mp.weixin.qq.com/s?__biz=MzIzNjc1NzUzMw==&mid=2247934549&idx=1&sn=a4f6350aaa5fe1caf0410edcbcf48c44&chksm=e90b98c7b69d3142d2a0ea4dbb33ebb364054f57e2b49c809be823ec09bd9389ad877c4a6c91#rd",
"max_items": 3,
"auto_paginate": false
}

微信公众号评论回复 | WeChat Comment replies

{
"operation": "get_comment_replies",
"url": "https://mp.weixin.qq.com/s?__biz=MzIzNjc1NzUzMw==&mid=2247934549&idx=1&sn=a4f6350aaa5fe1caf0410edcbcf48c44&chksm=e90b98c7b69d3142d2a0ea4dbb33ebb364054f57e2b49c809be823ec09bd9389ad877c4a6c91#rd",
"comment_id": "5215698530668124113",
"max_items": 3,
"auto_paginate": false
}