POST /web/scrape with formats.parse: true and parseParams: {"type": "prebuilt", "parser": "tiktok-followers"} for a profile’s followers, or "parser": "tiktok-following" for the accounts it follows. Read the result in parsed.data, with parsed.type set to the parser name. See the Quickstart for authentication and SDK setup.
Don’t send custom rules with these parsers. For CSS selectors and rules, use the Custom parser.
Request
Use a profile URL,tiktok.com/@{username}. Query parameters are ignored.
Output
Whenparsed.success is true, the parsed output has this shape:
Empty results and errors
A profile with no followers or followed accounts returnsusers: []. A nonexistent profile produces NOT_FOUND. Read parsed.success before using the data. A failed parse has data: null and can coexist with successful outputs. parsed.type remains the requested parser name even when parsing fails. See timeouts and errors for handling failures.