API Docs/Wechat_mp

Wechat_mp APIs

Browse public Wechat_mp API documentation. Availability follows the live catalog.

Get started

Learn to authenticate and send requests to Wechat_mp APIs

Quickstart →Get a token →Examples →
APIMethodPathCategory
Get WeChat MP Account ArticlesPass a gh_username to get a **single page** of the account's historical posts (**article** tab). **Manual paging**: leave offset empty for the first page → take next_offset (base64 cursor) from the response → pass it as **offset** in the next request; is_end truthy means the last page. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_account_articlesAccount→Get WeChat MP Account ProfilePass an account username to get the profile: nickname / IP region / original article count / verification entity type / linked Channels account, etc. NOTE: **signature and avatar are not obtainable through this path** — WeChat's profile response carries neither. They are always null and listed in $.data.unavailable[] (never faked as empty strings). For the **avatar**, use /fetch_article_detail_h5 instead (pass any article URL of that account with raw=true): $.data.content.round_head_img / $.data.content.hd_head_img. No endpoint currently exposes the signature. Some accounts (like the example) have sparse fields; nick_name / signature / head_url may be null. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_account_profileAccount→自定义菜单/Get WeChat MP Account Services & Custom MenuPass a gh_username to get the custom menu / service entries at the bottom of the official account. Accounts without a custom menu return an empty menu. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_account_servicesAccount→Get WeChat MP Article AdsPass an article URL to get the embedded ad slot info of the article. This endpoint responds relatively slowly, please be patient; articles without ads return empty. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_article_adData→Get WeChat MP Article CommentsGet WeChat MP article comments (single page, buffer cursor pagination); returns one page of featured comments. **Pagination**: leave buffer empty for the first page → take buffer from the response → pass it back in the next request; has_more false means the last page. For second-level replies of a specific comment, use fetch_comment_replies (pass the comment's content_id). Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as content_id in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS Number. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the APIPOST/api/v1/wechat_mp/v2/fetch_article_commentsComments→Get WeChat MP Article DetailPass an article URL to get the article body / title / author / cover / publish time / album info. Regardless of raw, the nested content JSON string is always parsed into an object (structure normalized); raw only controls the projection scope of outer fields. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as comment_id / msgId in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS Number. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the APIPOST/api/v1/wechat_mp/v2/fetch_article_detailData→Get WeChat MP Article Detail (H5, Recommended)Fetch WeChat MP article detail via the H5 channel. **Recommended by default**: the body is more reliable and the field coverage is the widest. Independent from /fetch_article_detail; neither falls back to the other. Price: 0.01$/requestPOST/api/v1/wechat_mp/v2/fetch_article_detail_h5Data→Get WeChat MP Article StatsPass an article URL to get its interaction metrics (reads / likes / "wow" / shares / favorites / comments). Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_article_statsData→Get WeChat MP Article Stats (H5)Fetch comment counts for a WeChat MP article via the H5 channel. Read count / likes / shares / favorites are **not available** here: they are returned as null and listed in $.data.unavailable[] (never faked as 0). Use /fetch_article_stats when you need them. Price: 0.01$/requestPOST/api/v1/wechat_mp/v2/fetch_article_stats_h5Data→Get WeChat MP Comment RepliesGet the second-level replies under a first-level comment. Chain: first call fetch_article_comments to get each comment's content_id, then feed it into this endpoint. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as content_id / reply_id in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS Number. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the APIPOST/api/v1/wechat_mp/v2/fetch_comment_repliesComments→Get WeChat MP Related ArticlesPass an article URL to get the "related articles" at the bottom of the article. Articles without this feature return an empty list. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the responsePOST/api/v1/wechat_mp/v2/fetch_related_articlesData→
Build with confidence

Need help with Wechat_mp APIs?

Read the quickstart, review examples, or explore other platforms

Read the docs →