WeChat MP Article Ads
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-adReturns embedded ad slot information for a specified WeChat MP article URL. Supports choosing between the full raw response or a flattened ad list.
- Price
- $0.01USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 1 optional
Try the model
Playground
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-ad
- Authentication
- Bearer API key
API README
WeChat MP Article Ads API
Look up embedded ad slot information from a WeChat MP post by providing url. Use raw to choose between a full payload or a flattened list.
Use cases
- Inspect ad placements embedded inside a specific WeChat MP article.
- Extract ad slot details for commercial content analysis.
- Audit ad presence across WeChat MP posts.
Request
curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | WeChat MP article URL. |
raw | boolean | No | Optional, default True. |
Notes
- Set
rawtofalseto receive a flattened ad list instead of the default full response. - Requires a valid WeChat MP article URL passed in
url.
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…
- WeChat MP Account Profile: Retrieves the profile details of an official WeChat account, including name, avatar, signature, and verification entity type using its official account ID.
- WeChat MP Article Comments: Get the comments on a WeChat official account article from its URL: comment text, likes, time and commenter region, with cursor pagination.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# 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-ad" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"raw": true,
"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
WeChat MP Article AdsThis API WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
WeChat MP | $0.01 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the WeChat MP Article Ads API?
Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad 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 Ads 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 Ads 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 Ads 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 Ads 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.
