<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/wechat/">WeChat Search</a></p>

# WeChat Search suggestions API

The suggestions WeChat Search lists as a keyword is typed, about 10, in the order shown.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/wechat/keywords/related` |
| ID | `wechat.keywords.related` |
| Price | **$0.10** / call |
| Returns | A page of Trend objects |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `keyword` | string | yes | Search keyword |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.items` is a list of Trend objects, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `rank` | number | Rank; 0 means pinned |
| `platform` | string | Platform |
| `keyword` | string | Term |
| `heat` | number \| null | Heat (each platform counts its own way) |
| `label` | string \| null | Label, such as pinned or hot |
| `url` | string \| null | Search link on the platform |

## When you are charged

$0.10 per call that returns the list. An empty list (the platform did not answer), platform errors and timeouts are free; just retry.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/wechat/keywords/related?keyword=%E9%9C%B2%E8%90%A5" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/wechat/keywords/related",
    params={"keyword": "露营"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/wechat/keywords/related?keyword=%E9%9C%B2%E8%90%A5", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "wechat.keywords.related",
  "params": {
    "keyword": "露营"
  },
  "max_price": "0.10"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "rank": 1,
        "platform": "wechat",
        "keyword": "露营",
        "heat": null,
        "label": null,
        "url": null
      },
      {
        "rank": 2,
        "platform": "wechat",
        "keyword": "露营装备",
        "heat": null,
        "label": null,
        "url": null
      }
    ]
  },
  "page": {
    "next_cursor": null,
    "has_more": false
  },
  "warnings": [],
  "meta": {
    "endpoint": "wechat.keywords.related",
    "platform": "wechat",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.10",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other WeChat Search endpoints

- [WeChat account search](/apis/wechat/accounts/search/)：$0.02
- [WeChat Index](/apis/wechat/index/history/)：$0.10

## Questions

### How much does the WeChat Search suggestions endpoint cost?

$0.10 per call that returns the list. An empty list (the platform did not answer), platform errors and timeouts are free; just retry.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

Just pass a keyword. Official accounts come back with their gh_… ID, Channels accounts with v2_…@finder, mini programs with their gh_… ID.

### How do I get more items?

When the answer has `page.next_cursor`, pass it back as `cursor` for the next page. Each page is billed on its own.

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `wechat.keywords.related`.

---

HTML version: https://feedmcp.com/apis/wechat/keywords/related/
