Piloterr

TikTok User Info

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/tiktok/user/info

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

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

TikTok 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/@oddanimalspecimens
return_page_source?boolean

Return the page HTML instead of the parsed profile. Default false. Example: false

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
id?string
url?string
name?string
likes?integer
private?boolean
website?string
username?string
verified?boolean
followers?integer
following?integer
description?string
video_count?integer
Example Request
curl -X GET 'https://api.piloterr.com/v2/tiktok/user/info?query=string'
Example Response
{
  "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
}