Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

WeChat MP Article Detail (H5, Recommended)

APIドキュメント
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail-h5

Get WeChat MP Article Detail (H5, Recommended) on WeChat MP. Returns the platform data as structured JSON.

料金
$0.01USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
/mp.weixin.qq.com/s/WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz)
True=raw response; False=simplified parsed structure
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

WeChat MP Article Detail (H5, Recommended) API

Returns the details of one WeChat MP (official account) article as JSON. It includes the article's author, account info, engagement counts and album links. You pass the article URL in url.

Use cases

  • Track read, like, share and collect counts for a single article.
  • Identify which account published an article by reading its nickname, alias and bizuin.
  • Walk through an article series by following the previous and next article links in the album info.
  • Save the cover image URL and author name of an article for a content archive.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail-h5" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw", "raw": true}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYes/mp.weixin.qq.com/s/WeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz)
rawbooleanNoTrue=raw response; False=simplified parsed structure

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "bizUin": 3236757533,
  "content": {
    "_content_type": "article",
    "_fields_from": "cgiDataNew",
    "_via": "h5",
    "ad_mark_status": 0,
    "advertisement_info": [],
    "ai_chat_info": {
      "ai_chat_status": 0,
      "room_info": ""
    },
    "ai_chat_status": 0,
    "aigc_pictures": [],
    "ainfos": [],
    "album_id": "1865468163396517889",
    "album_id_str": "1865468163396517889",
    "album_needpay": 0
  },
  "debug_id": "8cb4e28d",
  "debug_info": "gAAAAABq6ZE4GYK6HwtXMOKwwlRiVoQL60YmFG5wMevNjy3ouQJJNK66HmnybPYQL0IgnvQj9f_hI2Ie…",
  "itemIdx": 1,
  "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
}

Response fields

FieldMeaning
content.appmsg_bar_data.read_numNumber of reads for the article.
content.appmsg_bar_data.like_count / content.appmsg_bar_data.old_like_countTwo like counters. like_count is the newer like type and old_like_count is the older one. Compare both with appmsg_like_type before you use either.
content.appmsg_bar_data.share_count / content.appmsg_bar_data.collect_count / content.appmsg_bar_data.comment_countNumber of shares, collects and comments on the article.
content.authorAuthor name shown on the article.
content.biz_card.list[].nickname / content.biz_card.list[].aliasDisplay name and account ID of the publishing account.
content.biz_card.list[].orignal_numNumber of original articles listed for the account on its card.
content.bizuinEncoded account ID (the __biz value) of the publishing account.
content.cdn_urlURL of the article cover image.
content.appmsgalbuminfo.titleTitle of the album (article series) this article belongs to.
content.appmsgalbuminfo.pre_article_title / content.appmsgalbuminfo.pre_article_linkTitle and link of the previous article in the album.
content.appmsgalbuminfo.next_article_title / content.appmsgalbuminfo.next_article_linkTitle and link of the next article in the album.

Notes

  • Pass a short link (https://mp.weixin.qq.com/s/…) or a long link that contains __biz in url.
  • Set raw to true (the default) for the full response shown here. Set it to false for a simplified parsed structure.
  • Links in the album info contain & in place of &. Replace it before you open the link.
  • For comments on the article, call WeChat MP Article Comments. For account details, call WeChat MP Account Profile.

Pricing

$0.01 per successful call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
WeChat MP$0.01 / 回JSON
WeChat MP$0.01 / 回JSON
WeChat MP$0.01 / 回JSON
WeChat MP$0.01 / 回JSON
WeChat MP$0.01 / 回JSON
WeChat MP$0.01 / 回JSON

ガイド:Best WeChat MP API in 2026: Pricing Compared

質問

FAQ

WeChat MP Article Detail (H5, Recommended) API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail-h5 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

WeChat MP Article Detail (H5, Recommended) API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

WeChat MP Article Detail (H5, Recommended) API はどのパラメータを受け付けますか?

必須: url (string)。 任意: raw (boolean)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

WeChat MP Article Detail (H5, Recommended) API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

WeChat MP の開発者アカウントまたは API key は必要ですか?

いいえ。WeChat MP Article Detail (H5, Recommended) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。WeChat MP の API アクセスを別途申請する必要はありません。