# Baidu API

> Baidu’s hot search: what China is searching for right now, with heat.

Canonical page: https://okdata.online/apis/baidu/

1 endpoints, $0.002 to $0.002 per call. Region: Mainland China. No Baidu login or cookies needed.

| Endpoint | ID | Returns | Price |
|---|---|---|---|
| [Baidu hot search](https://okdata.online/apis/baidu/trends/list/) | `baidu.trends.list` | Trend[] | $0.002 per call · about 50 board entries per page |

## Good for

- Trend research: `baidu.trends.list`

## At a glance

1 Baidu endpoints covering hot lists, from $0.002 a call. No Baidu account or cookie needed.

Categories: [Social media](https://okdata.online/categories/social/)

- **Endpoints**: 1 endpoints. In 1 groups, one response format.
- **Lowest price**: From $0.002. A call, paid from a prepaid balance.
- **Freshness**: Live. Boards are a shared snapshot up to 10 minutes old.
- **Monthly fee**: $0. No subscription or minimum spend.

- [Start free](https://okdata.online/console/)
- Try one: [Baidu hot search](https://okdata.online/apis/baidu/trends/list/)
- Baidu in Claude, Cursor and other agents: [Baidu MCP](https://okdata.online/mcp/baidu/)

## Endpoints by group

### Hot lists (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Hot search](https://okdata.online/apis/baidu/trends/list/) | `GET /v1/baidu/trends/list` | Trend[] | $0.002 per call |

- [Baidu API pricing](https://okdata.online/pricing/baidu/)
- [Baidu in your AI (MCP)](https://okdata.online/mcp/baidu/)
- [Live status](https://okdata.online/status/)

## What people do with Baidu data

- [Trend research](https://okdata.online/solutions/trend-research/): “What is trending today that we could ride?” [Hot search](https://okdata.online/apis/baidu/trends/list/) $0.002

## Start in three steps

1. Get a key: [open the console](https://okdata.online/console/). A new key comes with $0.10 to try, no card.
2. Connect your AI with this sentence (swap in your key), or call the API yourself:

   > Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

3. Make the first call (Baidu hot search). Items arrive in data.items, the next page in page.next_cursor, the charge in meta.billing.amount.

```bash
curl "https://api.okdata.online/v1/baidu/trends/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY"
```

## Questions about the Baidu API

### What does the Baidu API cost?

Each of the 1 endpoints has its own price, $0.002 a call; the cheapest is Baidu hot search at $0.002. You pay per call from a prepaid balance, with no subscription. A call that reaches the data source is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.

### Do I need a Baidu account or cookie?

No. You call https://api.okdata.online with one okdata key and get public Baidu data back; you never use your own Baidu account, cookie or QR login.

### How fresh is the data?

Most endpoints read Baidu at the moment you call. Hot lists come from a shared snapshot that is at most 10 minutes old.

### Can my AI agent use the Baidu API?

Yes. Connect the MCP server at https://api.okdata.online/mcp: its find tool lists these 1 endpoints with their prices, and its call tool runs them on your key.

### Can I try it for free?

New accounts get $0.10 of trial credit with no card: enough for 50 calls to Baidu hot search.

## More about Baidu

- [Trending topics API](https://okdata.online/roles/trends-list/)
- [Baidu hot search: today’s list](https://okdata.online/tools/hot-search/baidu/)

## Other platforms

[TikTok API](https://okdata.online/apis/tiktok/) · [YouTube API](https://okdata.online/apis/youtube/) · [Instagram API](https://okdata.online/apis/instagram/) · [X (Twitter) API](https://okdata.online/apis/x/) · [Reddit API](https://okdata.online/apis/reddit/) · [Amazon API](https://okdata.online/apis/amazon/) · [AliExpress API](https://okdata.online/apis/aliexpress/) · [Meta Ad Library API](https://okdata.online/apis/meta/) · [Google Ads Transparency API](https://okdata.online/apis/google/) · [Telegram API](https://okdata.online/apis/telegram/) · [Douyin API](https://okdata.online/apis/douyin/) · [Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/) · [WeChat Official Accounts API](https://okdata.online/apis/wechat_mp/) · [Bilibili API](https://okdata.online/apis/bilibili/) · [Weibo API](https://okdata.online/apis/weibo/) · [Kuaishou API](https://okdata.online/apis/kuaishou/) · [Zhihu API](https://okdata.online/apis/zhihu/) · [WeChat Channels API](https://okdata.online/apis/wechat_channels/) · [WeChat Search API](https://okdata.online/apis/wechat/) · [Taobao & Tmall API](https://okdata.online/apis/taobao/) · [1688 API](https://okdata.online/apis/alibaba_1688/) · [Xianyu (Goofish) API](https://okdata.online/apis/xianyu/) · [Douyin Shop API](https://okdata.online/apis/douyin_shop/) · [Toutiao API](https://okdata.online/apis/toutiao/) · [Xigua Video API](https://okdata.online/apis/xigua/) · [Bluesky API](https://okdata.online/apis/bluesky/) · [App Store API](https://okdata.online/apis/app_store/) · [All platforms API](https://okdata.online/apis/all/)
