微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔥

六大平台热榜一键聚合

Hot Topics · v1.1.0
效率 安全 B 级 作者 neverchenx 公开目录收录
1.1k 下载 0 安装 5k 收藏 9 浏览

简介

实时聚合微博、知乎、百度、抖音、头条、B站六大平台热榜数据,帮助用户快速掌握中文社交媒体舆论风向

原始描述

Get real-time trending topics and hot searches from major Chinese social media platforms including Weibo, Zhihu, Baidu, Douyin, Toutiao, and Bilibili. Use wh...

通过你的 Agent 添加

安装目录:hot-topics/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/hot-topics/
Codex CLI~/.codex/skills/hot-topics/
DeepSeek Harness~/.agents/skills/hot-topics/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: hot-topics description: Get real-time trending topics and hot searches from major Chinese social media platforms including Weibo, Zhihu, Baidu, Douyin, Toutiao, and Bilibili. Use when users want to know trending topics, hot searches, or popular content on Chinese social media platforms. license: MIT version: 1.1.0 metadata: author: vikiboss api_base: https://60s.viki.moe/v2 tags: - trending - social-media - hot-search - china

Hot Topics & Trending Content Skill

This skill helps AI agents fetch trending topics and hot searches from major Chinese social media and content platforms.

When to Use This Skill

Use this skill when users:

  • Want to know what's trending on social media
  • Ask about hot topics or viral content
  • Need to understand current popular discussions
  • Want to track trending topics across platforms
  • Research social media trends

Supported Platforms

  1. Weibo - Chinese Twitter equivalent
  2. Zhihu - Chinese Quora equivalent
  3. Baidu - China's largest search engine
  4. Douyin - TikTok China
  5. Toutiao - ByteDance news aggregator
  6. Bilibili - Chinese YouTube equivalent

API Endpoints

Platform Endpoint Description
Weibo /v2/weibo Weibo hot search topics
Zhihu /v2/zhihu Zhihu trending questions
Baidu /v2/baidu/hot Baidu hot searches
Douyin /v2/douyin Douyin trending videos
Toutiao /v2/toutiao Toutiao hot news
Bilibili /v2/bili Bilibili trending videos

All endpoints use GET method and base URL: https://60s.viki.moe/v2

How to Use

Get Weibo Hot Searches

import requests

def get_weibo_hot():
    response = requests.get('https://60s.viki.moe/v2/weibo')
    return response.json()

hot_topics = get_weibo_hot()
print("Weibo Hot Search:")
for i, topic in enumerate(hot_topics['data'][:10], 1):
    print(f"{i}. {topic['title']} - Heat: {topic.get('hot', 'N/A')}")

Get Zhihu Hot Topics

def get_zhihu_hot():
    response = requests.get('https://60s.viki.moe/v2/zhihu')
    return response.json()

topics = get_zhihu_hot()
print("Zhihu Trending:")
for topic in topics['data'][:10]:
    print(f"- {topic['title']}")

Get Multiple Platform Trends

def get_all_hot_topics():
    platforms = {
        'weibo': 'https://60s.viki.moe/v2/weibo',
        'zhihu': 'https://60s.viki.moe/v2/zhihu',
        'baidu': 'https://60s.viki.moe/v2/baidu/hot',
        'douyin': 'https://60s.viki.moe/v2/douyin',
        'bili': 'https://60s.viki.moe/v2/bili'
    }

    results = {}
    for name, url in platforms.items():
        try:
            response = requests.get(url)
            results[name] = response.json()
        except:
            results[name] = None

    return results

# Usage
all_topics = get_all_hot_topics()

Simple bash examples

# Weibo hot search
curl "https://60s.viki.moe/v2/weibo"

# Zhihu trending
curl "https://60s.viki.moe/v2/zhihu"

# Baidu hot search
curl "https://60s.viki.moe/v2/baidu/hot"

# Douyin trending
curl "https://60s.viki.moe/v2/douyin"

# Bilibili trending
curl "https://60s.viki.moe/v2/bili"

Response Format

Responses typically include:

{
  "data": [
    {
      "title": "Topic title",
      "url": "https://...",
      "hot": "1234567",
      "rank": 1
    },
    ...
  ],
  "update_time": "2024-01-15 14:00:00"
}

Example Interactions

User: "What's hot on Weibo right now?"

hot = get_weibo_hot()
top_5 = hot['data'][:5]

response = "Weibo Hot Search TOP 5:\n\n"
for i, topic in enumerate(top_5, 1):
    response += f"{i}. {topic['title']}\n"
    response += f"   Heat: {topic.get('hot', 'N/A')}\n\n"

