urlstringerforderlich
WeChat MP article URL. E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw` (this article has no ads, returns empty)
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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
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"}'
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | WeChat MP article URL. |
raw | boolean | No | Optional, default True. |
raw to false to receive a flattened ad list instead of the default full response.url.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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 '{
"raw": true,
"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
urlstringerforderlichWeChat MP article URL. E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw` (this article has no ads, returns empty)
rawbooleanOptional, default True. True=full raw response; False=flattened ad list.
Standard: true
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
WeChat MP Article AdsDiese API WeChat MP | $0.01 pro Aufruf | JSON |
WeChat MP | $0.01 pro Aufruf | JSON |
WeChat MP | $0.01 pro Aufruf | JSON |
WeChat MP | $0.01 pro Aufruf | JSON |
WeChat MP | $0.01 pro Aufruf | JSON |
WeChat MP | $0.01 pro Aufruf | JSON |
Anleitungen:Best WeChat MP API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad 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.
$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: url (string). Optional: raw (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).
Nein. WeChat MP Article Ads 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.