# Weibo Trending API (weibo.trending)

- Canonical page: https://everyinfra.com/en/weibo-api/trending
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "weibo", "action": "trending", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 200 per call
- Mode: sync; add "mode": "async" for slow tasks

Weibo Trending returns the current hot search list, Weibo's ranking of what people are searching and talking about, and takes no parameters. Each entry carries its `rank`, the `title` of the topic, the `category` Weibo files it under, the heat figure in `hot_value`, the badge in `label`, the `is_hot` and `is_new` flags and a link. Newsrooms, PR teams and brand marketers read it to see what Weibo users are discussing, catch a topic that involves them early, and decide which trends are worth joining.

Read the list on a schedule and keep every snapshot with its time, since what matters is how fast an entry climbs and how long it stays. `category` uses Weibo's own taxonomy, so map it before you put this list next to trending lists from other platforms, and treat `hot_value` as Weibo's internal measure rather than a count of searches or posts.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=weibo&action=trending

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| limit | integer (1–200) | no | 20 | The most rows to return in this call, an integer from 1 to 200. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| rank | platform-native meaning |
| title | Title. null when the platform has no titles (for example text-only posts). |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| hot_value | platform-native meaning |
| label | platform-native meaning |
| is_hot | platform-native meaning |
| is_new | platform-native meaning |
| url | Link to the record on the platform. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "weibo",
  "action": "trending",
  "params": {}
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "weibo",
        "action": "trending",
        "params": {},
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "weibo",
  "action": "trending",
  "results": [
    {
      "rank": 1,
      "title": "中美达成八点成果共识",
      "hot_value": 2135066,
      "is_hot": false,
      "is_new": false,
      "url": "https://s.weibo.com/weibo?q=%23中美达成八点成果共识%23",
      "platform": "weibo"
    },
    {
      "rank": 2,
      "title": "张本智和淘汰",
      "hot_value": 8092453,
      "label": "爆",
      "is_hot": true,
      "is_new": false,
      "url": "https://s.weibo.com/weibo?q=张本智和淘汰",
      "platform": "weibo"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### What do `label`, `is_hot` and `is_new` mean?

`label` is the badge Weibo shows beside an entry, such as new, hot or exploding. `is_hot` marks entries flagged as hot, and `is_new` marks entries that have just entered the list, which makes it the field to watch when you want early alerts about emerging topics.

### Can I compare `hot_value` between two days?

Not directly. The value is Weibo's own metric and is only meant for comparing entries within one list. To follow a topic across time, read the list on a schedule and record each entry's `rank` with the time of the read; rank positions line up from one snapshot to the next.

### How do I see the posts behind a trending topic?

Use the entry's `title` as the keyword for the Weibo Search capability, which returns public posts with their authors and repost, comment and like counts. The entry's `url` opens the topic on Weibo when you want to look at it yourself.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=weibo
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
