# Weibo Hot Search Rankings API

> Returns current Weibo hot search rankings across various categories. Supports filtering by category such as realtime trends or by city name for regional topics.

Source: https://www.sandbase.ai/model/weibo/app/hot-search
API reference: https://www.sandbase.ai/model/weibo/app/hot-search/docs

## Facts

- Provider: Weibo
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/weibo/app/hot-search`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, weibo
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/weibo/app/hot-search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `category` | string | no |  |
| `count` | integer | no |  |
| `page` | integer | no |  |
| `region_name` | string | no |  |

## FAQ

### How do I use the Weibo Hot Search Rankings API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/app/hot-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Weibo Hot Search Rankings API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Weibo Hot Search Rankings API accept?

No parameters are required. Optional: category (string), count (integer), page (integer) and region_name (string). The Parameters table and the Playground on this page list every field.

### What does the Weibo Hot Search Rankings API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Weibo developer account or API key?

No. Weibo Hot Search Rankings runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.

## README

### Weibo Hot Search Rankings API

Retrieve trending search topics on Weibo filtered by `category` and optional `region_name`. It also supports pagination via `page` and `count`.

#### Use cases

- Track trending discussions and viral topics across Weibo.
- Monitor regional trending searches for specific city locations.
- Analyze popular search terms categorized by realtime relevance.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/hot-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `page` | integer | No | Page number, starts from 1 (default 1) |
| `count` | integer | No | Items per page, default 20, max 50 |
| `category` | string | No | Hot search category |
| `region_name` | string | No | City name for local hot search, only effective when category=region, default Beijing |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "channelInfo": {
    "channels": [
      {
        "pageDataType": "flow",
        "title": "我的",
        "actionlog": {
          "act_type": 1
        },
        "params": {
          "transType": "pageinfo"
        }
      }
    ]
  }
}
```

#### Notes

- `region_name` is only effective when `category` is set to region, defaulting to Beijing.
- `count` accepts a maximum of 50 items per page with a default of 20.
- `page` starts from 1 with a default value of 1.

#### Related APIs

- [Weibo App AI Smart Search](/model/weibo/app/ai-smart-search): Returns AI smart search channel results and feed metadata from Weibo for a specified keyword query, with optional page-based pagination.
- [Weibo Home Recommend Feed](/model/weibo/app/home-recommend-feed): Returns recommended feed items from the Weibo app homepage, with options to paginate and specify the number of items per request.
- [Weibo Hot Search Categories](/model/weibo/app/hot-search-categories): Returns all available hot search categories from Weibo.
