
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
tiktok-search-api
Advanced tools
npm install tiktok-search-api
import { TikTokSearch } from 'tiktok-search-api'
const results = await TikTokSearch(keyword, ttwid, pageCount)
Here is a sample of the results. The results are an array of video objects with the most important parts being the item.id (video id) and the author object where you can find the author uniqueId among other things
[{
type: 1,
item: {
id: '7202140515909782790',
desc: 'Retraite 3days 🤍🙌🏾#fypシ #christiantiktok #God #retraitespirituelle ',
createTime: 1676879023,
video: [Object],
author: [Object],
music: [Object],
challenges: [Array],
stats: [Object],
duetInfo: [Object],
originalItem: false,
officalItem: false,
textExtra: [Array],
secret: false,
forFriend: false,
digged: false,
itemCommentStatus: 0,
showNotPass: false,
vl1: false,
itemMute: false,
authorStats: [Object],
privateItem: false,
duetEnabled: true,
stitchEnabled: true,
shareEnabled: true,
stickersOnItem: [Array],
isAd: false,
collected: false
},
common: { doc_id_str: '7202140515909782790' }
},
...
]
Not tested with high page count. It is recommended to start off with a pageCount of 3 - 7. Using higher page counts may give errors.
FAQs
## How to Install
The npm package tiktok-search-api receives a total of 12 weekly downloads. As such, tiktok-search-api popularity was classified as not popular.
We found that tiktok-search-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.