WeChat MP Article Detail

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.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 1 optional
Production route

Try the model

Playground

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

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

url
string · required
raw
boolean · optional

Access

Provider
WeChat MP
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/wechat-mp/v2/article-detail
Authentication
Bearer API key

API README

WeChat Official Account Article API

Pass a WeChat MP article URL (https://mp.weixin.qq.com/s/…) and get the article as structured JSON, including the full text, title, account name and publish time.

Use cases

  • Archive or index WeChat articles for search and RAG.
  • Monitor coverage published by official accounts.
  • Extract clean text for summarization.

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}'

Parameters

NameTypeRequiredDescription
urlstringYesWeChat MP article URL (https://mp.weixin.qq.com/s/… or long URL with __biz).
rawbooleanNoOptional, default True.

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw",
  "content": {
    "title": "“老黄骗人”!5070首批评测:说好1/3价格赛4090,实际不如4070Ti",
    "nick_name": "量子位",
    "alias": "QbitAI",
    "create_time": "2025-03-05 12:22",
    "desc": "博主:史上最差70系列",
    "lang": "zh_CN",
    "content_text": "金磊 发自 凹非寺 量子位 | 公众号 QbitAI 一夜之间,RTX 5070被网友们喷成“史上最差的70系列”了。 这咋回事呢? 因为…",
    "cdn_url": "https://mmbiz.qpic.cn/mmbiz_jpg/YicUhk5aAGtB8zqMsOsFEsStNXL…",
    "appmsgalbuminfo": "{…}"
  }
}

Notes

  • Both short links (/s/…) and long links with __biz are supported.

Related APIs

  • WeChat MP Account Articles: Get the published articles of a WeChat official account by its gh_ username: titles, links, covers and post dates, one page at a time, including video and audi…
  • Get WeChat MP Account Profile: Pass a gh_username to get the official account profile: name / avatar / description / verification entity type, etc..
  • Get WeChat MP Article Ads: Pass an article URL to get the embedded ad slot info of the article..

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026
WeChat MP$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the WeChat MP Article Detail API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/v2/article-detail with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the WeChat MP Article Detail API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the WeChat MP Article Detail API accept?

Required: url (string). Optional: raw (boolean). The Parameters table and the Playground on this page list every field.

What does the WeChat MP Article Detail API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a WeChat MP developer account or API key?

No. WeChat MP Article Detail runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for WeChat MP API access separately.