Temporarily unavailable

We are restoring this capability. Until then calls usually fail or return no results; failed calls and empty results are not charged.

POST

API health

24h health
Temporarily unavailable
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Temporarily unavailable

Last 24 hours

Last 30 days

Discover WeChat Mini Programs for a keyword, with name, icon, description, username and whether each one is a mini game. Results describe each listing only: the program is not launched and its internal data stays out of reach. One call returns the first page of results: usually a little over 20 programs, never more than 30, and no next page. limit can only shorten that list. For more, search again with different keyword values and dedupe by id.

Send POST https://api.everyinfra.com/api/v1/social with platform set to wechat_oa and action set to mini_program_search. Price $5.56 per 1,000 requests ($0.005556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

#
Please help me write a data collection script with the EveryInfra WeChat Official Accounts Mini Program search endpoint (wechat_oa/mini_program_search).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to wechat_oa and action to mini_program_search, and put the parameters inside params.
- Required parameters:
  - keyword: Specifies the search term across WeChat Official Account actions, including searching articles (article_search), accounts (account_search), mini programs (mini_program_search), search auto-suggestions (search_suggestions…
- Optional parameters:
  - limit: The most rows to return in this call, an integer from 1 to 30. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. (default: 30)
- Returns a list of records. Main fields of each record: id, name, description, icon_url, username, is_minigame.
- Example request body:
{
  "platform": "wechat_oa",
  "action": "mini_program_search",
  "params": {
    "keyword": "科技"
  }
}
- Price: $5.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYeswechat_oaPlatform identifier, fixed value.
actionbodystringYesmini_program_searchCapability identifier, fixed value.
keywordbody.paramsstringYes-Specifies the search term across WeChat Official Account actions, including searching articles (article_search), accounts (account_search), mini programs (mini_program_search), search auto-suggestions (search_suggestions), and trend indices (wechat_index). It does not search personal WeChat chats.
limitbody.paramsinteger (1–30)No30The most rows to return in this call, an integer from 1 to 30. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "wechat_oa",
  "action": "mini_program_search",
  "params": {
    "keyword": "科技"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
Captured November 7, 2026 at 14:47 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
json
{  "id": "req_…",  "platform": "wechat_oa",  "action": "mini_program_search",  "results": [    {      "id": "wx3107f0a218053d99",      "name": "科技侠智能锁",      "description": "通过手机开锁",      "icon_url": "http://mmbiz.qpic.cn/mmbiz_png/DtMRIk9mzbbKl312P5IibZh3tcdGXahozyGZyMxSLpIJGDgMtX73icAN9BmENBibeFE2xXibO46yoWVWrzpB1IpseQ/640?wx_fmt=png&wxfrom=200",      "username": "g•••p",      "is_minigame": false,      "platform": "wechat_oa"    },    {      "id": "wx674a0dc0f3ef4ff1",      "name": "越弘科技",      "description": "专注于服饰及周边行业15年,专为中小型服饰公司做ERP的公司",      "icon_url": "http://mmbiz.qpic.cn/sz_mmbiz_png/lA9SBFBPsUsiawEyKsftgzKyoB31q17BGeUhyCC9ErRKzDbaM1tKd7xbqZ5KPL6ql60Ztnstk5EXGeCLm0VLPQQ/640?wx_fmt=png&wxfrom=200",      "username": "g•••p",      "is_minigame": false,      "platform": "wechat_oa"    }  ],  "count": 20,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
nameName of the object itself, for account, product and business capabilities.
descriptionSummary or description, usually shorter than text.
icon_urlKeeps the platform's own meaning
usernameUsername (@handle).
is_minigameKeeps the platform's own meaning
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy