POST /web/scrape with formats.parse: true and parseParams: {"type": "prebuilt", "parser": "tiktok-user-search"}. Read the result in parsed.data, with parsed.type set to "tiktok-user-search". See the Quickstart for authentication and SDK setup.
Don’t send custom rules with this parser. For CSS selectors and rules, use the Custom parser.
Request
Use a user search URL,tiktok.com/search/user?q={query}, with a non-empty q. For videos that match a query, use TikTok feed with a tiktok.com/search?q={query} URL.
Output
Whenparsed.success is true, the parsed output has this shape:
User fields
like_count is the total likes across the account’s videos, and sec_uid is TikTok’s stable profile identifier. For full profile fields, pass tiktok.com/@{username} to TikTok profile.
Empty results and errors
A query with no matching accounts returnsusers: []. Read parsed.success before using the data. A failed parse has data: null and can coexist with successful outputs. parsed.type remains "tiktok-user-search" even when parsing fails. See timeouts and errors for handling failures.