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.

GEThttps://api.dataxapi.com/v1/wechat/miniprograms/search
Also known assearch wechat mini programswechat mini program searchfind a wechat mini programweixin mini app searchIn Chinese: 微信小程序搜索 API
Price$0.1/ call · Errors and timeouts are not charged
Returnsup to 40 a pageeverything in one answer, no paging
When an upstream failsRetried for youon the same route, or a backup route; never charged

Try it

Change a value and the request on the right follows.
Run · $0.1

Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 1 calls.

The first 2 rows of a response recorded 2026-10-29 09:50 UTC.
FieldValue
owner_verifiedtrue
is_gamefalse
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).

This example as a JSON file

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

querytextrequired

Search terms. Example: 外卖.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

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; limit is 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.

idtextcompact

Original ID (starting with gh_)

app_idtextcompact

AppID (starting with wx), used to open or link to the mini program; null where the platform gives none

nametextcompact

Name

descriptiontextcompact

Description

Long text: the compact view keeps the first 500 characters and says so in warnings.

icon_urllinkstandard

Icon

owner_nametextcompact

The owner's name: the company or body that runs it

Show all 12 fields →
owner_verifiedyes/nostandard

Whether the owner is verified

recent_usersintegerstandard

How many people used it lately, as the platform shows it; one shown like 1万+ is a lower bound; null where it shows none

is_gameyes/nostandard

Whether it is a mini game

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

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

A result with data$0.1, once per call
An empty result$0.1
Invalid parameters, a failure of ours or of the data source, a timeoutnot charged
CaseCharged
The most one call can cost$0.1 (send 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.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixNo
402insufficient_balanceThe balance is too lowRetry: After a fixNo
502upstream_failedThe data source failedRetry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

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

WeChat Search endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_••••; use it for every DataXAPI call.
DataXAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://dataxapi.com/apis/wechat/miniprograms/search.md and help me use the DataXAPI endpoint wechat.miniprograms.search (WeChat mini program search).
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 →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
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
Last checked 2026-10-30 14:10 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

224 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free