baidu-search

Query Baidu's AI Search API for live web results with count and freshness parameters.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ISAQQSAI/SkillAttack --skill baidu-search-isaqqsai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baidu-search
Source: https://github.com/ISAQQSAI/SkillAttack/tree/main/data/hot100skills/007_ide-rea_baidu-search
Command: npx skills add https://github.com/ISAQQSAI/SkillAttack --skill baidu-search-isaqqsai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Live web search is often manual and inconsistent. This skill provides a programmatic way to query Baidu's AI Search API to retrieve up-to-date results for research, information gathering, and topic verification.

Core Features & Use Cases

  • Live web searching through Baidu's AI Search API to retrieve recent results.
  • Configurable parameters including result count and freshness filters to tailor searches.
  • Ideal for information gathering, documentation lookup, research validation, and topic exploration.

Quick Start

Run the search script with a JSON payload containing your query to perform a live Baidu web search.

Frequently Asked Questions about baidu-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve live web search results using the Baidu API?

To retrieve live web search results using the Baidu API, you run a Python script that POSTs a JSON query payload to the Baidu AI Search API, requiring a valid BAIDU_API_KEY configured in your environment.

Can I filter Baidu AI Search API results by freshness and limit the count?

Yes, you can limit and filter Baidu AI Search API results because the script supports configurable count and freshness parameters to tailor the retrieved live web data for specific research needs.

Do I need the requests library to perform live information retrieval from Baidu?

Yes, you need the requests library installed in your Python environment to perform live information retrieval, as it handles posting the JSON payload to the Baidu API and receiving the search response.

What is the best way to programmatically gather research data from Baidu search?

The best way to programmatically gather research data is using a dedicated API search script that automates live web queries, ensuring consistent information retrieval and topic verification without manual browser searches.

Are there limitations when using a Python script for live web searches via Baidu?

Limitations of live web searches via this Python script include dependency on a valid BAIDU_API_KEY environment variable and potential request failures, which are mitigated by the script's basic error handling.