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

WeChat MP Search Suggestions

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

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

Playground

Wejście
Keyword used to fetch WeChat search suggestions.
WeChat search business type used to scope suggestion results.
WyjścieGotowe

Twój wynik pojawi się tutaj

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

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
WeChat MP$0.114286 za wywołanieJSON
WeChat MP$0.142857 za wywołanieJSON
WeChat MP$0.042857 za wywołanieJSON
WeChat MP$0.028571 za wywołanieJSON
WeChat MP$0.021429 za wywołanieJSON
WeChat MP$0.021429 za wywołanieJSON

Przewodniki:Best WeChat MP API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API WeChat MP Search Suggestions?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/wechat-mp/search-suggestions 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 Search Suggestions?

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

Jakie parametry przyjmuje API WeChat MP Search Suggestions?

Wymagane: keyword (string). Opcjonalne: businessType (jedna z opcji: ALL, ACCOUNT, ARTICLE, CHANNEL, MOMENTS, LIVE, EMOJI, AUDIO, BOOK, WECHAT_INDEX, NEWS, MINI_PROGRAM, ENCYCLOPEDIA). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API WeChat MP Search Suggestions?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego WeChat MP lub klucza API?

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