# Baidu Search

Search Baidu and get organic results and related searches.

by Apify Ready to run $0.0211 per page · $2.11 per 100 pages

## Example

### You ask your agent

“Search Baidu for 人工智能 and show me the top results.”

### You get

**Query:** 人工智能

**Device:** desktop

**Num results:** 10

**Localization:** 1

**Max pagination:** 1

**Organic results:** 人工智能 - 百度百科

**Pages processed:** 1

**Related searches:** https://www.baidu.com/s?wd=%E5%8D%8E%E4%B8%BAai%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E5%8F%AB%E4%BB%80%E4%B9%88&tn=baidu…

**What your agent sends and gets back (JSON)**

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

### Request

```
{
  "tool_id": "apify.johnvc-baidu-search",
  "input": {
    "input": {
      "query": "人工智能"
    },
    "maxItems": 1
  }
}
```

### Response

```
{
  "items": [
    {
      "page": 1,
      "query": "人工智能",
      "device": "desktop",
      "num_results": 10,
      "localization": 1,
      "max_pagination": 1,
      "organic_results": [
        {
          "link": "https://baike.baidu.com/item/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/9180",
          "title": "人工智能 - 百度百科",
          "position": 1
        }
      ],
      "pages_processed": 1,
      "related_searches": [
        {
          "link": "https://www.baidu.com/s?wd=%E5%8D%8E%E4%B8%BAai%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E5%8F%AB%E4%BB%80%E4%B9%88&tn=baidu&rsf=101534504&rsp=0&f=1&rs_src=0&rsv_pq=b9780b81001a3b1c&rsv_t=a32fOaFA858qHKto7HPKsoJsKGMZKuyYG9wuP%2FwJ7%2Bj5Q0w8DcWJcLuthXE&rsv_dl=brs_28338_1",
          "query": "华为ai人工智能叫什么"
        }
      ],
      "total_results_found": 9
    }
  ],
  "item_count": 1
}
```

## Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Baidu Search (tool ID: apify.johnvc-baidu-search). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? [Create your account on the web](https://scrollport.com/sign-up) and connect one from your dashboard later.

## Other tools for this job

[Compare all 8 →](https://scrollport.com/tools/web-search-api)

- [Google Search](https://scrollport.com/tools/providers/serper/google-search) Serper $0.0025 per request $0.0025 per request
- [Search Google by keyword — organic results](https://scrollport.com/tools/providers/scrapecreators/v1-google-search) ScrapeCreators $0.0027 per request $0.0027 per request
- [Naver Search](https://scrollport.com/tools/providers/apify/johnvc-naver-search) Apify $0.0043 per result $0.0043 per result

## Questions

**Is Baidu Search by Apify free?**

Scrollport has no free tier: it costs $0.0211 per page ($2.11 per 100 pages), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

**Do I need an API key from Apify?**

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

## Details

**About this tool**

Search Baidu, China's largest search engine, for one query on desktop, mobile or tablet. Each results page includes up to 50 organic results with title, link and snippet, plus related searches where Baidu shows them. maxItems sets the pages read, 1 to 5. You're charged per results page plus a fee per run. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.

**All inputs and outputs**

### Input

`input` object · required

Provider-specific public source, URL or search criteria.

`maxItems` integer · optional

Maximum number of records to return.

minimum: 1 · maximum: 5

### Output

`item_count` number

`items` array

Result records.

**Errors and limits**

- `upstream_error`: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.

---

Canonical page: https://scrollport.com/tools/providers/apify/johnvc-baidu-search
