Weibo Hot Search List
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summaryGet the complete real-time Weibo hot search ranking (top 50): keyword, rank, heat tag and search link for each trending topic.
- 가격
- $0.0015USD / 호출
- 메서드
- POST
- 응답
- JSON
- 매개변수
- 필수 0개 · 선택 사항 0개
Playground
[
{
"data": {
"data": [
{
"heat": "",
"is_top": true,
"keyword": "总书记指引宣传思想文化工作",
"keyword_url": "/weibo?q=%23%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8C%87%E5%BC%95%E5%AE%A3%E4%BC%A0%E6%80%9D%E6%83%B3%E6%96%87%E5%8C%96%E5%B7%A5%E4%BD%9C%23&Refer=new_time",
"rank": 0,
"tag": "热"
},
{
"heat": "",
"is_top": false,
"keyword": "疑似缅北电诈园区图片曝光",
"keyword_url": "/weibo?q=%E7%96%91%E4%BC%BC%E7%BC%85%E5%8C%97%E7%94%B5%E8%AF%88%E5%9B%AD%E5%8C%BA%E5%9B%BE%E7%89%87%E6%9B%9D%E5%85%89&t=31&band_rank=1&Refer=top",
"rank": 1,
"tag": ""
},
{
"heat": "",
"is_top": false,
"keyword": "华为PuraXView",
"keyword_url": "/weibo?q=%E5%8D%8E%E4%B8%BAPuraXView&t=31&band_rank=2&Refer=top",
"rank": 2,
"tag": "新"
},
"… 49 more items in the full response"
],
"total": 52
}
}
]예시
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
API README
Weibo Hot Search List API
Returns the current Weibo hot search ranking as a list of trending topics. Each entry has a keyword, rank, tag and a search link. The request takes no input parameters.
Use cases
- Track which topics trend on Weibo right now and log the list at set times.
- Send an alert when a brand name or product keyword appears in the hot list.
- Build a daily report of trending topics and how long each stays in the ranking.
- Feed trending keywords into a post search to collect the discussion around each topic.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"heat": "",
"is_top": true,
"keyword": "乌镇网事",
"keyword_url": "/weibo?q=%23%E4%B9%8C%E9%95%87%E7%BD%91%E4%BA%8B%23&Refer=new_time",
"rank": 0,
"tag": "热"
}
],
"total": 51
}
Response fields
| Field | Meaning |
|---|---|
data[].keyword | The trending topic text as shown on the hot search list. |
data[].rank | Position of the topic in the list. The first entry has rank set to 0, so the count starts at zero. |
data[].tag | Short label for the topic, such as 热 (hot) or 新 (new). |
data[].keyword_url | Relative Weibo search path for the topic. The q value is the URL-encoded keyword wrapped in # hashtag marks. |
data[].is_top | true for the pinned entry at the top of the list, false for the others. |
data[].heat | Heat value for the topic. It can be an empty string, as in the sample response. |
total | Number of items counted for the list. It can be one higher than the number of ranked entries. |
Notes
- The request body is an empty JSON object
{}. There is no pagination. keyword_urlis a relative path. Add the Weibo domain before you open it in a browser.- To read the posts behind a topic, pass the
keywordto Weibo Real-Time Search or Weibo Topic Search. - For a different view of the ranking, see Weibo Real-Time Hot Search.
Pricing
$0.0015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 인증
서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
3. 파라미터
이 API에 대해 게시된 파라미터 스키마가 없습니다.
4. 응답
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"data": [
{
"heat": "",
"is_top": true,
"keyword": "总书记指引宣传思想文化工作",
"keyword_url": "/weibo?q=%23%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8C%87%E5%BC%95%E5%AE%A3%E4%BC%A0%E6%80%9D%E6%83%B3%E6%96%87%E5%8C%96%E5%B7%A5%E4%BD%9C%23&Refer=new_time",
"rank": 0,
"tag": "热"
},
{
"heat": "",
"is_top": false,
"keyword": "疑似缅北电诈园区图片曝光",
"keyword_url": "/weibo?q=%E7%96%91%E4%BC%BC%E7%BC%85%E5%8C%97%E7%94%B5%E8%AF%88%E5%9B%AD%E5%8C%BA%E5%9B%BE%E7%89%87%E6%9B%9D%E5%85%89&t=31&band_rank=1&Refer=top",
"rank": 1,
"tag": ""
},
{
"heat": "",
"is_top": false,
"keyword": "华为PuraXView",
"keyword_url": "/weibo?q=%E5%8D%8E%E4%B8%BAPuraXView&t=31&band_rank=2&Refer=top",
"rank": 2,
"tag": "新"
},
"… 49 more items in the full response"
],
"total": 52
}
}
]더 살펴보기
관련 API
| API | 가격 | 응답 |
|---|---|---|
Weibo | $0.0015 / 호출 | JSON |
Weibo | $0.001 / 호출 | JSON |
Weibo | $0.001 / 호출 | JSON |
Weibo | $0.001 / 호출 | JSON |
Weibo | $0.001 / 호출 | JSON |
Weibo | $0.001 / 호출 | JSON |
질문
FAQ
Weibo Hot Search List API를 어떻게 사용하나요?
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
Weibo Hot Search List API 비용은 얼마인가요?
호출당 $0.0015. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.
Weibo Hot Search List API는 어떤 매개변수를 받나요?
Weibo Hot Search List은 입력 매개변수를 받지 않습니다. 빈 JSON 본문을 보내세요.
Weibo Hot Search List API는 무엇을 반환하나요?
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
Weibo 개발자 계정이나 API 키가 필요한가요?
아니요. Weibo Hot Search List은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Weibo API 액세스를 별도로 신청할 필요는 없습니다.
