Get hashtag or keyword suggestions
get_suggestionsGet hashtags with view counts or related search keywords around a seed word to choose high-reach captions and discover next video topics on TikTok.
Instructions
What to write about: the hashtags or the searches a network suggests around a word. One endpoint for both questions, told apart by type, and one endpoint for every network, chosen with platform. type: 'hashtags' returns { hashtags: [{ name, view_count }] } — pick tags that actually have reach for a caption; type: 'keywords' returns { keywords: [...] }, what people really search around q, useful for the next video topic. Requires the 'profile_analytics' capability on the profile's TikTok account (see the capabilities array in list_users). Keyword suggestions need 'trend_search' instead, granted the same way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Seed word to get suggestions around, e.g. 'coffee recipe'. Without the '#'. | |
| type | Yes | Which suggestions to ask for: 'hashtags' (with view counts) or 'keywords' (related searches). | |
| user | Yes | Upload-Post profile name. | |
| language | No | Language code for the results, e.g. 'es' or 'en'. | |
| platform | Yes | Which connected network answers the question. Any other value comes back as a 400 `platform_not_supported` listing the ones that do. | |
| countryCode | No | ISO 3166-1 alpha-2 country to rank the suggestions for, e.g. 'ES' or 'US'. Sent as `country_code`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |