{"agent":{"expose":"search","prompt":"Use Crawl4AI to get tikTok videos for a search."},"also":["search videos","videos about a topic","find tiktoks","keyword search"],"beta":true,"call":{"aliases":["POST /recipes/tiktok-search"],"method":"POST","path":"/tools/tiktok-search"},"categories":["social","video"],"cost":{"cases":[{"price":"0.5 credit","when":"A page"},{"price":"3 credits","when":"A record from the second source, only when our roads find no video"},{"price":"free","when":"A run with no row"}],"rule":"0.5 credit a page · 3 credits a record from the second source, only when our roads find no video · a run with no row is free","text":"0.5 cr a page"},"description":"TikTok videos for a keyword search, one row per video: its text and hashtags, when it was posted, the author, plays, likes, comments, shares and saves, length, cover and sound. `query` is the search words; `limit` how many videos (default 20, at most 100). The videos come from TikTok's public keyword pages, about 4 to 8 s for 20, each holding all the query's words. A query with no keyword page tries TikTok's suggestions, then our search of tiktok.com (a video TikTok does not show in time has no counts). When none finds a video, a second source answers (15 s to minutes: run it as a job).","docs":"/tools/tiktok-search","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"author":{"followers":924000,"name":"the sapor","username":"thesapor"},"cover":"https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oMDRIS…","created_at":"2026-04-12T16:46:53Z","description":"Garlic Parmesan chicken pasta ✨ Ingredients  Chicken  - 1.5 lbs chick…","duration_s":60.0,"hashtags":["recipes","pasta","…"],"music":{"author":"The Flamingos","id":"7382529581272172560","original":false,"title":"I only have eyes for you"},"post_id":"7627915104280956174","stats":{"comments":3073,"likes":1700000,"plays":25100000,"saves":710305,"shares":376900},"url":"https://www.tiktok.com/@thesapor/video/7627915104280956174"},{"author":{"followers":331900,"name":"natashaskitchen","username":"natashaskitchen"},"cover":"https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oMWwIh…","created_at":"2026-08-19T19:17:56Z","description":"The 2 Ingredient Pasta Dough I learned in Italy 🇮🇹 🤌 Recipe: https://…","duration_s":41.0,"hashtags":["pasta","pastadough","…"],"music":{"author":"Beatriz Camacho","id":"7623292986750798606","original":true,"title":"sonido original"},"post_id":"7675824022822604045","stats":{"comments":147,"likes":14900,"plays":727900,"saves":4636,"shares":859},"url":"https://www.tiktok.com/@natashaskitchen/video/7675824022822604045"}],"took_ms":9646,"tool":"tiktok-search","usage":{"credits":18}},"credits":18,"more":4,"rows":6,"took_ms":9646},"input":{"limit":20,"query":"cooking"},"label":"cooking, 20"},{"input":{"limit":10,"query":"pasta recipe"},"label":"pasta recipe, 10"}],"id":"tiktok-search","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":20,"description":"`limit` how many videos (default 20, at most 100).","type":"integer"},"query":{"description":"`query` is the search words","type":"string"}},"required":["query"],"type":"object"},"inputs":[{"example":"cooking","help":"`query` is the search words","name":"query","required":true,"type":"string"},{"advanced":true,"default":20,"example":20,"help":"`limit` how many videos (default 20, at most 100).","name":"limit","type":"integer"}],"kind":"sites","name":{"lead":"TikTok","rest":"search"},"output":{"fields":[{"meaning":"TikTok's id of the video (digits, as a string).","name":"post_id","type":"string"},{"meaning":"The video's page, https://www.tiktok.com/@<handle>/video/<id>.","name":"url","type":"string"},{"meaning":"The video's text; the source sometimes leaves the hashtags out of it (they are in `hashtags`); null when it has none.","name":"description","type":"string"},{"meaning":"The video's hashtags, without the #, in order, each once.","name":"hashtags","type":"string[]"},{"meaning":"When it was posted, ISO 8601 UTC (2026-09-23T17:02:20Z).","name":"created_at","type":"string"},{"meaning":"{username, name, followers}: username is the handle without @, name the display name, followers an integer.","name":"author","type":"object"},{"meaning":"{plays, likes, comments, shares, saves}, integers, as TikTok counts them (large counts are rounded by TikTok: 4500000).","name":"stats","type":"object"},{"meaning":"The video's length in seconds.","name":"duration_s","type":"number"},{"meaning":"The cover image URL; it is signed by TikTok and stops working after some hours.","name":"cover","type":"string"},{"meaning":"The sound, {id, title, author, original}: id is TikTok's id of the sound (the same id on every video that uses it); original is true for a sound made for this video.","name":"music","type":"object"}],"row_is":"","view":"rows"},"related":[{"id":"tiktok-comments","why":"Text, created at, likes, replies, author, liked by creator, language"},{"id":"tiktok-post","why":"Description, hashtags, created at, author, stats, duration s, cover"},{"id":"facebook-event","why":"Name, starts at, ends at, when, place, host, description, categories"}],"run":"both","source":"tiktok","status":"beta","summary":"Description, hashtags, created at, author, stats, duration s, cover","synonyms":["search","tiktok","videos","search videos","videos about a topic","find tiktoks","keyword search"],"typical":"5 s","version":5,"visibility":"public"}