WeChat MP Article Details

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

Get a WeChat Official Account article by URL with selectable plain-text or rich-text content mode. Use it to collect a known article in the preferred representation for reading, extraction, or storage.

Price
$0.03USD / call
Method
POST
Response
JSON
Parameters
1 required · 1 optional
Production route

Try the model

Playground

Open playground
Input
WeChat Official Account article URL used to fetch article detail content and metadata.
Article body format. TEXT returns plain text, and RICH_TEXT returns rich text when supported. Allowed values: TEXT, RICH_TEXT.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.03 / run

Request & response

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

Parameters

articleUrl
string · required
mode
string (TEXT, RICH_TEXT) · optional

Access

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

API README

WeChat MP Article Details API

Get a WeChat Official Account article by URL with selectable plain-text or rich-text content mode. Use it to collect a known article in the preferred representation for reading, extraction, or storage.

The response is the platform's original data structure.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "wechat-mp/article-detail", "articleUrl": "http://mp.weixin.qq.com/s?__biz=MjM5NzI3NDg4MA==&mid=2659064933&idx=1&sn=c536f78d7358bc2dfe90cde700e21d55&chksm=bc881cb3f28a27f35e0711803b28d8110305cfc1b8beb651674e1aa7870ddf963c658f4dc19a&scene=7#rd"}'

Parameters

NameTypeRequiredDescription
articleUrlstringYesWeChat Official Account article URL used to fetch article detail content and metadata.
modestringNoArticle body format. TEXT returns plain text, and RICH_TEXT returns rich text when supported.

Pricing

Flat price per call. Failed calls and empty results are not charged.

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/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/article-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "mode": "TEXT",
  "articleUrl": "http://mp.weixin.qq.com/s?__biz=MjM5NzI3NDg4MA==&mid=2659064933&idx=1&sn=c536f78d7358bc2dfe90cde700e21d55&chksm=bc881cb3f28a27f35e0711803b28d8110305cfc1b8beb651674e1aa7870ddf963c658f4dc19a&scene=7#rd"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
WeChat MP$0.03 per callJSONOct 29, 2026
WeChat MP$0.21 per callJSONOct 29, 2026
WeChat MP$0.06 per callJSONOct 29, 2026
WeChat MP$0.04 per callJSONOct 29, 2026
WeChat MP$0.03 per callJSONOct 29, 2026
WeChat MP$0.02 per callJSONOct 29, 2026

Questions

FAQ

How do I use the WeChat MP Article Details API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/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 Details API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the WeChat MP Article Details API accept?

Required: articleUrl (string). Optional: mode (one of TEXT, RICH_TEXT). The Parameters table and the Playground on this page list every field.

What does the WeChat MP Article Details API return?

A JSON response returned in the same HTTP request (synchronous).

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

No. WeChat MP Article Details 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.