Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

WeChat MP Article Detail

API-Dokumentation
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail

Get a WeChat official account (MP) article from its URL: title, author, account, publish time, cover, full text and HTML content, and album info.

Preis
$0.01USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
WeChat MP article URL (`https://mp.weixin.qq.com/s/…` or long URL with `__biz`). E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw`
Optional, default True. True=raw response; False=simplified projection.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

WeChat Official Account Article API

Fetch a WeChat Official Account article from its mp.weixin.qq.com link: title, author, account, publish time, cover, the article body and album navigation.

Use cases

  • Archive or index Official Account articles for search and monitoring.
  • Feed article text to an LLM for summaries or classification.
  • Inspect available album navigation links; following them requires a separately selected scope and request budget.

Request

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

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

Parameters

NameTypeRequiredDescription
urlstringYesWeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz). E.g. https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw
rawbooleanNoOptional, default True. True=raw response; False=simplified projection.

Example response

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

{
  "bizUin": 3236757533,
  "content": {
    "ad_mark_status": 0,
    "advertisement_info": [],
    "ai_chat_info": {
      "ai_chat_status": 0,
      "room_info": ""
    },
    "aigc_pictures": [],
    "ainfos": [],
    "alias": "QbitAI",
    "anchor_tree": [],
    "app_id": "wx2f0fbcc28597dbce",
    "appmsg_ext_get": {
      "func_flag": 0
    },
    "appmsg_fe_filter": "contenteditable",
    "appmsg_like_type": 2,
    "appmsg_listen_id": "150401723788215308"
  },
  "debug_id": "76bcf329",
  "debug_info": "gAAAAABq6TvHOF0gUZr0UtGRNNjD4W-NNP-IT4lPPio5Dwex8GR_nFBUjeaR1hbn-qVXS0Vv-38ZkNLU…",
  "itemIdx": 1,
  "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
}

Response fields

FieldMeaning
content.title / content.author / content.nick_nameArticle title, author and account name.
content.content / content_noencodeArticle body HTML.
content.create_timePublish time.
content.appmsgalbuminfoAlbum (series) info with pre_article_link and next_article_link.
bizUinNumeric ID of the Official Account.

Notes

  • Set raw: true to get the unprocessed page payload.
  • Read counts and likes are not included; use WeChat MP Article Stats (H5) for those.
  • Deleted or blocked articles fail and are not charged.

Pricing

$0.01 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Read an article URL you already selected

Send one complete mp.weixin.qq.com/s article URL in url and set raw false explicitly for the simplified reference shape. Short /s/ links and long /s?__biz= links are documented. Preserve the full selected URL, including its query parameters; an excerpt ending in an ellipsis is not a usable input. This reads an article you chose, not every post from its publisher.

After checking the SandBase envelope, require a content object. The field table describes title, author, nick_name and create_time, plus article HTML and album navigation. The shortened JSON retains early content keys and omits the title/body fields, and this endpoint has no saved full example in the selected public page. These fields are reference descriptions, not a newly executed article read or a promise that every value will be present. Treat absent title or body as unavailable and stop before producing a summary that claims to have read it.

Article HTML must be parsed as untrusted content. Prefer extracted text for analysis and sanitize markup before browser display; do not execute embedded scripts or follow remote assets automatically. Author and nick_name describe different attribution fields. Keep the source URL and publication value with retrieval time rather than replacing publication time with today's date.

Read counts and likes are not included by this route. Advertising flags, article body size or a search popularity order are not engagement measurements. A different statistics endpoint is a separate task. Album previous/next links are navigation data; this first request does not walk an album, crawl the account, download images or create an archive.

Need to find an article first? Use Article Search independently and review candidates before selecting a complete URL.

Give your agent one article task

Use a local SANDBASE_API_KEY with Bearer authentication and POST /v1/api/. An agent that already has access needs your chosen keyword or complete article URL and one desired output. For a new project, share the setup Skill, Markdown quickstart and selected endpoint. Read one result before expanding to more searches, article bodies or scheduled monitoring.

Validate completed SandBase status and an object at outputs[0].data. The simplified reference places search items or the article content object directly there; do not add a guessed data.data wrapper or an undocumented provider success flag. A missing or malformed required object/list is an error, not an empty successful research result. The shortened reference JSON is evidence of selected fields, not a complete field guarantee.

Pricing checked on 2026-11-08: both endpoints list $0.01 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. This is not a remaining-balance or allowance measurement. Verify current pricing before running. No new business request was made for this revision. Follow the WeChat Python integration guide for bounded parsing and dated source notes.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
WeChat MP$0.01 pro AufrufJSON
WeChat MP$0.01 pro AufrufJSON
WeChat MP$0.01 pro AufrufJSON
WeChat MP$0.01 pro AufrufJSON
WeChat MP$0.01 pro AufrufJSON
WeChat MP$0.01 pro AufrufJSON

Anleitungen:Best WeChat MP API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die WeChat MP Article Detail API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die WeChat MP Article Detail API?

$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die WeChat MP Article Detail API?

Erforderlich: url (string). Optional: raw (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die WeChat MP Article Detail API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein WeChat MP-Entwicklerkonto oder einen API-Schlüssel?

Nein. WeChat MP Article Detail läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für WeChat MP API beantragen.

Welche URL und welchen Antwortmodus sollte ich verwenden?

Senden Sie eine vollständige mp.weixin.qq.com/s-Artikel-URL und raw false. Sowohl kurze /s/-Links als auch lange /s?__biz=-Links sind dokumentiert. Behalten Sie Query-Parameter bei und kopieren Sie keine gekürzte Beispiel-URL, die mit einem Auslassungszeichen endet.

Sind Titel und Artikeltext durch das angezeigte JSON garantiert?

Nein. Die Feldtabelle beschreibt sie, aber das gekürzte JSON lässt diese Felder weg, und die ausgewählte öffentliche Seite hat kein gespeichertes vollständiges Beispiel. Verlangen Sie ein content-Objekt, bewahren Sie fehlende Werte und erzeugen Sie keine auf Abruf basierende Zusammenfassung, wenn der Artikeltext nicht verfügbar ist.

Gibt Article Detail Engagement-Statistiken zurück oder crawlt es ein Album?

Aufrufzahlen und Likes sind von dieser Route nicht enthalten. Album-Navigationslinks sind Daten, keine Anweisung, ihnen zu folgen. Dieser erste Request ruft keine Statistik-Endpunkte auf, öffnet keine benachbarten Artikel und lädt keine Medien herunter.