# Douyin and Xiaohongshu search box suggestions (autocomplete) by API, in bulk (2026)

Douyin's is douyin.keywords.related and Xiaohongshu's xiaohongshu.keywords.related: send 1 keyword and get the about 10 suggestions that platform's search box lists for it, with their places, at $0.0200 a call each; WeChat Search's is wechat.keywords.related. The free trial covers up to 333 calls; a failed call is not charged.

Updated 2026-11-07

## Which endpoint for each platform

All three answer in one shape: `keyword` is the suggestion, `related_to` the word you asked about, `rank` its place in the box (from 1, the word asked about not counted). Words and places only, with no index; a word with no suggestions returns an empty result.

| Platform | Endpoint | Price |
| --- | --- | --- |
| Douyin | `douyin.keywords.related` | $0.0200 |
| Xiaohongshu | `xiaohongshu.keywords.related` | $0.0200 |
| WeChat Search | `wechat.keywords.related` | $0.1 |

## How do suggestions differ from related keywords?

Suggestions are what the platform completes as people type, which tells what they search. The related keywords of the platforms' tools are another thing: `douyin.index.keywords.related` is Ocean Engine's related words, with relevance and index; `xiaohongshu.pgy.keywords.related` is the words PGY users search before and after a word, with a search index. Both serve finding topics: widen the words with suggestions, then weigh them by index.

## How do I get them in bulk?

In an AI: “Get the Douyin and Xiaohongshu search box suggestions of these 30 words and make one table: platform, word, suggestion, place.” It calls once a word a platform. A script is the same loop.

To connect: paste this to your AI assistant: “Read https://dataxapi.com/agents.md and set up DataXAPI here. My API key is dx_…; use it for every DataXAPI call.” A client that takes a remote MCP server can be given `https://api.dataxapi.com/mcp` with the header `Authorization: Bearer <key>` instead.

## Why DataXAPI

- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 2.5 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 226 endpoints, one recorded real response each, the platform's own JSON comes to 9.2M tokens and what an AI reads through DataXAPI's MCP server to 452k, 95% fewer; the JSON of a direct API call is 90% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.dataxapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [Douyin search suggestions](https://dataxapi.com/apis/douyin/keywords/related/) ($0.0200 / a call): Get the suggestions Douyin's search box lists as a keyword is typed into it (autocomplete), in the order it lists them, about 10 at a time. The words and their places only, with no index.
- [Xiaohongshu search suggestions](https://dataxapi.com/apis/xiaohongshu/keywords/related/) ($0.0200 / a call): Get the suggestions Xiaohongshu's search box lists as a keyword is typed into it (autocomplete), in the order it lists them, about 10 at a time. The words and their places only, with no index.
- [WeChat Search suggestions](https://dataxapi.com/apis/wechat/keywords/related/) ($0.1 / a call): Get the suggestions WeChat Search lists in its search box for a keyword, in the order it lists them, about 10 at a time. The words and their places only, with no index.
- [Douyin trend-index related keywords](https://dataxapi.com/apis/douyin/index/keywords/related/) ($0.0020 / a call): Get the keywords related to a keyword on Douyin in one week, from the platform's own keyword tool: those searched together with it and those that appear with it in content, each with its relevance, its place by relevance, its search index and its composite index. An index is the platform's score of volume, not a count of searches.
- [Xiaohongshu PGY related keywords](https://dataxapi.com/apis/xiaohongshu/pgy/keywords/related/) ($0.0400 / a call): Get what people search on Xiaohongshu before and after a keyword, from the platform's creator marketplace, each with its place by relevance, its search index, the notes about it and their reads: for expanding a seed keyword. The search index is the platform's index, not a count of searches; for a word the platform gives no figures for, these are null.

## More about Douyin

- [Douyin API](https://dataxapi.com/apis/douyin/)
- [Xiaohongshu (RedNote) API](https://dataxapi.com/apis/xiaohongshu/)
- [WeChat Search API](https://dataxapi.com/apis/wechat/)
- [Douyin trend-index API](https://dataxapi.com/apis/douyin/index/)
- [Xiaohongshu PGY API](https://dataxapi.com/apis/xiaohongshu/pgy/)
- [How do I export Douyin data?](https://dataxapi.com/answers/export-douyin-data/)
- [What is sec_uid on Douyin, and how is it different from uid and the Douyin ID?](https://dataxapi.com/answers/douyin-sec-uid/)
- [What are aweme_id and modal_id on Douyin, and what is a v.douyin.com link?](https://dataxapi.com/answers/douyin-aweme-id-modal-id/)
- [Is the Douyin search index a number of searches?](https://dataxapi.com/answers/douyin-search-index-vs-search-count/)
- [What is the Douyin keyword index (Ocean Engine)?](https://dataxapi.com/answers/what-is-douyin-keyword-index-ocean-engine/)
- [What is Douyin Xingtu?](https://dataxapi.com/answers/what-is-douyin-xingtu/)
- [Can Douyin's open platform read other people's videos and comments? (2026)](https://dataxapi.com/answers/douyin-open-platform-api/)
- [How do I check a keyword's heat on Douyin and Xiaohongshu before advertising? (2026)](https://dataxapi.com/answers/douyin-xiaohongshu-keyword-heat/)
- [How do I export all of a Douyin creator's video data? (2026)](https://dataxapi.com/answers/export-douyin-creator-videos/)
- [How do I export Douyin comments in bulk to find what users want? (2026)](https://dataxapi.com/answers/export-douyin-comments-user-needs/)
- [How do I find Douyin videos that took off from small accounts, and can I pull them in bulk? (2026)](https://dataxapi.com/answers/douyin-low-fan-viral-videos/)
- [What are a_bogus and X-Bogus on Douyin? (2026)](https://dataxapi.com/answers/douyin-a-bogus-x-bogus/)
- [What is msToken on Douyin? (2026)](https://dataxapi.com/answers/douyin-mstoken/)
- [Which Douyin API should I use for search, accounts and comments? (2026)](https://dataxapi.com/answers/which-douyin-api-to-use/)
- [How do I pull Douyin's hot-topic data by program? (2026)](https://dataxapi.com/answers/douyin-hot-topics-by-program/)
- [How do I use AI to audit and review an account? (2026)](https://dataxapi.com/answers/ai-account-audit-and-review/)
- [How do I filter Xingtu creators in bulk and see their rates? (2026)](https://dataxapi.com/answers/douyin-xingtu-creators-bulk-filter/)
- [What is ttwid on Douyin? (2026)](https://dataxapi.com/answers/douyin-ttwid/)
- [What are verifyFp and s_v_web_id on Douyin? (2026)](https://dataxapi.com/answers/douyin-verifyfp-s-v-web-id/)
- [How do I convert a Douyin sec_uid to a uid, and back? (2026)](https://dataxapi.com/answers/douyin-sec-uid-to-uid/)
- [Douyin API for developers: third-party Douyin data APIs and what they return (2026)](https://dataxapi.com/answers/douyin-third-party-data-apis/)
- [Douyin MCP server for Claude and Cursor (2026)](https://dataxapi.com/answers/douyin-mcp/)
- [Creator (KOL) data from Douyin and Xiaohongshu: profiles, posts and rates (2026)](https://dataxapi.com/answers/douyin-xiaohongshu-creator-data/)
- [Chinese social media marketing data tools: official tools and APIs (2026)](https://dataxapi.com/answers/chinese-social-media-marketing-data-tools/)
- [Which social media data API is best for AI agents? Count the tokens a response takes (2026)](https://dataxapi.com/answers/social-media-api-for-ai-agents/)
- [Social media API responses fill the AI's context and burn tokens: what to do](https://dataxapi.com/answers/api-response-too-many-tokens/)
- [Douyin, WeChat and Xiaohongshu data in Claude Code and Codex (2026)](https://dataxapi.com/answers/claude-code-codex-china-social-data/)
- [How many tokens does a social media API response take in an AI? Every endpoint measured (2026)](https://dataxapi.com/answers/social-media-api-token-benchmark/)
- [Douyin API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://dataxapi.com/answers/douyin-api-for-ai-agents/)
- [Douyin video download URL: getting a video's play address by API (2026)](https://dataxapi.com/answers/douyin-video-play-url-api/)
- [Douyin video completion rate and plays: Xingtu's video report by API (2026)](https://dataxapi.com/answers/douyin-video-completion-rate/)
- [How to get Douyin keyword trends in bulk](https://dataxapi.com/guides/douyin-keyword-trends/)
- [How to export Douyin video comments in bulk](https://dataxapi.com/guides/douyin-video-comments/)
- [How to look up a Douyin creator's Xingtu rate card](https://dataxapi.com/guides/douyin-xingtu-creator-rates/)
- [Does Douyin have an API? Get videos and comments with Python (2026)](https://dataxapi.com/guides/douyin-api-python/)
- [SocialCrawl alternative for Douyin, Xiaohongshu and WeChat data](https://dataxapi.com/compare/socialcrawl-alternative/)
- [How to choose a social media data API: failed-call charges, MCP and Chinese platforms](https://dataxapi.com/compare/social-media-data-apis/)

---

Catalog revision 9d3b7fa5a896745d. [HTML version](https://dataxapi.com/answers/douyin-xiaohongshu-search-suggestions-api/)
