Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

WeChat MP Search Suggestions

Docs 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.

Prix
$0.114286USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs

Bac à sable

Entrée
Keyword used to fetch WeChat search suggestions.
WeChat search business type used to scope suggestion results.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
WeChat MP$0.114286 par appelJSON
WeChat MP$0.142857 par appelJSON
WeChat MP$0.042857 par appelJSON
WeChat MP$0.028571 par appelJSON
WeChat MP$0.021429 par appelJSON
WeChat MP$0.021429 par appelJSON

Guides :Best WeChat MP API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API WeChat MP Search Suggestions ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API WeChat MP Search Suggestions ?

$0.114286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API WeChat MP Search Suggestions accepte-t-elle ?

Obligatoire : keyword (string). Facultatif : businessType (l’un de ALL, ACCOUNT, ARTICLE, CHANNEL, MOMENTS, LIVE, EMOJI, AUDIO, BOOK, WECHAT_INDEX, NEWS, MINI_PROGRAM, ENCYCLOPEDIA). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API WeChat MP Search Suggestions ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API WeChat MP ?

Non. WeChat MP Search Suggestions fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API WeChat MP séparément.