# TikTok data APIs for AI agents > morigraph has 34 TikTok data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including profile, video, ad library ad and ad library search. You need no TikTok developer account or API key, only one morigraph connection. Calls cost from 0.006 credits, about $0.60 for 1,000 calls, paid from one balance. ## How to call it Every data API is run by one tool, `data_api`, with the API's id and its arguments. The example is TikTok Profile. In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Use morigraph's TikTok Profile data API with {"handle":"zachking"} and summarise what comes back. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call data_api --json-args '{"api":"tiktok.profile","input":{"handle":"zachking"}}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/data_api \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"tiktok.profile","input":{"handle":"zachking"}}' ``` ## TikTok Profile `tiktok.profile` · 0.006 credits a call (about $0.60 for 1,000), at most 0.024 Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username without the leading @ (e.g. "stoolpresidente"). | Returns: `avatarUrl`, `bio`, `createdUtc`, `displayName`, `externalUrl`, `followers`, `following`, `handle`, `likes`, `private`, `secUid`, `userId`, `verified`, `videos` ``` data_api({"api":"tiktok.profile","input":{"handle":"zachking"}}) ``` ## TikTok Video `tiktok.video` · 0.007 credits a call (about $0.70 for 1,000), at most 0.024 Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves). | Argument | Type | Required | What it is | |---|---|---|---| | `id` | string | no | TikTok video ID, the numeric run at the end of a video URL. Use it when a listing SKU handed you an id and no URL. | | `url` | string | no | Full TikTok video URL. | Returns: `authorFollowers`, `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `region`, `saves`, `sdVideoUrl`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `views` ``` data_api({"api":"tiktok.video","input":{"url":"https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m"}}) ``` ## TikTok Ad Library Ad `tiktok.ad_library_ad` · 0.024 credits a call (about $2.40 for 1,000) Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info). | Argument | Type | Required | What it is | |---|---|---|---| | `adId` | string | yes | TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600). | Returns: `adId`, `adTitle`, `brandName`, `comments`, `cost`, `countries`, `coverUrl`, `ctr`, `durationSeconds`, `height`, `industry`, `landingPage`, `likes`, `objective`, `shares`, `videoUrl`, `width` ``` data_api({"api":"tiktok.ad_library_ad","input":{"adId":"7648493525660270600"}}) ``` ## TikTok Ad Library Search `tiktok.ad_library_search` · 0.016 credits a call (about $1.60 for 1,000), at most 0.024 Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video). | Argument | Type | Required | What it is | |---|---|---|---| | `advertiserName` | string | no | Advertiser name to list ads for (e.g. Spotify). Provide advertiserName or query, never both. | | `cursor` | string | no | Opaque cursor from a previous response's nextCursor. Omit it for the first page. | | `days` | integer | no | Number of days of library history to search, from 1 to 365. | | `query` | string | no | Keyword to search ad titles and content (e.g. spotify). Provide query or advertiserName, never both. | | `region` | string | no | Two-letter region code for TikTok's Commercial Content Library, such as DE, FR, GB or IT. Each region holds a different set of ads. Omit it to take the library's own default region, DE. Coverage is the EU and EEA; a non-EU code such as U… | Returns: `adId`, `adTitle`, `ads`, `brandName`, `coverUrl`, `estimatedAudience`, `firstShownUtc`, `format`, `hasMore`, `lastShownUtc`, `nextCursor`, `status`, `total`, `url`, `videoUrl` ``` data_api({"api":"tiktok.ad_library_search","input":{"query":"spotify"}}) ``` ## TikTok Ad Transparency Search `tiktok.ad_transparency_search` · 0.016 credits a call (about $1.60 for 1,000) Search TikTok's EU Commercial Content Library by keyword or advertiser ID. | Argument | Type | Required | What it is | |---|---|---|---| | `advertiserId` | string | no | TikTok Commercial Content Library advertiser ID. Provide advertiserId or query. | | `cursor` | string | no | Search cursor from a previous response's nextCursor. | | `days` | integer | no | Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. | | `limit` | integer | no | Maximum number of ads to return, from 1 to 50. Defaults to 50. Billing is flat per request. | | `offset` | integer | no | Zero-based result offset. Defaults to 0. | | `query` | string | no | Keyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId. | | `region` | string | no | Region code for the transparency search. Defaults to DE. | | `sort` | string | no | Upstream sort expression. Defaults to last_shown_date,desc. | Returns: `adTitle`, `ads`, `advertiserName`, `estimatedAudience`, `firstShownUtc`, `format`, `hasMore`, `id`, `image`, `lastShownUtc`, `nextCursor`, `offset`, `region`, `status`, `total`, `videoUrl` ``` data_api({"api":"tiktok.ad_transparency_search","input":{"days":30,"query":"nike","region":"DE"}}) ``` ## TikTok Audience Demographics `tiktok.audience_demographics` · 0.32 credits a call (about $32 for 1,000), at most 0.572 Get the audience country breakdown (follower count and share per country) for a TikTok creator by handle. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username without the leading @ (e.g. "shakira"). | Returns: `audienceLocations`, `count`, `country`, `countryCode`, `percentage` ``` data_api({"api":"tiktok.audience_demographics","input":{"handle":"shakira"}}) ``` ## TikTok Comment Replies `tiktok.comment_replies` · 0.011 credits a call (about $1.10 for 1,000), at most 0.064 List the replies to a TikTok comment with cursor pagination (text, author, likes). | Argument | Type | Required | What it is | |---|---|---|---| | `commentId` | string | yes | TikTok comment ID (the comment's cid from the comments endpoint). | | `cursor` | string | no | Pagination cursor from a previous response. | | `url` | string | yes | TikTok video URL the comment belongs to, on tiktok.com: a video or photo post (https://www.tiktok.com/@/video/ or /photo/) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A /video/ or /photo/ link without the… | Returns: `author`, `authorImage`, `authorName`, `authorUserId`, `comments`, `createdUtc`, `id`, `likes`, `nextCursor`, `text`, `videoId` ``` data_api({"api":"tiktok.comment_replies","input":{"commentId":"7623828115408274207","url":"https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"}}) ``` ## TikTok Followers `tiktok.followers` · 0.016 credits a call (about $1.60 for 1,000), at most 0.064 List the followers of a TikTok account by username, returning each follower's profile basics. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor, to fetch the next page of followers. | | `handle` | string | yes | TikTok username whose followers to list, without the @ prefix (e.g. stoolpresidente). | Returns: `avatarUrl`, `bio`, `createdUtc`, `followerCount`, `followers`, `followingCount`, `likeCount`, `nextCursor`, `nickname`, `region`, `secUid`, `total`, `userId`, `username`, `videoCount` ``` data_api({"api":"tiktok.followers","input":{"handle":"stoolpresidente"}}) ``` ## TikTok Following `tiktok.following` · 0.016 credits a call (about $1.60 for 1,000), at most 0.064 List the accounts a TikTok user follows (handle, display name, follower count, bio) by username. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response. | | `handle` | string | yes | TikTok username without the leading @ (e.g. "stoolpresidente"). | | `requireCursor` | boolean | no | Deprecated; send `requireFields: ["nextCursor"]` instead, which does exactly the same thing. Set true if you intend to page through results, so the request is only served by a source that can return a nextCursor. Omit it and routing is u… | Returns: `avatarUrl`, `bio`, `createdUtc`, `displayName`, `followers`, `following`, `handle`, `id`, `instagramUrl`, `likes`, `nextCursor`, `private`, `region`, `secUid`, `videos`, `youtubeUrl` ``` data_api({"api":"tiktok.following","input":{"handle":"stoolpresidente"}}) ``` ## TikTok Hashtag Search `tiktok.search_hashtag` · 0.024 credits a call (about $2.40 for 1,000), at most 0.064 Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response. | | `query` | string | yes | Hashtag or keyword to search for (without the leading #). | Returns: `author`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `locationName`, `nextCursor`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.search_hashtag","input":{"query":"recipe"}}) ``` ## TikTok Hashtag Videos `tiktok.hashtag_videos` · 0.023 credits a call (about $2.30 for 1,000), at most 0.144 List recent TikTok videos for a hashtag (creator, caption, views, likes, shares). | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of videos. | | `hashtag` | string | yes | TikTok hashtag to fetch videos for, without the # prefix (e.g. booktok). | | `limit` | integer | no | Maximum number of results to return (1-20, default 20). | Returns: `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `collectCount`, `commentCount`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likeCount`, `nextCursor`, `playCount`, `shareCount`, `soundAuthor`, `soundClipId`, `soundTitle`, `text`, `url`, `videoUrl` ``` data_api({"api":"tiktok.hashtag_videos","input":{"hashtag":"cooking","limit":3}}) ``` ## TikTok Keyword Search `tiktok.search_keyword` · 0.012 credits a call (about $1.20 for 1,000), at most 0.064 Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response. | | `datePosted` | integer or string | no | Time frame filter, in days back from now. Use a canonical JSON integer that is nonnegative: 0 for any time, 1 for the past 24 hours, 7 for the past week, 30 for the past month, 90 for the past three months, or 180 for the past six months… | | `query` | string | yes | The keyword to search TikTok for. | | `requireCursor` | boolean | no | Deprecated: name `nextCursor` in `requireFields` instead, which is the field this flag is translated into. It stays accepted so callers that already send it keep working. Sending it routes you to a source that returns a pagination cursor… | | `sortBy` | relevance \| most-liked \| date-posted | no | Sort order: relevance, most-liked, date-posted. | Returns: `author`, `authorFollowers`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `locationName`, `nextCursor`, `paidPartnership`, `region`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.search_keyword","input":{"datePosted":0,"query":"cooking","sortBy":"relevance"}}) ``` ## TikTok Live `tiktok.live` · 0.024 credits a call (about $2.40 for 1,000), at most 0.064 Check whether a TikTok creator is live and get the current live room (title, viewers, start time) by handle. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username without the leading @ (e.g. "thejustalex"). | Returns: `avatarUrl`, `bio`, `coverUrl`, `displayName`, `enterCount`, `followers`, `following`, `handle`, `private`, `roomId`, `secUid`, `startTime`, `status`, `title`, `userId`, `verified`, `viewers` ``` data_api({"api":"tiktok.live","input":{"handle":"thejustalex"}}) ``` ## TikTok Photo Search `tiktok.search_photos` · 0.024 credits a call (about $2.40 for 1,000), at most 0.036 Search TikTok for photo-mode (slideshow) posts by keyword, with every image in each post plus view, like and comment counts. tiktok.search_keyword returns videos and drops these. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `limit` | integer | no | How many posts to ask for per page (1-30, default 30). This is a request, not a cap: a page can hold more or fewer posts than this, depending on the source that serves it. Follow nextCursor for more. | | `query` | string | yes | Search keyword. | Returns: `author`, `authorFollowers`, `authorImage`, `authorName`, `authorSecUid`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `hashtags`, `id`, `images`, `likes`, `locationName`, `nextCursor`, `posts`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `title`, `url`, `views` ``` data_api({"api":"tiktok.search_photos","input":{"query":"latte art"}}) ``` ## TikTok Photos `tiktok.photos` · 0.023 credits a call (about $2.30 for 1,000), at most 0.024 Get every image in a TikTok photo-mode (slideshow) post by URL, in order, with pixel dimensions and both the clean and watermarked variant of each. Videos carry no images - use tiktok.video_download for those. | Argument | Type | Required | What it is | |---|---|---|---| | `url` | string | yes | Full TikTok photo-mode post URL. TikTok serves slideshow posts under the same /video/ path as videos, so the normal share link works. | Returns: `authorFollowers`, `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `caption`, `comments`, `createdUtc`, `hashtags`, `height`, `id`, `image`, `images`, `likes`, `region`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `views`, `watermarkedImage`, `width` ``` data_api({"api":"tiktok.photos","input":{"url":"https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174"}}) ``` ## TikTok Playlist Videos `tiktok.playlist_videos` · 0.024 credits a call (about $2.40 for 1,000) List the videos inside one TikTok playlist by playlist URL or id, in playlist order, with view, like and comment counts. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `id` | string | no | TikTok playlist id. Use it when tiktok.profile_playlists handed you the id. | | `limit` | integer | no | Maximum items to return in one page. | | `url` | string | no | Full TikTok playlist URL. The playlist id is the numeric run at the end. | Returns: `author`, `authorFollowers`, `authorImage`, `authorName`, `authorSecUid`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `mentions`, `nextCursor`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.playlist_videos","input":{"url":"https://www.tiktok.com/@mrbeast/playlist/Beast%20Games-7596415294902389534"}}) ``` ## TikTok Profile Contact Info `tiktok.profile_contact` · 0.019 credits a call (about $1.90 for 1,000), at most 0.076 Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username without the leading @. | Returns: `avatarUrl`, `bio`, `displayName`, `domain`, `domainHealth`, `email`, `emails`, `externalUrl`, `followers`, `following`, `handle`, `likes`, `platform`, `primaryEmail`, `private`, `profileUrl`, `seller`, `socialLinks`, `sourceType`, `sourceUrl`, `url`, `userId`, `verified`, `videos` ``` data_api({"api":"tiktok.profile_contact","input":{"handle":"gordonramsayofficial"}}) ``` ## TikTok Profile Playlists `tiktok.profile_playlists` · 0.024 credits a call (about $2.40 for 1,000) List the playlists a TikTok creator has published on their profile, with each playlist's name, video count and cover image. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `limit` | integer | no | Maximum items to return in one page. | | `secUid` | string | yes | TikTok's opaque sec_uid for the account. TikTok's own endpoint keys on it and will not accept a handle; call tiktok.profile with the handle first and read secUid off its response. | Returns: `coverUrl`, `creatorHandle`, `id`, `name`, `nextCursor`, `playlists`, `videoCount` ``` data_api({"api":"tiktok.profile_playlists","input":{"secUid":"MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG"}}) ``` ## TikTok Profile Region `tiktok.profile_region` · 0.024 credits a call (about $2.40 for 1,000), at most 0.064 Resolve the home region (country) of a TikTok creator by handle. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username without the leading @ (e.g. "stoolpresidente"). | Returns: `handle`, `profileUrl`, `region` ``` data_api({"api":"tiktok.profile_region","input":{"handle":"stoolpresidente"}}) ``` ## TikTok Profile Reposts `tiktok.profile_reposts` · 0.024 credits a call (about $2.40 for 1,000) List the videos a TikTok creator has reposted to their profile, with view, like and comment counts and cursor pagination. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `limit` | integer | no | Maximum items to return in one page. | | `secUid` | string | yes | TikTok's opaque sec_uid for the account. TikTok's own endpoint keys on it and will not accept a handle; call tiktok.profile with the handle first and read secUid off its response. | Returns: `author`, `authorFollowers`, `authorImage`, `authorName`, `authorSecUid`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `locationName`, `mentions`, `nextCursor`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.profile_reposts","input":{"secUid":"MS4wLjABAAAABKjQkOz_IIzXXzEAl_9LGsWhvK-gBnlczwRPXK8EmxAp6K3X0qiaP5_OEqmm0XwG"}}) ``` ## TikTok Profile Videos `tiktok.profile_videos` · 0.008 credits a call (about $0.80 for 1,000), at most 0.064 List a TikTok creator's recent videos (views, likes, comments) by handle with cursor pagination. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `handle` | string | yes | TikTok username without the leading @. | Returns: `authorFollowers`, `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `isPinned`, `likes`, `locationName`, `nextCursor`, `paidPartnership`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.profile_videos","input":{"handle":"zachking"}}) ``` ## TikTok Search Suggestions `tiktok.search_suggestions` · 0.016 credits a call (about $1.60 for 1,000), at most 0.024 Get the search terms TikTok suggests for a keyword, each with its language and relative weight - the queries real TikTok users type around your topic. | Argument | Type | Required | What it is | |---|---|---|---| | `query` | string | yes | Seed keyword to expand. | Returns: `language`, `score`, `suggestions`, `text` ``` data_api({"api":"tiktok.search_suggestions","input":{"query":"protein powder"}}) ``` ## TikTok Song `tiktok.song` · 0.012 credits a call (about $1.20 for 1,000), at most 0.024 Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it). | Argument | Type | Required | What it is | |---|---|---|---| | `clipId` | string | yes | The clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544). | Returns: `album`, `author`, `coverUrl`, `duration`, `isOriginal`, `shareUrl`, `songId`, `title`, `videoCount` ``` data_api({"api":"tiktok.song","input":{"clipId":"7439295283975702544"}}) ``` ## TikTok Song Videos `tiktok.song_videos` · 0.012 credits a call (about $1.20 for 1,000), at most 0.064 List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats). | Argument | Type | Required | What it is | |---|---|---|---| | `clipId` | string | yes | The song ID found in TikTok music URLs (e.g. 7439295283975702544). | | `cursor` | string | no | Pagination cursor for retrieving the next page of results. | Returns: `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `collectCount`, `commentCount`, `createTime`, `description`, `durationSeconds`, `hasMore`, `hashtags`, `image`, `likeCount`, `nextCursor`, `playCount`, `shareCount`, `url`, `videoId`, `videoUrl`, `videos` ``` data_api({"api":"tiktok.song_videos","input":{"clipId":"7439295283975702544"}}) ``` ## TikTok Top Ads Search `tiktok.top_ads_search` · 0.024 credits a call (about $2.40 for 1,000) Search TikTok Creative Center top video ads by keyword, with campaign objective, performance percentile, and time-window filters. | Argument | Type | Required | What it is | |---|---|---|---| | `limit` | integer | no | Maximum number of ads requested for this page, from 1 through 20 (default 20). | | `objective` | traffic \| app_installs \| conversions \| video_views \| reach \| lead_generation \| product_sales | no | Campaign objective filter. Omit it to search every objective. | | `page` | integer | no | One-based provider page number (default 1). | | `performanceRank` | top_1_20 \| top_21_40 \| top_41_60 \| top_61_80 | no | Ad performance percentile bucket, where top_1_20 is the highest-performing 20 percent. Omit it to search every bucket. | | `period` | 7 \| 30 \| 180 | no | Lookback period in days (default 180). | | `query` | string | yes | Keyword to search in TikTok Creative Center top video ads. | Returns: `adId`, `adTitle`, `ads`, `brandName`, `cost`, `ctr`, `durationSeconds`, `hasMore`, `height`, `image`, `industry`, `likes`, `objective`, `page`, `pageSize`, `total`, `videoUrl`, `width` ``` data_api({"api":"tiktok.top_ads_search","input":{"query":"glasses"}}) ``` ## TikTok Top Search `tiktok.search_top` · 0.011 credits a call (about $1.10 for 1,000), at most 0.064 Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response. | | `publishTime` | yesterday \| this-week \| this-month \| last-3-months \| last-6-months \| all-time | no | Time-frame filter: yesterday, this-week, this-month, last-3-months, last-6-months, all-time. | | `query` | string | yes | Keyword to search for (e.g. "funny"). | | `region` | string | no | 2-letter country code for the proxy location (e.g. US, GB, FR). | | `sortBy` | relevance \| most-liked \| date-posted | no | Sort order: relevance, most-liked, date-posted. | Returns: `author`, `authorFollowers`, `authorImage`, `authorName`, `authorUserId`, `caption`, `comments`, `contentType`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `nextCursor`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `views` ``` data_api({"api":"tiktok.search_top","input":{"query":"funny"}}) ``` ## TikTok Trending Feed `tiktok.trending_feed` · 0.016 credits a call (about $1.60 for 1,000), at most 0.024 Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart. | Argument | Type | Required | What it is | |---|---|---|---| | `region` | string | yes | 2-letter country code for the proxy location (e.g. "US"). | | `trim` | string | no | Set to true to return a simplified response. | Returns: `author`, `authorImage`, `authorName`, `authorUserId`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `hashtags`, `id`, `image`, `likes`, `region`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `videos`, `views` ``` data_api({"api":"tiktok.trending_feed","input":{"region":"US"}}) ``` ## TikTok Trending Hashtags `tiktok.trending_hashtags` · 0.024 credits a call (about $2.40 for 1,000), at most 1.8 Rank TikTok's trending hashtags for one country and industry, with each hashtag's daily popularity curve, post count, video views, and leading creators. Ranks 15 industry categories, or omit industry for the all-industries board. Returns up to the top 100 hashtags of a board in one call. Covers 27 markets: AE, AR, AU, BR, CA, CO, DE, EG, ES, FR, GB, ID, IL, IT, JP, KR, MX, MY, PH, SA, SG, TH, TR, | Argument | Type | Required | What it is | |---|---|---|---| | `industry` | apparel_accessories \| baby_kids_maternity \| beauty_personal_care \| education \| food_beverage \| games \| health \| home_improvement \| household_products \| news_entertainment \| pets \| sports_outdoor \| tech_electronics \| travel \| vehicle_transportation | no | Restrict the ranking to one industry. Omit for the all-industries board. | | `limit` | integer | no | Maximum number of ranked hashtags to return, from 1 through 100 (default 3), counted from the top of the board. | | `period` | 7 \| 30 \| 90 | no | Lookback window in days that the ranking and the popularity curve cover (default 7). | | `region` | US \| FR \| DE \| IT \| ES \| GB \| AR \| AU \| BR \| CA \| CO \| EG \| ID \| IL \| JP \| KR \| MY \| MX \| PH \| SA \| SG \| ZA \| TW \| TH \| TR \| AE \| VN | no | Two-letter country code of the market whose hashtag ranking to read (default US). Each market is ranked independently, so US and DE return different boards. | Returns: `hashtag`, `hashtagId`, `industryIds`, `popularity`, `posts`, `rank`, `topCreators`, `views` ``` data_api({"api":"tiktok.trending_hashtags","input":{"limit":3,"period":7,"region":"US"}}) ``` ## TikTok User Search `tiktok.search_users` · 0.012 credits a call (about $1.20 for 1,000), at most 0.064 Search TikTok accounts by keyword (handle, nickname, follower count) with cursor pagination. | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `query` | string | yes | The keyword to search TikTok accounts for. | Returns: `avatarUrl`, `bio`, `followers`, `following`, `handle`, `instagramUrl`, `likes`, `nextCursor`, `nickname`, `region`, `secUid`, `userId`, `users`, `verified`, `videos`, `youtubeUrl` ``` data_api({"api":"tiktok.search_users","input":{"query":"chef"}}) ``` ## TikTok User Stories `tiktok.user_stories` · 0.022 credits a call (about $2.20 for 1,000) Get a TikTok creator's active public stories by username: video or photo links, cover, posting and expiry times, and view, like, share and save counts. | Argument | Type | Required | What it is | |---|---|---|---| | `handle` | string | yes | TikTok username, without the @ (e.g. "jasonderulo"). | Returns: `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `comments`, `createdUtc`, `durationSeconds`, `expiresUtc`, `hasMore`, `id`, `image`, `imageUrls`, `likes`, `photos`, `reposts`, `saves`, `shares`, `soundAuthor`, `soundClipId`, `soundTitle`, `soundUrl`, `stories`, `totalCount`, `url`, `videoUrl`, `views` ``` data_api({"api":"tiktok.user_stories","input":{"handle":"jasonderulo"}}) ``` ## TikTok Video Comments `tiktok.video_comments` · 0.011 credits a call (about $1.10 for 1,000), at most 0.064 List the comments on a TikTok video by URL with cursor pagination (text, author, likes, reply count). | Argument | Type | Required | What it is | |---|---|---|---| | `cursor` | string | no | Pagination cursor from a previous response's nextCursor. | | `url` | string | yes | TikTok post URL on tiktok.com: a video or photo post (https://www.tiktok.com/@/video/ or /photo/) or a vm.tiktok.com or vt.tiktok.com short link. A profile link (https://www.tiktok.com/@), a video file link (tiktokcdn… | Returns: `author`, `authorImage`, `authorName`, `authorUserId`, `comments`, `createdUtc`, `id`, `language`, `likes`, `nextCursor`, `replies`, `text`, `videoId` ``` data_api({"api":"tiktok.video_comments","input":{"url":"https://www.tiktok.com/@zachking/video/7650468599424945422?_r=1&u_code=f0hj7d780760m9&preview_pb=0&sharer_language=en&_d=f0hj7blh067h71&share_item_id=7650468599424945422&source=h5_m"}}) ``` ## TikTok Video Download `tiktok.video_download` · 0.015 credits a call (about $1.50 for 1,000), at most 0.024 Get the playable media files behind a TikTok video URL: the clean no-watermark MP4, the watermarked one TikTok's own save button produces, and the cover image, with duration and pixel dimensions. A photo-mode post has no video: for one, videoUrl and sdVideoUrl carry the post's music (an audio file) and watermarkedUrl is usually absent, or the call may answer not found; use tiktok.photos for its im | Argument | Type | Required | What it is | |---|---|---|---| | `url` | string | yes | Full TikTok video URL. Share links and tracking query params are fine. | Returns: `authorFollowers`, `authorHandle`, `authorImage`, `authorName`, `authorUserId`, `authorVerified`, `caption`, `createdUtc`, `durationSeconds`, `hashtags`, `height`, `id`, `image`, `region`, `sdVideoUrl`, `soundAuthor`, `soundClipId`, `soundTitle`, `url`, `videoUrl`, `watermarkedUrl`, `width` ``` data_api({"api":"tiktok.video_download","input":{"url":"https://www.tiktok.com/@mrbeast/video/7654638524729216287"}}) ``` ## TikTok Video Transcript (AnyAPI speech to text) `tiktok.video_transcript_full` · 1.9 credits a call (about $190 for 1,000), at most 1.99 Transcribe the spoken audio of a TikTok video with AnyAPI's own speech-to-text: timed sentence-level segments, speaker labels, detected language, and optional per-word timings, for videos TikTok publishes no caption track for and for videos whose caption track gets the words wrong. AnyAPI downloads the video and runs the audio through MAI-Transcribe-2 rather than reading anything TikTok wrote, whi | Argument | Type | Required | What it is | |---|---|---|---| | `hostVideo` | boolean | no | Also store the video and return a hosted MP4 link that plays without TikTok's signed CDN URL. Charged as an extra on top of the transcript. | | `url` | string | yes | TikTok video URL (e.g. "https://www.tiktok.com/@user/video/1234567890"). | | `wordTimestamps` | boolean | no | Return per-word timings inside each segment. Words carry timings only; the recognizer scores a phrase rather than a word, so there is no per-word confidence to report. | Returns: `bytes`, `durationSeconds`, `endSeconds`, `expiresUtc`, `hostedUrl`, `id`, `language`, `ownerUsername`, `segments`, `source`, `speaker`, `startSeconds`, `text`, `thumbnailUrl`, `transcript`, `url`, `words` ``` data_api({"api":"tiktok.video_transcript_full","input":{"url":"https://www.tiktok.com/@thatdudecancook/video/7649086431641521421"}}) ``` ## TikTok Video Transcript (native captions) `tiktok.video_transcript` · 0.021 credits a call (about $2.10 for 1,000), at most 0.64 Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.vid | Argument | Type | Required | What it is | |---|---|---|---| | `url` | string | yes | TikTok video URL on tiktok.com: a video or photo post (https://www.tiktok.com/@/video/ or /photo/) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A profile link (https://www.tiktok.com/@), a /@/<… | Returns: `id`, `language`, `transcript`, `url` ``` data_api({"api":"tiktok.video_transcript","input":{"url":"https://www.tiktok.com/@washingtonpost/video/7609177768793787679"}}) ``` ## Do I need a TikTok API key or developer account? No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 34 APIs on this page. ## What does TikTok data cost through morigraph? Between 0.006 and 1.9 credits a call depending on the API, where a credit is about 10 cents. That is from about $0.60 for 1,000 calls. You pay per call from one balance, with no separate subscription. ## Can Claude, ChatGPT or Cursor get TikTok data? Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call. ## Which TikTok data APIs are available? TikTok Profile, TikTok Video, TikTok Ad Library Ad, TikTok Ad Library Search, TikTok Ad Transparency Search, TikTok Audience Demographics, TikTok Comment Replies, TikTok Followers, TikTok Following and TikTok Hashtag Search, and 24 more listed on this page. --- Canonical page: https://morigraph.com/tools/data/tiktok/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt