keywordstringwymagane
Search keyword (required, recommend using topic format #TopicName#)
https://api.sandbase.ai/v1/api/weibo/web-v2/ai-related-searchReturns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
[
{
"data": {
"code": "100000",
"data": {
"html": " <div class=\"zhisou_module_9000\">\n <div class=\"zhisou_9000\">\n <div class=\"zhisou_title_9000\">\n <div class=\"zhisou_name_9000\">\n <div class=\"zhisou_name_wrap_9000\">\n <div class=\"zhisou_title_text_9000 zhisou_9000_after_img\" >你可能想问</div>\n </div>\n </div>\n <div class=\"zhisou_more_9000\"></div>\n </div>\n\n <div class=\"zhisou_list_9000\">\n <a href=\"/aisearch?q=OpenAI%E7%9A%84%E7%94%A8%E6%88%B7%E8%BF%9D%E7%BA%A6%E9%97%AE%E9%A2%98%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%EF%BC%9F\" target=\"_blank\">\n <div class=\"zhisou_9000_item_gray\">…"
},
"msg": ""
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
Returns AI-generated search extension content for a keyword on Weibo. The content comes back as one HTML string that holds related questions, recommended bloggers, and reference posts. It needs one input, keyword.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/ai-related-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword (required, recommend using topic format #TopicName#) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": "100000",
"data": {
"html": " <div class=\"zhisou_module_9000\">\n <div cl…"
},
"msg": ""
}
| Field | Meaning |
|---|---|
code | Status code of the response. The sample call returned 100000. |
msg | Message text. It was an empty string in the sample call. |
data.html | HTML markup of the AI search extension module. It holds the related questions, recommended bloggers, and reference posts as page elements, so you need to parse the HTML to read them. |
#TopicName# for keyword, for example #OpenAI#, as the parameter description recommends.data.html to get them.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/ai-related-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "OpenAI"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
keywordstringwymaganeSearch keyword (required, recommend using topic format #TopicName#)
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"code": "100000",
"data": {
"html": " <div class=\"zhisou_module_9000\">\n <div class=\"zhisou_9000\">\n <div class=\"zhisou_title_9000\">\n <div class=\"zhisou_name_9000\">\n <div class=\"zhisou_name_wrap_9000\">\n <div class=\"zhisou_title_text_9000 zhisou_9000_after_img\" >你可能想问</div>\n </div>\n </div>\n <div class=\"zhisou_more_9000\"></div>\n </div>\n\n <div class=\"zhisou_list_9000\">\n <a href=\"/aisearch?q=OpenAI%E7%9A%84%E7%94%A8%E6%88%B7%E8%BF%9D%E7%BA%A6%E9%97%AE%E9%A2%98%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%EF%BC%9F\" target=\"_blank\">\n <div class=\"zhisou_9000_item_gray\">…"
},
"msg": ""
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Przewodniki:Best Weibo API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/weibo/web-v2/ai-related-search 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.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: keyword (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Weibo AI Related Search Content 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 Weibo.