User: "What are people discussing on Zhihu?"

zhihu = get_zhihu_hot()
response = "Zhihu Current Hot Topics:\n\n"
for topic in zhihu['data'][:8]:
    response += f"- {topic['title']}\n"

User: "Compare trends across platforms"

def compare_platform_trends():
    all_topics = get_all_hot_topics()

    summary = "Platform Trends Overview\n\n"

    platforms = {
        'weibo': 'Weibo',
        'zhihu': 'Zhihu',
        'baidu': 'Baidu',
        'douyin': 'Douyin',
        'bili': 'Bilibili'
    }

    for key, name in platforms.items():
        if all_topics.get(key):
            top_topic = all_topics[key]['data'][0]
            summary += f"{name}: {top_topic['title']}\n"

    return summary

Best Practices

  1. Rate Limiting: Don't call APIs too frequently, data updates every few minutes
  2. Error Handling: Always handle network errors and invalid responses
  3. Caching: Cache results for 5-10 minutes to reduce API calls
  4. Top N: Usually showing top 5-10 items is sufficient
  5. Context: Provide platform context when showing trending topics

Common Use Cases

1. Daily Trending Summary

def get_daily_trending_summary():
    weibo = get_weibo_hot()
    zhihu = get_zhihu_hot()

    summary = "Today's Hot Topics\n\n"
    summary += "[Weibo Hot Search]\n"
    summary += "\n".join([f"{i}. {t['title']}"
                          for i, t in enumerate(weibo['data'][:3], 1)])
    summary += "\n\n[Zhihu Trending]\n"
    summary += "\n".join([f"{i}. {t['title']}"
                          for i, t in enumerate(zhihu['data'][:3], 1)])

    return summary

2. Find Common Topics Across Platforms

def find_common_topics():
    all_topics = get_all_hot_topics()

    # Extract titles from all platforms
    all_titles = []
    for platform_data in all_topics.values():
        if platform_data and 'data' in platform_data:
            all_titles.extend([t['title'] for t in platform_data['data']])

    # Simple keyword matching (can be improved)
    from collections import Counter
    keywords = []
    for title in all_titles:
        keywords.extend(title.split())

    common = Counter(keywords).most_common(10)
    return f"Hot Keywords: {', '.join([k for k, _ in common])}"

3. Platform-specific Trending Alert

def check_trending_topic(keyword):
    platforms = ['weibo', 'zhihu', 'baidu']
    found_in = []

    for platform in platforms:
        url = f'https://60s.viki.moe/v2/{platform}' if platform != 'baidu' else 'https://60s.viki.moe/v2/baidu/hot'
        data = requests.get(url).json()

        for topic in data['data']:
            if keyword.lower() in topic['title'].lower():
                found_in.append(platform)
                break

    if found_in:
        return f"Topic '{keyword}' is trending on: {', '.join(found_in)}"
    return f"Topic '{keyword}' is not trending on major platforms"

4. Trending Content Recommendation

def recommend_content_by_interest(interest):
    """Recommend trending content based on user interest"""
    all_topics = get_all_hot_topics()

    recommendations = []
    for platform, data in all_topics.items():
        if data and 'data' in data:
            for topic in data['data']:
                if interest.lower() in topic['title'].lower():
                    recommendations.append({
                        'platform': platform,
                        'title': topic['title'],
                        'url': topic.get('url', '')
                    })

    return recommendations

Platform-Specific Notes

Weibo

  • Updates frequently (every few minutes)
  • Includes heat score
  • Some topics may have tags like "hot" or "new"

Zhihu

  • Focuses on questions and discussions
  • Usually more in-depth topics
  • Great for understanding what people are curious about

Baidu

  • Reflects search trends
  • Good indicator of mainstream interest
  • Includes various categories

Douyin

  • Video-focused trending
  • Entertainment and lifestyle content
  • Young audience interests

Bilibili

  • Video platform trends
  • ACG (Anime, Comic, Games) culture
  • Creative content focus

Troubleshooting

Issue: Empty or null data

  • Solution: API might be updating, retry after a few seconds
  • Check network connectivity

Issue: Old timestamps

  • Solution: Data is cached, this is normal
  • Most platforms update every 5-15 minutes

Issue: Missing platform

  • Solution: Ensure correct endpoint URL
  • Check API documentation for changes

Changelog

Version Date Changes
v1.1.0 2025-03-15 Translated to English
v1.0.0 2024-01-15 Initial release

Related Resources

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

social-mediatrendingnewsapichina

同类 Skill