Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

WeChat MP Article Ads

Dokumentacja API
https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad

Returns embedded ad slot information for a specified WeChat MP article URL. Supports choosing between the full raw response or a flattened ad list.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
WeChat MP article URL. E.g. `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw` (this article has no ads, returns empty)
Optional, default True. True=full raw response; False=flattened ad list.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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

NameTypeRequiredDescription
urlstringYesWeChat MP article URL.
rawbooleanNoOptional, default True.

Notes

  • Set raw to false to receive a flattened ad list instead of the default full response.
  • Requires a valid WeChat MP article URL passed in url.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON
WeChat MP$0.01 za wywołanieJSON

Przewodniki:Best WeChat MP API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API WeChat MP Article Ads?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API WeChat MP Article Ads?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API WeChat MP Article Ads?

Wymagane: url (string). Opcjonalne: raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API WeChat MP Article Ads?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego WeChat MP lub klucza API?

Nie. WeChat MP Article Ads działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API WeChat MP.