# Weibo Topic Search API

> Searches Weibo topics matching a keyword and returns topic names, URLs, discussion counts, and read metrics across paginated results.

Source: https://www.sandbase.ai/apis/weibo/web-v2/topic-search
API reference: https://www.sandbase.ai/apis/weibo/web-v2/topic-search/docs

## Facts

- Provider: Weibo
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/weibo/web-v2/topic-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/web-v2/topic-search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | yes |  |
| `page` | integer | no |  |

## FAQ

### How do I use the Weibo Topic Search API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/topic-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 Topic Search 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 Topic Search API accept?

Required: query (string). Optional: page (integer). The Parameters table and the Playground on this page list every field.

### What does the Weibo Topic Search 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 Topic Search 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 Topic Search API

Search Weibo topics by supplying a search keyword in `query`. Paginate through results using `page`.

#### Use cases

- Track discussion volume and reader metrics for specific Weibo topics.
- Discover trending topic hashtags associated with a target keyword.
- Monitor audience engagement on brand or industry hashtags.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | Yes | Search keyword (required) |
| `page` | integer | No | Page number (default 1) |

#### Example response

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

```json
{
  "parsed_data": {
    "items": [
      {
        "discuss_count": 75000,
        "read_count": 110000000,
        "topic": {
          "name": "#openai#",
          "name_plain": "openai",
          "url": "https://s.weibo.com/weibo/%23openai%23"
        }
      }
    ]
  }
}
```

#### Notes

- `query` is required for all searches.
- `page` defaults to 1 when omitted.

#### Related APIs

- [Weibo Advanced Search](/model/weibo/web-v2/advanced-search): Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links).
- [Weibo AI Related Search Content](/model/weibo/web-v2/ai-related-search): Returns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
- [Weibo AI Search](/model/weibo/web-v2/ai-search): Returns multimodal search results and relevance scores from Weibo intelligent search for a specified keyword or topic query.
