WeChat mini program search API
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. About 25 items a call, 40 at most; $0.1 per call. Errors and timeouts are not charged; an empty result is charged $0.1.
Try it
Change a value and the request on the right follows.Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 1 calls.
curl -G "https://api.dataxapi.com/v1/wechat/miniprograms/search" \ --data-urlencode "query=外卖" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
{
"code": "ok",
"request_id": "1a7bd927-c736-4d0a-8451-3dea14b1f821",
"data": {
"items": [
{
"id": "1922257064798686",
"app_id": "1250200079450793",
"name": "山野咖啡馆",
"description": "把外卖从头到尾讲清楚,看完少走弯路",
"icon_url": "https://www.dataxapi.com/examples/1922257064798686",
"owner_name": "周末的外卖日常,随手记录一下",
"owner_verified": true,
"recent_users": null,
"is_game": false
},
// … 24 more
]
},
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 25
},
"warnings": [],
"meta": {
"capability": "wechat.miniprograms.search",
"result_status": "complete",
"fetched_at": "2026-10-29T09:50:10.000Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.1",
"currency": "USD",
"balance_after": "9.9"
}
}
}From a response recorded 2026-10-29 09:50 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Size as sent: 13.5 KB in the standard view (8.1 KB compact, 13.5 KB full).
{
"code": "ok",
"request_id": "0f508ecc-eeed-4ddf-bfbe-b3bc83a1dc86",
"data": { "items": [] },
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 0
},
"warnings": [],
"meta": {
"capability": "wechat.miniprograms.search",
"result_status": "empty",
"fetched_at": "2026-10-29T09:50:10.000Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.1",
"currency": "USD",
"balance_after": "9.9"
}
}
}From a recording of 2026-10-29 09:50 UTC, edited by hand to show this case. The request ID and balance are made up.
Size as sent: 409 B in the standard view (409 B compact, 409 B full).
curl -G "https://api.dataxapi.com/v1/wechat/miniprograms/search" \ --data-urlencode "query=外卖" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
# pip install dataxapi from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.wechat.miniprograms.search(query="外卖") print(result["data"]["items"])
// npm i @dataxapi/sdk import { DataXAPI } from "@dataxapi/sdk"; const dx = new DataXAPI(); // reads DATAXAPI_API_KEY const result = await dx.wechat.miniprograms.search({ query: "外卖" }); console.log(result.data.items);
dataxapi call wechat.miniprograms.search 'query=外卖'{
"mcpServers": {
"dataxapi": {
"type": "http",
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${DATAXAPI_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call wechat.miniprograms.search.
Parameters
Search terms. Example: 外卖.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
Return only these fields. Each by its path, such as author.name.
Known limits
- About 25 items a page, 40 at most. The page size is the platform's;
limitis not accepted. - Everything comes in one page; no cursor is issued.
Returned fields
data.items is a list of mini program objects. Preview: the structure may change, announced beforehand.
Original ID (starting with gh_)
AppID (starting with wx), used to open or link to the mini program; null where the platform gives none
Name
Description
Long text: the compact view keeps the first 500 characters and says so in warnings.
Icon
The owner's name: the company or body that runs it
Show all 12 fields →
Whether the owner is verified
How many people used it lately, as the platform shows it; one shown like 1万+ is a lower bound; null where it shows none
Whether it is a mini game
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
Approximate, or a lower boundapproximatelower_bound
Typical size of one item: compact 315 B, standard 537 B, full 537 B (measured on the response recorded 2026-10-29 09:50 UTC).
When you are charged
X-Max-Price to refuse anything above your own limit)Prices as read 2026-10-30 14:10 UTC, under price book 6, in effect since 2026-10-29 13:23 UTC; the Playground reads the price in force before a run.
Errors
What this endpoint can answer with; codes all endpoints share are on the full list.
invalid_paramsA parameter is invalidRetry: After a fixNoinsufficient_balanceThe balance is too lowRetry: After a fixNoupstream_failedThe data source failedRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
How much does the WeChat mini program search API cost?
$0.1 per call. The most one call can cost is $0.1.
When am I not charged?
Errors and timeouts are not charged; an empty result is charged $0.1.
How many items does one call return, and how do I get the next page?
About 25 items a page, 40 at most. The page size is the platform's; limit is not accepted. Everything comes in one page; no cursor is issued.
30-day availability
13 days are on record. The share is written here once 14 days are.
It is not a success rate: how single calls went is not in it, and a failed call is not charged either way.
Every endpoint's state now, and each incident with whether anyone was charged: the status page →
All 5 WeChat Search endpoints
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call wechat.miniprograms.search.Other clients →Show the text
Use the DataXAPI endpoint wechat.miniprograms.search (WeChat mini program search). 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. Call GET https://api.dataxapi.com/v1/wechat/miniprograms/search with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code. Parameters: - query (required): Search terms. Example: 外卖. - view: How much of each item to return. All three cost the same. Values: compact, standard (default), full. - fields: Return only these fields. Each by its path, such as author.name. Price: $0.1 per call. Errors and timeouts are not charged; an empty result is charged $0.1. The answer is JSON: data.items holds mini program; meta.billing.amount is what this call was charged. Example: curl -G "https://api.dataxapi.com/v1/wechat/miniprograms/search" \ --data-urlencode "query=外卖" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" Full reference in Markdown: https://dataxapi.com/apis/wechat/miniprograms/search.md
Names and identifiers
- In Chinese
- 微信小程序搜索 API
- Endpoint ID
wechat.miniprograms.search- Endpoint
GET /v1/wechat/miniprograms/search
Start with one key.
224 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.