The SeekSocial Unofficial TikTok API allows you to retrieve TikTok Profiles and Posts based on various criteria, such as country, views and follower count etc. This documentation provides information on how to use the API, including its endpoints, request parameters, and response format.
$250/month for unlimited requests
The base URL for making requests to the Seeksocial TikTok Data API is:
<http://app.seeksocial.io/api/tiktok-v2>
Authentication to the API is done using an API key, which must be included in the request payload.
Content-Type: Set to application/json in the headers of your request.You can search from 2 indexes (aka Tables), influencer and post
influencer : TikTok Influencer search. Contains TikTok profiles from every country in the world. ~30 million profiles.post : TikTok content library. Contains videos uploaded by all profiles from influencer index. ~250 million videosHere we search for influencer from Australia & United Kingdom, with email in their bio, follower count greater than 10K and less than 100K and engagement rate 5% to 25% You should append all your queries in the query array.
import requests
url = "<http://app.seeksocial.io/api/tiktok-v2>"
payload = {
"query": [
{"terms": {"country": ["AU", "GB"]}},
{"term": {"email_exist": True}},
{"range": {"follower_count": {"gte": 10000, "lte": 100000}}},
{"range": {"engagement_rate": {"gte": 5, "lte": 25}}},
],
"page": 0,
"index": "influencer",
"api_key": "<API_KEY>",
}
headers = {'Content-Type': 'application/json'}
response = requests.post(url, headers=headers, json=payload)
print(response.json())