# 微信搜一搜 API

> 微信搜一搜：公眾號文章、影片號影片和小程式。

網頁版：https://okdata.online/zh/apis/wechat/

5 個介面，每次 $0.02 到 $0.15。地區：中國大陸。不需要微信搜一搜帳號或 Cookie。

| 介面 | ID | 返回 | 價格 |
|---|---|---|---|
| [微信搜一搜綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/) | `wechat.posts.search` | Post[] | $0.02/次 · 每頁約 20 條帖子 |
| [微信公眾號即時查詢](https://okdata.online/zh/apis/wechat/accounts/search/) | `wechat.accounts.search` | Account[] | $0.02/次 · 每頁約 8 個帳號 |
| [微信指數](https://okdata.online/zh/apis/wechat/index/keywords/history/) | `wechat.index.keywords.history` | KeywordHistory[] | $0.15/次 · 每頁約 1 條結果 |
| [微信搜一搜推薦詞](https://okdata.online/zh/apis/wechat/keywords/related/) | `wechat.keywords.related` | KeywordRelated[] | $0.15/次 · 每頁約 9 條結果 |
| [微信小程式搜尋](https://okdata.online/zh/apis/wechat/miniprograms/search/) | `wechat.miniprograms.search` | Miniprogram[] | $0.15/次 · 每頁約 25 條結果 |

## 適合做什麼

- 內容調研: `wechat.posts.search`, `wechat.keywords.related`
- 熱點研究: `wechat.posts.search`, `wechat.index.keywords.history`, `wechat.keywords.related`
- 口碑分析: `wechat.posts.search`
- 競品監控: `wechat.accounts.search`, `wechat.miniprograms.search`
- 找博主: `wechat.accounts.search`
- 選品定價: `wechat.miniprograms.search`

## 概覽

微信搜一搜的 5 個介面，覆蓋內容、帳號、指數、關鍵詞和小程式，每次 $0.02 起。不需要微信搜一搜帳號或 Cookie。

分類：[社交媒體](https://okdata.online/zh/categories/social/)

- **介面**：5 個介面. 分 5 組，返回格式統一。
- **最低價格**：$0.02 起. 每次，約 ¥0.14。
- **資料時效**：當場取. 呼叫時從平台讀取。
- **月費**：$0. 沒有訂閱，也沒有最低消費。

- [免費開始](https://okdata.online/zh/console/)
- 試一次：[微信搜一搜綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/)
- 在 Claude、Cursor 等智慧體裡用微信搜一搜：[微信搜一搜 MCP](https://okdata.online/zh/mcp/wechat/)

## 按分組看介面

### 內容 (1)

| 介面 | 請求 | 返回 | 價格 |
|---|---|---|---|
| [綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/) | `GET /v1/wechat/posts/search` | 內容列表 | $0.02/次 |

### 帳號 (1)

| 介面 | 請求 | 返回 | 價格 |
|---|---|---|---|
| [微信公眾號即時查詢](https://okdata.online/zh/apis/wechat/accounts/search/) | `GET /v1/wechat/accounts/search` | 帳號列表 | $0.02/次 |

### 指數 (1)

| 介面 | 請求 | 返回 | 價格 |
|---|---|---|---|
| [微信指數](https://okdata.online/zh/apis/wechat/index/keywords/history/) | `GET /v1/wechat/index/keywords/history` | 關鍵詞指數列表 | $0.15/次 |

### 關鍵詞 (1)

| 介面 | 請求 | 返回 | 價格 |
|---|---|---|---|
| [推薦詞](https://okdata.online/zh/apis/wechat/keywords/related/) | `GET /v1/wechat/keywords/related` | 關聯詞列表 | $0.15/次 |

### 小程式 (1)

| 介面 | 請求 | 返回 | 價格 |
|---|---|---|---|
| [微信小程式搜尋](https://okdata.online/zh/apis/wechat/miniprograms/search/) | `GET /v1/wechat/miniprograms/search` | 小程式列表 | $0.15/次 |

- [微信搜一搜 API 價格](https://okdata.online/zh/pricing/wechat/)
- [在 AI 裡用微信搜一搜資料（MCP）](https://okdata.online/zh/mcp/wechat/)
- [執行狀態](https://okdata.online/zh/status/)

## 大家拿微信搜一搜資料做什麼

- [熱點研究](https://okdata.online/zh/solutions/trend-research/)：“今天熱搜上有什麼能借勢的？” [綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/) $0.02、[微信指數](https://okdata.online/zh/apis/wechat/index/keywords/history/) $0.15、[推薦詞](https://okdata.online/zh/apis/wechat/keywords/related/) $0.15
- [內容調研](https://okdata.online/zh/solutions/content-research/)：“這個話題的爆款內容有什麼共同點？” [綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/) $0.02、[推薦詞](https://okdata.online/zh/apis/wechat/keywords/related/) $0.15
- [競品監控](https://okdata.online/zh/solutions/competitor-monitoring/)：“競品這週發了什麼，哪條火了？” [微信公眾號即時查詢](https://okdata.online/zh/apis/wechat/accounts/search/) $0.02、[微信小程式搜尋](https://okdata.online/zh/apis/wechat/miniprograms/search/) $0.15
- [口碑分析](https://okdata.online/zh/solutions/word-of-mouth/)：“買過的人，最不滿意的是什麼？” [綜合搜尋](https://okdata.online/zh/apis/wechat/posts/search/) $0.02
- [找博主](https://okdata.online/zh/solutions/creator-discovery/)：“露營裝備領域，有哪些腰部博主？” [微信公眾號即時查詢](https://okdata.online/zh/apis/wechat/accounts/search/) $0.02
- [選品定價](https://okdata.online/zh/solutions/product-research/)：“賣得好的都賣多少錢，買家在吐槽什麼？” [微信小程式搜尋](https://okdata.online/zh/apis/wechat/miniprograms/search/) $0.15

## 三步開始

1. 拿一把 key：[開啟控制台](https://okdata.online/zh/console/)。新 key 自帶 $0.20 試用額度，不用綁卡。
2. 把這句話貼給你的 AI（換成你的 key），或者自己調介面：

   > 按 https://okdata.online/agents.md 的步驟，幫我在這個 agent 裡裝好 okdata。我的 okdata API Key：okd_…，請妥善儲存，之後呼叫 okdata 都用它。

3. 調第一次（微信搜一搜綜合搜尋）。結果在 data.items，下一頁游標在 page.next_cursor，扣費在 meta.billing.amount。

```bash
curl -G "https://api.okdata.online/v1/wechat/posts/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=咖啡店開業'
```

## 關於微信搜一搜 API 的常見問題

### 微信搜一搜 API 怎麼收費？

5 個介面各自定價，每次 $0.02 到 $0.15，最便宜的是微信公眾號即時查詢，$0.02。從預付餘額按次扣費，沒有訂閱。請求到了平台的呼叫，返回為空、查不到或出錯也照常計費；引數錯誤這類還沒請求平台就被攔下的不扣費。

### 需要微信搜一搜帳號或 Cookie 嗎？

不需要。用一個 okdata key 調 https://api.okdata.online，拿回的是微信搜一搜的公開資料，你不用提供自己的微信搜一搜帳號或 Cookie，也不用掃碼登入。

### 資料是即時的嗎？

呼叫時會去微信搜一搜讀取，除非不久前有過同一個請求：那樣可能直接用結果快取回答，meta.cached 為 true，meta.fetched_at 寫明資料是什麼時候讀的（列表和搜尋最多 30 分鐘前，單條內容或商品最多 1 小時前，帳號資料最多 6 小時前）。

### AI 智慧體能直接用微信搜一搜 API 嗎？

可以。接上 https://api.okdata.online/mcp 這個 MCP 服務，find 工具會列出這 5 個介面和價格，call 工具用你的 key 呼叫。

### 可以免費試嗎？

新帳號送 $0.20 試用額度，不用綁卡，夠調 10 次微信公眾號即時查詢。

## 更多微信搜一搜內容

- [OpenClaw（龍蝦）裡怎麼裝小紅書、抖音、公眾號的資料 Skill？](https://okdata.online/zh/answers/openclaw-xiaohongshu-douyin-skill/)
- [WorkBuddy 裡怎麼接抖音、小紅書、公眾號的資料？](https://okdata.online/zh/answers/workbuddy-douyin-xiaohongshu-wechat-data/)
- [內容搜尋介面](https://okdata.online/zh/roles/posts-search/)
- [帳號搜尋介面](https://okdata.online/zh/roles/accounts-search/)

## 其他平台

[抖音 API](https://okdata.online/zh/apis/douyin/) · [小紅書 API](https://okdata.online/zh/apis/xiaohongshu/) · [微信公眾號 API](https://okdata.online/zh/apis/wechat_mp/) · [B站 API](https://okdata.online/zh/apis/bilibili/) · [微博 API](https://okdata.online/zh/apis/weibo/) · [TikTok API](https://okdata.online/zh/apis/tiktok/) · [X（推特） API](https://okdata.online/zh/apis/x/) · [YouTube API](https://okdata.online/zh/apis/youtube/) · [Meta 廣告庫 API](https://okdata.online/zh/apis/meta/) · [Google API](https://okdata.online/zh/apis/google/) · [Instagram API](https://okdata.online/zh/apis/instagram/) · [Reddit API](https://okdata.online/zh/apis/reddit/) · [快手 API](https://okdata.online/zh/apis/kuaishou/) · [知乎 API](https://okdata.online/zh/apis/zhihu/) · [微信影片號 API](https://okdata.online/zh/apis/wechat_channels/) · [Facebook API](https://okdata.online/zh/apis/facebook/) · [LinkedIn API](https://okdata.online/zh/apis/linkedin/) · [Threads API](https://okdata.online/zh/apis/threads/) · [Telegram API](https://okdata.online/zh/apis/telegram/) · [Pinterest API](https://okdata.online/zh/apis/pinterest/) · [亞馬遜 API](https://okdata.online/zh/apis/amazon/) · [速賣通 API](https://okdata.online/zh/apis/aliexpress/) · [淘寶天貓 API](https://okdata.online/zh/apis/taobao/) · [1688 API](https://okdata.online/zh/apis/alibaba_1688/) · [閒魚 API](https://okdata.online/zh/apis/xianyu/) · [京東 API](https://okdata.online/zh/apis/jd/) · [抖音電商 API](https://okdata.online/zh/apis/douyin_shop/) · [今日頭條 API](https://okdata.online/zh/apis/toutiao/) · [西瓜影片 API](https://okdata.online/zh/apis/xigua/) · [百度 API](https://okdata.online/zh/apis/baidu/) · [Bluesky API](https://okdata.online/zh/apis/bluesky/) · [蘋果應用商店 API](https://okdata.online/zh/apis/app_store/) · [Twitch API](https://okdata.online/zh/apis/twitch/) · [豆瓣電影 API](https://okdata.online/zh/apis/douban/) · [IMDb API](https://okdata.online/zh/apis/imdb/) · [優酷 API](https://okdata.online/zh/apis/youku/) · [Lemon8 API](https://okdata.online/zh/apis/lemon8/) · [小宇宙 API](https://okdata.online/zh/apis/xiaoyuzhou/) · [Apple 播客 API](https://okdata.online/zh/apis/apple_podcasts/) · [全網 API](https://okdata.online/zh/apis/all/)
