TikTok User Info
Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.
One TikTok profile. query is a handle, @handle, or the profile URL. A video URL belongs on /v2/tiktok/post/info. A hyphen is not a handle. The response includes the name, bio, website, followers, following, likes, and video count.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringTikTok handle, @handle, or profile URL. A video URL belongs on /v2/tiktok/post/info. A hyphen is rejected.
Example:
oddanimalspecimens
@oddanimalspecimens
https://www.tiktok.com/@oddanimalspecimensreturn_page_source?booleanReturn the page HTML instead of the parsed profile. Default false. Example: false
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}. The call is billed once, when the job completes. fields does not apply to asynchronous results.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.
falseSuccessful response
application/json- response
id?stringurl?stringname?stringlikes?integerprivate?booleanwebsite?stringusername?stringverified?booleanfollowers?integerfollowing?integerdescription?stringvideo_count?integercurl -X GET 'https://api.piloterr.com/v2/tiktok/user/info?query=https%3A%2F%2Fwww.tiktok.com%2F%40oddanimalspecimens'{
"id": "6976999329680589829",
"url": "https://www.tiktok.com/@oddanimalspecimens",
"name": "Odd Animal Specimens",
"likes": 78500000,
"private": false,
"website": "https://youtube.com/OddAnimalSpecimens",
"username": "oddanimalspecimens",
"verified": false,
"followers": 3900000,
"following": 9,
"description": "CONTACT: OddAnimalSpecimens@sixteenth.com",
"video_count": 180
}