Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

WeChat MP Search Suggestions

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

Prezzo
$0.114286USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
Keyword used to fetch WeChat search suggestions.
WeChat search business type used to scope suggestion results.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
WeChat MP$0.114286 per chiamataJSON
WeChat MP$0.142857 per chiamataJSON
WeChat MP$0.042857 per chiamataJSON
WeChat MP$0.028571 per chiamataJSON
WeChat MP$0.021429 per chiamataJSON
WeChat MP$0.021429 per chiamataJSON

Guide:Best WeChat MP API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API WeChat MP Search Suggestions?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API WeChat MP Search Suggestions?

$0.114286 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API WeChat MP Search Suggestions?

Richiesti: keyword (string). Facoltativi: businessType (uno tra ALL, ACCOUNT, ARTICLE, CHANNEL, MOMENTS, LIVE, EMOJI, AUDIO, BOOK, WECHAT_INDEX, NEWS, MINI_PROGRAM, ENCYCLOPEDIA). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API WeChat MP Search Suggestions?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API WeChat MP?

No. WeChat MP Search Suggestions funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API WeChat MP.