WeChat 公式アカウント API: articles, read counts, comments
13 WeChat 公式アカウント endpoints covering accounts, articles, comments and Tencent Huxuan, from $0.02 a call. No WeChat 公式アカウント account or cookie needed.
AI につなぐ
これを AI エージェントに貼り付けてください
https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。
Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。
MCP サーバーhttps://api.okdata.online/mcp
Ask about WeChat 公式アカウント from Claude, Cursor and other agents: the WeChat 公式アカウント MCP page
- エンドポイント
- 13 エンドポイント
- 4 グループ、統一レスポンス形式
- 最安値
- $0.02 から
- 前払い残高から支払う 1 回の呼び出し
- 鮮度
- ライブ
- コール時にプラットフォームから取得
- 月額料金
- $0
- サブスクリプションも最低利用額も不要
Every WeChat 公式アカウント endpoint
エンドポイントごとに 1 行:リクエスト、返却内容、1 コールの料金。
アカウント
4記事
4コメント
1料金は /item と記載のない限りコール単位です。プラットフォームに到達したコールは、結果が空でも失敗しても課金されます。
What people do with WeChat 公式アカウント data
各ユースケースには、使うエンドポイント、実行例、費用をまとめた専用ページがあります。
競合モニタリング
「競合は今週何を投稿し、何が伸びた?」
- 公式アカウント検索$0.058
- 公式アカウント記事履歴$0.02
- 公式アカウントのプロフィール$0.02
ここに 6 エンドポイント、$0.02 から仕組み
コンテンツリサーチ
「このトピックの上位投稿に共通するのは?」
- 公式アカウント記事履歴$0.02
- 公式アカウント記事の詳細$0.02
- 公式アカウント記事の統計$0.03
ここに 6 エンドポイント、$0.02 から仕組み
クリエイター発掘
「キャンプ用品の中堅クリエイターは誰?」
- Huxuan 公式アカウント検索$0.108
- Huxuan 公式アカウントのプロフィール$0.065
- Huxuan 公式アカウントの記事一覧$0.108
ここに 3 エンドポイント、$0.065 から仕組み
口コミ
「購入者の不満で一番多いのは?」
- 公式アカウント記事のコメント$0.03
- 公式アカウントのコメントへの返信$0.03
ここに 2 エンドポイント、$0.03 から仕組み
3 ステップで開始
The example is 公式アカウント検索; every WeChat 公式アカウント endpoint is called the same way and answers in the same shape.
キーを取得
コンソールでアカウントとキーを作成してください。新しいキーにはお試し用の $0.20 が付き、カードは不要です。
AI を接続するか、自分で呼び出す
この一文を Claude Code、Cursor、Codex などリンクを開けるエージェントに貼り付けるだけで、自動でセットアップされます。または、Authorization ヘッダーにキーを入れて以下のリクエストを送信してください。
https://okdata.online/agents.md の手順に従って okdata をセットアップしてください。私の okdata API キーはこちらです: okd_…。安全に保管し、okdata のすべての呼び出しに使用してください。
プレースホルダーをご自身のキーに置き換えるか、ログインしてキー入りのものをコピーしてください。
最初のコールを実行
アイテムは data.items(単一の場合は data.item)、次ページは page.next_cursor、課金額は meta.billing.amount に入ります。
cURL
curl -G "https://api.okdata.online/v1/wechat_mp/accounts/search" \ -H "Authorization: Bearer $OKDATA_API_KEY" \ --data-urlencode 'query=36氪'Python
import os import requests resp = requests.get( "https://api.okdata.online/v1/wechat_mp/accounts/search", headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}, params={"query": "36氪"}, timeout=60, ) body = resp.json() if body["code"] != "ok": raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})") for row in body["data"]["items"]: print(row["name"], row["followers"]) print("cost: $" + body["meta"]["billing"]["amount"])TypeScript
const url = new URL('https://api.okdata.online/v1/wechat_mp/accounts/search'); url.searchParams.set('query', "36氪"); const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.OKDATA_API_KEY}`, }, }); const body = await res.json(); if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`); for (const row of body.data.items) { console.log(row.name, row.followers); } console.log('cost: $' + body.meta.billing.amount);MCPtools/call
{ "name": "call", "arguments": { "capability": "wechat_mp.accounts.search", "query": "36氪" } }
Questions about the WeChat 公式アカウント API
What does the WeChat 公式アカウント API cost?
Each of the 13 endpoints has its own price, from $0.02 to $0.58 a call; the cheapest is 公式アカウント記事履歴 at $0.02. You pay per call from a prepaid balance, with no subscription. A call that reaches the platform is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free. 1 of them charge per item returned instead, with a cap per call.
Do I need a WeChat 公式アカウント account or cookie?
No. You call https://api.okdata.online with one okdata key and get public WeChat 公式アカウント data back; you never use your own WeChat 公式アカウント account, cookie or QR login.
データの鮮度は?
A request reads WeChat 公式アカウント when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours).
Can my AI agent use the WeChat 公式アカウント API?
はい。https://api.okdata.online/mcp の MCP サーバーに接続してください。find ツールでこれら 13 個のエンドポイントと料金を一覧でき、call ツールでお使いの API キーを使って実行できます。
無料で試せますか?
New accounts get $0.20 of trial credit with no card: enough for 10 calls to 公式アカウント記事履歴.
