/v1/call/wechat.miniprogram_searchWeChat mini program search API
Only on WeChat Articles.
Find WeChat mini programs for search terms through WeChat Search, the first page (about 25): name, description, icon, original ID and AppID, the owner's name and whether it is verified, how many used it lately as the platform shows it, and whether it is a mini game. A call to the WeChat mini program search API costs 60 credits ($0.12 to $0.20 depending on the pack); failed calls are free.
Last updated:
Daily watch: tell your AI “watch this daily” and this call runs by itself every day, sending only what is new: at most 1,860 credits a month, about $6.20. How to set it up
What you get from the WeChat mini program search API.
From a recorded answer.
A recorded call returned 25 items; here is the first, field by field. Names and text are removed from the sample; the numbers are as recorded.
Lighter for your AI: the same recorded data (25 items) is about 15,179 tokens as the platform's raw JSON and about 3,819 as this interface returns it, 74% fewer (measured 2026-11-06). How it was measured
| Field | In the recorded answer |
|---|---|
| title | removed from the sample |
| url | null |
| rank | null |
| heat | null |
| fields.app_id | removed from the sample |
| fields.description | removed from the sample |
| fields.owner_name | removed from the sample |
| fields.owner_verified | true |
| fields.recent_users | null |
| fields.is_game | false |
60 credits a call (≈ $0.12–$0.20): about 50 calls for $10.
WeChat mini program search API: request and response
curl https://api.socialtoai.com/v1/call/wechat.miniprogram_search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "query": "外卖" }'import osimport uuidimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/call/wechat.miniprogram_search", headers={ "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}", # A new key for each request; the same one again retries it without paying twice. "Idempotency-Key": str(uuid.uuid4()), }, json={ "query": "外卖", },)print(response.json())# Connected over MCP? Ask in plain words.Use the WeChat mini program search interface (wechat.miniprogram_search) with query: 外卖.# Your AI calls the call tool with:{ "query": "外卖"}{ "op": "wechat.miniprogram_search", "platform": "wechat", "status": "ok", "items": [ { "platform": "wechat", "id": "…", "ref": null, "approx": [], "type": "entry", "entry_type": "miniprogram", "title": "…", "url": null, "rank": null, "heat": null, "fields": { "app_id": "…", "description": "…", "owner_name": "…", "owner_verified": true, "recent_users": null, "is_game": false } } ], "unavailable": [], "page": { "has_more": false }, "cost_credits": 60}- entry_type
- miniprogram
- app_id
- …
- description
- …
- owner_name
- …
- owner_verified
- true
- recent_users
null- is_game
- false
Names and text were removed from the sample; the numbers are as recorded.
WeChat mini program search API parameters.
1 parameter, all required.
Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | Required | — | Search terms |
WeChat mini program search API response fields.
What WeChat Articles cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| items[].title | string | The entry's title or name. |
| items[].url | string | A link that opens it; null where the platform's list has none. |
| items[].rank | integer | Position on a board, from 1. |
| items[].heat | integer | The platform's heat score. |
| items[].fields.app_id | string | The AppID (starting with wx), used to open or link to the mini program; null where the platform gives none. |
| items[].fields.description | string | What the mini program says it is. |
| items[].fields.owner_name | string | The company or body that runs it. |
| items[].fields.owner_verified | boolean | Whether the owner is verified. |
| items[].fields.recent_users | integer | How many used it lately, as the platform shows it; a figure shown like 1万+ is a lower bound. |
| items[].fields.is_game | boolean | Whether it is a mini game. |
nullFields WeChat Articles cannot giveWeChat Articles gives every field of this call. Where one item lacks a value, that field is null.
Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format
WeChat mini program search API: paging and billing.
5 calls per second per key, 20 after a purchase; going over is not charged. Rate limits
A failed call costs 0 credits and is never retried on its own. Error codes
Interface last tested: 2026-10-30. Each call reads from the platform, and fetched_at in the answer is when it was read. The same request sent again with the same key within 5 minutes is a replay (replayed: true): 0 credits, and the answer as first read.
Once connected over MCP, these questions use the WeChat mini program search API.
Find WeChat mini programs for search terms through WeChat Search, the first page (about 25): 外卖.
60 creditscall {"op":"wechat.miniprogram_search","query":"外卖"}
Give this to your AI.
Copy it into Claude or ChatGPT.
How to connectUse the SocialToAI MCP server (https://mcp.socialtoai.com/mcp) for this: Find WeChat mini programs for search terms through WeChat Search, the first page (about 25): 外卖.Call the call tool with {"op":"wechat.miniprogram_search","query":"外卖"}. Needed: query.It gives its first page only, up to 40 items, with no next page; each call costs 60 credits.Before you start, work out how many credits it will take in all and ask me; call it only after I agree.If SocialToAI is not connected yet, tell me how to connect it; never ask me to paste a key into the chat.Answer with a link to every item you used, and tell me how many credits it cost.Paste it into a chat once SocialToAI is connected over MCP. There is no key in it: Claude and ChatGPT sign in, other clients send a key in a header.
Read next.
What its own API allows, who can use it and what it costs, with sources.
let your AI read WeChat Official Account articles
turn WeChat Official Account articles into a private RSS feed, or push them to Feishu and WeCom
Let your AI read WeChat Articles.