WeChat Index · Search

Search suggestions (autocomplete words)

Send keywords; get one record per keyword with the autocomplete words WeChat shows in its search box, in WeChat's order.

POST/v1/wechat-index/suggestions

$0.1196per record

a record, minimum counted
≈ $0.142947
1,000 records
≈ $142.947
minimum per record fetched
$0.142947

Paid balance onlyOne request, no cursor

Try it in the console

Send it

POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.

curl -X POST "https://api.silklinedata.com/v1/wechat-index/suggestions" \
  -H "Authorization: Bearer $SILKLINE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"keywords":["咖啡"]}'

What comes back

Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.

200 OK · fetched 2026-11-09
{
  "data": [
    {
      "type": "suggestions",
      "keyword": "咖啡",
      "suggestionCount": 10,
      "suggestions": [
        "咖啡",
        "咖啡瑞幸",
        "咖啡库迪"
      ]
    }
  ],
  "cursor": null,
  "meta": {
    "request_id": "req_01JD8Q…",
    "charged_usd": "0.142947",
    "balance_usd": "9.875000",
    "items": 1
  }
}

Fields 4

FieldTypeExample value
typestringsuggestions
keywordstring咖啡
suggestionCountnumber10
suggestionsarray["咖啡","咖啡瑞幸","咖啡库迪"]

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
keywordsarrayyesKeywords to look up, Chinese works best (for example 咖啡 or 新能源汽车). One record per keyword, in the order given. Leave it empty to use 咖啡 (coffee).["咖啡"]

Paging

This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.

What a request costs

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.

Here each record is fetched on its own; the minimum is $0.142947 for each.

  • 1 record: up to $0.142947
  • 20 records: up to $2.85894
  • 100 records: up to $14.2947

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Search suggestions (autocomplete words) take?

Required: keywords. Every request also takes limit (1 to 100).

How many records does one request return?

Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.

Can I page through more results?

No. This endpoint answers in full in one request; the answer's cursor is null.

How much does it cost?

Per record: record $0.1196. The minimum is $0.142947 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $14.2947.

What does a request cost when it fails or comes back empty?

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.