Download the PHP package idammi/tiktok-api without Composer
On this page you can find all versions of the php package idammi/tiktok-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idammi/tiktok-api
More information about idammi/tiktok-api
Files in idammi/tiktok-api
Package tiktok-api
Short Description TikTok API wrapper for PHP
License MIT
Homepage https://github.com/idammi/tiktok-api
Informations about the package tiktok-api
TikTok Private API
This library gives access to exclusive TikTok API functions: login, like, follow, comment, getting user (profile, followers, following, videos), upload, getting videos from hashtag, searching for sounds, search for users.Installation via Composer
composer require idammi/tiktok-api
Usage
Available methods
login
- Login user/resume logged in sessionlogin($username, $password)
getComments
- Get comments on a postgetComments($awemeId, $cursor)
getUserFeed
- Get user postsgetUserFeed($secUserId, $cursor)
getUserFollowers
- Get user followersgetUserFollowers($secUserId, $max_time)
getUserFollowing
- Get user followinggetUserFollowing($secUserId, $max_time)
getChallenge
- Get challenge feedgetChallenge($ch_id, $cursor)
getMusic
- Get Music feedgetMusic($music_id, $cursor)
getUserInfo
- Get user infogetUserInfo($secUserId)
search
- General searchsearch($keyword)
Example Login Response
API Access Key Usage
You can use in the request header or use in the request parameter.
Private API backend functionalities
-
Device registration for registering
device_id
,install_id
also known asiid
anddid
.- Proper
trace-id
header generation. - Proper
X-Gorgon
andX-Khronos
header generation. - Proper
TTEncrypt
ing of data (v05). - Proper
XLog
ing of registered device_id (v02).
- Proper
- Account Login
- Complete device registration when logging in for the first time.
- Account Login with username/password.
- Automated captcha solver.
How does this work?
Monthly subscription of my private API service is required for this to function.
Subscription service pricing
Package | Cost(per month) | Account Limit | Quota (requests/day) | Quota (requests/month) |
---|---|---|---|---|
Starter | 50 USD | 1 | 5,000 | ~150,000 |
Pro (popular) | 100 USD | 5 | 12,000 | ~360,000 |
Business | 200 USD | 10 | 25,000 | ~720,000 |
Custom | custom pricing | ? | ? | ? |
- These quota counts on successful responses (with status code 200).
Terms and conditions
- You will NOT use this API for marketing purposes (spam, botting, harassment, massive bulk messaging...).
- We do NOT give support to anyone who wants to use this API to send spam or commit other crimes.
- We reserve the right to block any user of this repository that does not meet these conditions.
Legal
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by TikTok or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.
Disclaimer
TikTok is always updating their API endpoints but I will keep updating this library. I take no responsibility if your IP or your acccount gets banned using this API. It's recommended that you use proxy.
If you want, you can reach me on Telegram: https://t.me/dologbonjaye
All versions of tiktok-api with dependencies
sergeykomlev/lazyjsonmapper Version ^2.0.0
guzzlehttp/guzzle Version ^7.0
ext-curl Version *
ext-mbstring Version *
ext-gd Version *
ext-exif Version *
ext-zlib Version *
ext-bcmath Version *