Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

WeChat MP Article Ads

Documentación de la 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.

Precio
$0.01USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
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.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
WeChat MP$0.01 por llamadaJSON
WeChat MP$0.01 por llamadaJSON
WeChat MP$0.01 por llamadaJSON
WeChat MP$0.01 por llamadaJSON
WeChat MP$0.01 por llamadaJSON
WeChat MP$0.01 por llamadaJSON

Guías:Best WeChat MP API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de WeChat MP Article Ads?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/wechat-mp/v2/article-ad con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de WeChat MP Article Ads?

$0.01 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de WeChat MP Article Ads?

Requeridos: url (string). Opcionales: raw (boolean). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de WeChat MP Article Ads?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).

¿Necesito una cuenta de desarrollador o una clave API de WeChat MP?

No. WeChat MP Article Ads funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de WeChat MP por separado.