AI Agent Hub
Back to skills
Baidu AI Search icon

Baidu AI Search

Knowledge Management Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_458b0f84/baiduaisearchwithquota.

About this skill

Problem

When a project needs timely summaries, Baike entries, or platform trending lists from the Chinese web, wiring multiple Baidu AI Search endpoints directly creates API selection, fallback, quota, and pay-as-you-go risks. Baidu AI Search packages these calls into a reusable skill interface, suitable for agents, scripts, or automation flows that need search and news discovery.

How It Works

The skill covers three areas: search, Baike, and trending lists. Search endpoints include chat/completions, web_summary, and web_search; the scheduler tries them by priority until one succeeds or all fail. Baike supports lemma detail lookup and title-based search. Trending lists cover Weibo, Toutiao, Zhihu, Douyin, Bilibili, Baidu, Tieba, Kuaishou, and Xiaohongshu, with separate limits for general trends, vertical trends, and Baidu hot search. Advanced parameters such as deep_search, reasoning, recency, resource_types, and top_k help narrow results by time, count, and resource type. Configure BAIDU_API_KEY via environment variables before use.

Boundaries and Cautions

Free quotas are limited and vary by endpoint; trending, vertical, and Baidu hot-search limits can be exhausted quickly. Usage beyond free quotas may switch to pay-as-you-go, so use it in real tasks rather than unlimited batch testing. Results can vary by keyword, quota, and API state. For empty results or timeouts, simplify the query, check quota and network, and treat the Qianfan console as the source of truth.

Use Cases

  • Add real-time Q&A to a support bot by querying Baidu AI Search for summaries and sources.
  • Query Weibo, Zhihu, and Bilibili trends to collect hot topics and draft content angles.
  • Embed Baike lookup in a fact-checking pipeline to verify definitions and entity details by title.
  • Build a sentiment dashboard by querying search and Baidu hot search with recency filters.

Best For

  • AI application engineers who need Chinese web search summaries and sources inside an agent.
  • Content editors or operators who need scheduled cross-platform trending topics for ideation.
  • Backend developers who need Baike lemma lookups in a fact-checking workflow.
  • Analysts who need Baidu hot search and recent news aggregated for business reporting.