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

WeChat MP Search Suggestions

Documentación de la API
https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions

Get WeChat search suggestions for a keyword, optionally scoped by a supported business type. Use it to expand or refine a query before a targeted WeChat search.

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

Entorno de pruebas

Entrada
Keyword used to fetch WeChat search suggestions.
WeChat search business type used to scope suggestion results.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

WeChat MP Search Suggestions API

Returns a list of WeChat search suggestion words for a keyword. It needs a keyword and accepts an optional businessType to scope the suggestions to one WeChat search area, such as ARTICLE or MINI_PROGRAM.

Use cases

  • Expand a seed topic like 人工智能 into longer related search phrases for content research.
  • Compare suggestions across businessType values such as ARTICLE, ACCOUNT and MINI_PROGRAM to see how the same keyword is searched in each area.
  • Build a keyword list for a targeted WeChat search by collecting suggestions for many seed words.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesKeyword used to fetch WeChat search suggestions.
businessTypestringNoWeChat search business type used to scope suggestion results.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "sug_words": [
      "人工智能"
    ]
  }
}

Response fields

FieldMeaning
dataObject that wraps the suggestion result.
data.sug_wordsList of suggested search phrases for the keyword, in the order the API returns them.
data.sug_words[]One suggested phrase as a plain string. In the sample, the first item repeats the keyword and the next items are longer related phrases such as 人工智能训练师.

Notes

  • Set businessType to one of ALL, ACCOUNT, ARTICLE, CHANNEL, MOMENTS, LIVE, EMOJI, AUDIO, BOOK, WECHAT_INDEX, NEWS, MINI_PROGRAM or ENCYCLOPEDIA. The default is ALL.
  • The request has no pagination parameters.
  • To search the WeChat Index for a chosen phrase, call WeChat MP WeChat Index Search.

Pricing

$0.114286 per successful call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
WeChat MP$0.114286 por llamadaJSON
WeChat MP$0.142857 por llamadaJSON
WeChat MP$0.042857 por llamadaJSON
WeChat MP$0.028571 por llamadaJSON
WeChat MP$0.021429 por llamadaJSON
WeChat MP$0.021429 por llamadaJSON

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

Preguntas

FAQ

¿Cómo uso la API de WeChat MP Search Suggestions?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions 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 Search Suggestions?

$0.114286 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 Search Suggestions?

Requeridos: keyword (string). Opcionales: businessType (una de ALL, ACCOUNT, ARTICLE, CHANNEL, MOMENTS, LIVE, EMOJI, AUDIO, BOOK, WECHAT_INDEX, NEWS, MINI_PROGRAM, ENCYCLOPEDIA). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de WeChat MP Search Suggestions?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

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

No. WeChat MP Search Suggestions 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.