TikTok Video Search API
Search TikTok posts by keyword. Each result includes the caption, view, like, comment and share counts, creator, sound and hashtags. Page through results with the `cursor` from the previous response's `nextCursor`.
- Endpoint
- POST /tiktok/search-videos
- Price
- 1 credit per result
- SDK
- client.tiktok.searchVideos()
- MCP tool
- tiktok_search_videos
curl -X POST "https://api.bridgly.app/tiktok/search-videos" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "street food", "count": 10}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/tiktok/search-videos", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "query": "street food", "count": 10, },)data = response.json()const response = await fetch("https://api.bridgly.app/tiktok/search-videos", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "query": "street food", "count": 10 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.tiktok.searchVideos({ query: "street food", count: 10});if (res.type === "success") { console.log(res.data);}What does the TikTok Video Search API return?
TikTok video search API: search TikTok videos by keyword, with caption, creator, views, likes, comments, shares, sound and hashtags of each result, as JSON. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- Search keywords, for example "street food".
countinteger · 1–30 · default 30- Number of results to return (1–30). Defaults to 30.
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "nextCursor": "string", "videos": [ { "id": "string", "url": "string", "description": "string", "createTime": 0, "language": "string", "duration": 0, "width": 0, "height": 0, "coverUrl": "string", "animatedCoverUrl": "string", "images": [ "string" ], "subtitles": [ { "language": "string", "format": "string", "autoGenerated": true, "url": "string" } ], "stats": { "playCount": 0, "likeCount": 0, "commentCount": 0, "shareCount": 0, "saveCount": 0, "repostCount": 0 }, "author": { "id": "string", "uniqueId": "string", "nickname": "string", "avatarUrl": "string", "signature": "string", "verified": true, "secUid": "string", "privateAccount": true, "followerCount": 0, "followingCount": 0, "heartCount": 0, "videoCount": 0 }, "sound": { "id": "string", "title": "string", "authorName": "string", "original": true, "duration": 0, "coverUrl": "string", "playUrl": "string", "album": "string", "copyrighted": true, "videoCount": 0 }, "hashtags": [ "string" ], "mentions": [ "string" ], "location": { "id": "string", "name": "string", "address": "string", "city": "string", "category": "string" }, "playlistId": "string", "isAd": true, "duetEnabled": true, "stitchEnabled": true } ] }}What can you build with the TikTok Video Search API?
Research topics
See what TikTok shows for a keyword.
Monitor mentions
Find videos that mention your brand or product.
Find creators
Discover accounts making videos about a subject.
TikTok Video Search API questions
Can I search TikTok videos by keyword with an API?
Yes. Send the keywords and page through results with nextCursor. Results come in the order TikTok’s search shows them.
How do I use the TikTok Video Search API?
Send a POST request to https://api.bridgly.app/tiktok/search-videos with query in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.tiktok.searchVideos(). AI agents connected to Bridgly over MCP can call the tiktok_search_videos tool.
How much does the TikTok Video Search API cost?
Costs 1 credit per result returned, with a minimum of 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.00 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More TikTok endpoints
The same API key works on every endpoint. See all TikTok API endpoints.
- TikTok Video API→TikTok video API: get any public TikTok video or photo post by ID as JSON, with caption, views, likes, comments, shares, saves, creator, sound and subtitles.
- TikTok Hashtag API→TikTok hashtag API: look up any TikTok hashtag by name and get its total views, number of videos, description and ID, as JSON.
- TikTok Hashtag Videos API→Find TikTok posts using a hashtag, with captions, creators, views, likes, comments and sound details. Pass the hashtag name and paginate with a cursor.
- TikTok Profile API→TikTok profile API: get any TikTok profile by username as JSON, with nickname, bio, avatar, follower and like counts, verified and private flags and IDs.
Try the TikTok Video Search API
100 free credits on business email, no card. Your first call takes a minute.