TikTok Keyword Suggestions & Autocomplete Scraper
Pricing
from $1.12 / 1,000 item extracteds
TikTok Keyword Suggestions & Autocomplete Scraper
Get TikTok search autocomplete keyword suggestions for any topic, localized by country through real local IPs. A–Z, 0–9 and question expansion, keyword trees up to 2 levels, ranks and metadata. No made-up volume.
Pricing
from $1.12 / 1,000 item extracteds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
12
Total users
4
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Turn seed topics into ranked TikTok keyword suggestions (TikTok search autocomplete) for social SEO, short-form video ideas and repeatable content planning. The Actor asks TikTok's public search-preview endpoint from a real IP in the country you choose, so you get the phrases people in that country see, and exports each phrase with its rank, query context, search link and public metadata.
- Per-country results: requests exit through a residential proxy in your
region(US, GB, DE, BR …). TikTok localizes autocomplete by IP, not by a request parameter. - Long-tail at scale: A–Z, 0–9 and question expansion, plus keyword trees up to 2 levels deep (
expansionDepth), up to 5,000 phrases per run. - Fast: queries run 10 at a time.
- Honest data: TikTok's own rank and flags; no invented volume score.
It does not estimate or claim search volume. TikTok's preview response does not provide volume, so the output keeps source rank and public metadata separate from unsupported estimates.
What does TikTok Keyword Suggestions Scraper do?
Provide plain keywords, TikTok search URLs, or both. The Actor extracts the search URL query, optionally expands each seed, requests autocomplete suggestions, deduplicates phrases within each seed, and saves typed rows to the default dataset.
Use a base query for a quick snapshot, A–Z or A–Z/0–9 suffixes for long-tail research, question prefixes for educational content ideas, or full for all of them. Set expansionDepth to 1 or 2 to send every new phrase back to TikTok and build a keyword tree. maxItems places a hard limit on saved (and charged) results.
Who is it for?
- Social SEO specialists building topic and caption research sheets.
- Creators turning broad themes into specific video ideas.
- Content strategists comparing autocomplete snapshots on a schedule.
- Agencies preparing repeatable briefs across several client topics.
- Data teams feeding public phrase suggestions into spreadsheets or pipelines.
Why use this Actor?
The dataset preserves both the original seed and the exact expansion query, so every phrase has traceable context. It also distinguishes TikTok's per-query position (queryRank) from the deduplicated order collected for a seed (seedRank).
The implementation uses lightweight HTTP requests rather than loading video pages or downloading media. Requests run 10 at a time through a residential proxy in your chosen country and are retried on a fresh proxy session after upstream failures. Residential proxy traffic is included in the price.
What data can I extract?
| Field | Meaning |
|---|---|
seedKeyword | Original keyword or query extracted from a TikTok search URL |
query | Exact base or expansion query sent to TikTok |
suggestion | Autocomplete phrase returned by TikTok |
normalizedSuggestion | Normalized phrase used for deduplication |
queryRank | One-based position in the source response for this query |
seedRank | One-based unique result order for the seed |
depth | 0 for the seed and its expansion queries; 1 or 2 when the query was a phrase found one or two levels earlier |
searchUrl | TikTok search URL for the suggestion |
region, language | Country and language requested |
exitCountry | Country of the proxy exit TikTok saw (decides localization); null without Apify Proxy |
suggestionLanguage | Language TikTok assigned to the phrase, when returned |
groupId, wordsSource, suggestionType | Public source metadata when returned |
cutQuery | Source-provided tokenized phrase parts |
recallReason | Source recall labels when returned |
isPersonalized, isHistorySuggestion | Source flags when returned |
fetchedAt | ISO timestamp for the extraction |
Nullable metadata stays null when TikTok omits it.
How to get started
- Open the Actor input page.
- Add one or more real topics under Seed keywords, or add TikTok search URLs.
- Keep Base suggestions only for a fast first run.
- Set the global maximum number of results.
- Choose the country (
region) and language. - Start the run and open the Suggestions dataset view.
- Export the dataset as JSON, CSV, Excel, XML, or RSS through Apify.
The prefilled skincare routine and meal prep topics provide a useful first run.
Input parameters
| Input | Type | Default | Notes |
|---|---|---|---|
keywords | string array | prefilled topics | Up to 100 unique, non-empty seeds |
searchUrls | request list | none | TikTok /search?q=... URLs |
expansionMode | enum | none | none, alphabet, alphanumeric, questions, or full |
expansionDepth | integer | 0 | 0–2; feeds new phrases back as queries (keyword tree) |
maxSuggestionsPerQuery | integer | 10 | Between 1 and 20 |
maxItems | integer | 20 | Global output limit from 1 to 5,000 |
deduplicateAcrossSeeds | boolean | false | Save a phrase only once across all seeds |
region | string | US | Two-letter country code; requests exit through a proxy in this country |
language | string | en-US | Language hint such as en, en-US, or es |
proxyConfiguration | object | Residential Apify Proxy | Keep the default for per-country results; without a proxy the country has no effect |
At least one valid keyword or TikTok search URL is required. Invalid URLs without a q parameter do not become seeds.
Expansion modes
none: one TikTok request for each seed.alphabet: base query plusseed athroughseed z.alphanumeric: base query plus A–Z and 0–9 suffixes.questions: base query plushow,what,when,where, andwhyprefixes.full: questions, A–Z and 0–9 together (42 queries per seed).
expansionDepth: 1 sends every new phrase from that first level back to TikTok as its own query; 2 repeats this once more. One seed in alphabet mode gives about 200 phrases at depth 0 and well over 1,000 at depth 1. Results are deduplicated for each seed (or across seeds with deduplicateAcrossSeeds). The Actor stops asking TikTok when maxItems is reached.
Example input
{"keywords": ["skincare routine", "meal prep"],"expansionMode": "none","maxSuggestionsPerQuery": 10,"maxItems": 20,"region": "US","language": "en-US"}
A long-tail keyword tree for the UK market:
{"keywords": ["skincare routine"],"expansionMode": "questions","expansionDepth": 1,"maxItems": 300,"region": "GB","language": "en-GB"}
A source-URL workflow can instead use:
{"searchUrls": [{ "url": "https://www.tiktok.com/search?q=budget%20travel" }],"maxItems": 10}
Example output
This abbreviated row reflects the current output shape from a local source-backed run:
{"seedKeyword": "meal prep","query": "meal prep","suggestion": "meal prep ideas","normalizedSuggestion": "meal prep ideas","queryRank": 1,"seedRank": 1,"depth": 0,"source": "tiktok_search_preview","searchUrl": "https://www.tiktok.com/search?q=meal%20prep%20ideas","region": "US","language": "en-US","exitCountry": "US","suggestionLanguage": "en","groupId": "2042627834678721152","wordsSource": "sug","suggestionType": null,"cutQuery": ["meal", "prep", "ideas"],"recallReason": "tiktok_index_global_active_7d_query","isPersonalized": true,"isHistorySuggestion": false,"fetchedAt": "2026-11-27T12:00:00.000Z"}
Exact phrases and metadata change as TikTok changes its public suggestions.
How much does it cost to extract TikTok keyword suggestions?
Pay-per-event pricing has a $0.005 start fee plus the active tier's price for each unique suggestion saved. At the BRONZE rate of $0.00186 per suggestion:
- 10 suggestions cost about $0.0236 including the start fee.
- 100 suggestions cost about $0.191 including the start fee.
- 1,000 suggestions cost about $1.865 including the start fee.
Higher platform tiers receive lower per-suggestion rates. Failed, duplicate, empty, and unsaved candidate rows do not create item charges, a run with bad input costs nothing, and a valid run that finds no suggestions pays only the start fee. Apify compute and residential proxy traffic are included; check the live pricing tab for your tier before a large run.
From December 12, 2026 the price moves onto our standard plan curve: $0.00186 per suggestion on the Free and Starter (BRONZE) plans, $0.001674 on Scale (SILVER) and $0.001488 on Business (GOLD) and higher. The start fee stays $0.005.
Schedule recurring social SEO research
Create an Apify Schedule with stable seeds and expansionMode: "none" for compact snapshots. Export each run to your warehouse, compare by normalizedSuggestion, and identify added, removed, or rank-shifted phrases downstream.
The Actor reports the current response only. It does not maintain history, calculate changes, or send alerts itself. Apify integrations or your own workflow should perform those steps.
Export to spreadsheets and data pipelines
Use Apify's dataset integrations to send rows to Google Sheets, Make, Zapier, webhooks, or cloud storage. A practical flow is:
- Run broad seeds in base mode.
- Select promising returned phrases.
- Run selected phrases with alphabet expansion.
- Export
seedKeyword,query,suggestion, and ranks. - Add editorial priority and campaign ownership in your destination system.
CSV is convenient for editorial review; JSON preserves booleans, arrays, and null values.
Run through the Apify API with cURL
Replace YOUR_TOKEN with your Apify API token:
curl -X POST \"https://api.apify.com/v2/acts/automation-lab~tiktok-keyword-suggestions/runs?token=YOUR_TOKEN&waitForFinish=120" \-H "Content-Type: application/json" \-d '{"keywords":["home workout"],"expansionMode":"none","maxItems":10}'
Fetch results from the run's defaultDatasetId, or use the synchronous dataset-items endpoint when appropriate.
JavaScript API example
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('automation-lab/tiktok-keyword-suggestions').call({keywords: ['small business marketing'],expansionMode: 'alphabet',maxItems: 50,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python API example
from apify_client import ApifyClientclient = ApifyClient("YOUR_TOKEN")run = client.actor("automation-lab/tiktok-keyword-suggestions").call(run_input={"keywords": ["budget travel"],"expansionMode": "questions","maxItems": 30,})items = client.dataset(run["defaultDatasetId"]).list_items().itemsprint(items)
Use with MCP and AI agents
Add the Actor to Claude Code through Apify MCP:
claude mcp add --transport http apify \"https://mcp.apify.com?tools=automation-lab/tiktok-keyword-suggestions"
For Claude Desktop, Cursor, and VS Code, add this equivalent JSON configuration to the client's MCP settings:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=automation-lab/tiktok-keyword-suggestions"}}}
Example prompts:
- "Find current TikTok autocomplete phrases for meal prep and home workouts."
- "Expand small business marketing with A–Z suffixes and return at most 50 rows."
- "Use this TikTok search URL as a seed and group the results by exact query."
- "Build a 2-level TikTok keyword tree for 'budget travel' in Brazil (region BR, language pt-BR)."
Limits and reliability
TikTok can change, throttle, localize, or remove its anonymous preview endpoint. The Actor uses bounded retries and fails visibly if the source response is blocked or malformed; it does not turn an upstream failure into a successful empty dataset.
TikTok localizes autocomplete by the visitor's IP. By default the Actor sends every request through a residential Apify Proxy exit in your region, and each row records that exitCountry. If you turn the proxy off, TikTok answers for the Actor server's location and region has no effect. Autocomplete is dynamic, and repeated runs can differ. Some valid topics naturally return few suggestions. A query that fails after retries is skipped and not charged; the final status message says how many rows were saved against maxItems and why the run stopped.
The Actor does not scrape videos, profiles, comments, hashtags, engagement metrics, trend history, or search volume.
Responsible use and legality
Only public anonymous suggestion data is requested. Use the output in accordance with TikTok's terms, applicable law, and your organization's policies. Avoid excessive expansion, respect intellectual property, and do not use suggestions to infer sensitive traits about individuals.
You are responsible for deciding whether your intended collection and downstream use are lawful. This Actor is a technical data-extraction tool, not legal advice.
Troubleshooting
Why did my run return no results?
Check that the seed is a public, meaningful topic. Try base mode with a common phrase. If TikTok is temporarily throttling or changing its response, rerun later rather than increasing expansion immediately.
Why does a TikTok search URL not work?
It must use tiktok.com/search and include a non-empty q query parameter. Copy the full URL rather than a generic TikTok home page.
Why are there fewer rows than maxItems?
maxItems is a ceiling, not a promise. TikTok may return fewer suggestions, and duplicates within the same seed are saved only once. For more phrases, use a wider expansionMode or set expansionDepth to 1 or 2. The run's status message shows "Got X of Y" and the reason.
FAQ
Does this include TikTok search volume? No. The public preview response does not provide search volume, and the Actor does not invent a volume proxy.
Is queryRank a volume score? No. It is the phrase's one-based position in the exact autocomplete response.
Can I combine keywords and search URLs? Yes. Valid seeds from both inputs are normalized and deduplicated.
Can I get results for a specific country? Yes. Set region (for example GB or BR) and keep the default residential proxy; requests exit from that country, and exitCountry on each row confirms it.
Is there a volume or popularity score? No. TikTok's response has no volume, and we do not invent one. Use queryRank (TikTok's own order) and how often a phrase appears across expansion queries as signals.
Are duplicates charged? No. An item event is charged only for a unique row accepted and saved for a seed.
Related automation-lab Actors
Use TikTok Comments Scraper when your workflow starts from known videos and needs public comment records. Use TikTok Trends Scraper for supported trend-list workflows rather than autocomplete expansion.
These Actors solve separate jobs. This Actor remains focused on seed-to-autocomplete discovery and can provide phrases for downstream research.
Diagnostics and privacy
When a run fails, this Actor sends sanitized diagnostic input, the error, and the Actor, build and run IDs to our private GlitchTip service so we can repair it. Secret fields and URL query strings are removed, and reports are kept for 30 days.
Server API: get one keyword's suggestions over HTTP
TikTok Keyword Suggestions Scraper is also a Server Actor. Besides normal runs, it answers short HTTP requests directly, without starting a run for each keyword. Copy the server URL from the Actor's Server tab (do not build it from the Actor name) and authenticate with your Apify token. Use normal Actor runs for many keywords, keyword trees (expansionDepth) and up to 5,000 rows.
curl -sS "$SERVER_URL/suggestions?keyword=meal%20prep" -H "Authorization: Bearer $APIFY_TOKEN"curl -sS "$SERVER_URL/suggestions?keyword=skincare%20routine®ion=GB&language=en-GB&expansionMode=questions" -H "Authorization: Bearer $APIFY_TOKEN"
| Method and path | Input | Output and charge |
|---|---|---|
GET / | None | ready: true, the routes and limits; no scraping or charge |
GET /suggestions | Query keyword: one seed keyword (up to 200 characters); optional region (two letters; default US; the request exits through a residential IP there), language (such as en, en-US or es; default en-US), expansionMode (none 1 query, questions 6, alphabet 27, alphanumeric 37, full 42; default none), maxSuggestionsPerQuery (1–20; default 10) | {ok,count,results} with one row per unique phrase, the same record as a normal dataset item at depth 0; one item event per row; no start fee |
A keyword with no suggestions returns an error and is free. Each request has a 45-second deadline and a 1 MiB response cap, and one server works on at most six requests at once. Nothing is cached. Errors use { "ok": false, "error": { "code": "...", "message": "...", "retryable": false } }: 400 INVALID_INPUT; 402 spending limit; 404 NO_SUGGESTIONS or unknown route; 405 wrong method; 413 RESPONSE_TOO_LARGE; 502 UPSTREAM_ERROR or charging failure; 503 server busy or stopping; 504 TIMEOUT. Failed requests are free. Retry only when retryable is true. The Server tab shows the full OpenAPI description.