LurkAPI
Docs · Profile videos

Profile videos

A creator's videos and photo posts, newest first, up to 15 per page.

1 credit per callFresh within 5 minutesMCP tool: tiktok_profile_videos
GEThttps://api.lurkapi.com/v3/tiktok/profile/videos

Example responseView as markdown

When to use this

Use it to audit a creator's recent content: every post with views, likes, comments, shares, saves, caption and media. Posts come newest first, up to 15 per page. Pinned posts appear in date order, like every other post.

Pagination. Pass the response's max_cursor back as max_cursor (with the same handle) for older posts. has_more is false at the end. A creator who hasn't posted for weeks can give a page with no posts but has_more: true; keep paging.

Unknown, banned and deleted accounts return 404 not_found. Private accounts return an empty videos list.

Parameters

All parameters go in the query string.

ParameterDescription
handle
stringrequired
TikTok username, with or without @ (e.g. nike), or the profile URL.
Example
hubspot
max_cursor
stringoptional
The max_cursor from the previous response, to get older posts.

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (4 KB)
{
  "success": true,
  "credits_remaining": 99982,
  "credits_charged": 1,
  "videos": [
    {
      "id": "7688075789086084366",
      "url": "https://www.tiktok.com/@hubspot/video/7688075789086084366",
      "desc": "Monday is feeling extra Monday after an incredible week at UNBOUND. See you next year!!",
      "createTime": 1790019661,
      "textLanguage": "en",
      "locationCreated": null,
      "isAd": true,
      "author": {
        "id": "6921028957732193285",
        "uniqueId": "hubspot",
        "nickname": "HubSpot",
        "secUid": "MS4wLjABAAAAuY18L_r3HfP3KEtK0txT2RPxDj1uSMSqbHZF33aYcGVAwL3PUA50WeQkR2o53xqr",
        "verified": true,
        "privateAccount": false,
        "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…",
        "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…"
      },
      "stats": {
        "playCount": 854,
        "diggCount": 19,
        "commentCount": 0,
        "shareCount": 0,
        "collectCount": 4,
        "repostCount": 0
      },
      "video": {
        "duration": 32,
        "width": 720,
        "height": 1280,
        "definition": "720p",
        "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/oYgDCkV…",
        "dynamicCover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/o8LxmgQ…",
        "playUrl": "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=ba2050668fcb4317…",
        "expires_at": 1790947173
      },
      "music": {
        "id": "7688075873761348366",
        "title": "original sound",
        "authorName": "HubSpot",
        "original": true,
        "duration": 32,
        "playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-v-2…",
        "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…"
      },
      "hashtags": [],
      "mentions": [],
      "images": []
    },
    {
      "id": "7686983062382480654",
      "url": "https://www.tiktok.com/@hubspot/video/7686983062382480654",
      "desc": "Stepping into Q4, ready to crush quotas and serve looks",
      "createTime": 1789765213,
      "textLanguage": "en",
      "locationCreated": null,
      "isAd": false,
      "author": {
        "id": "6921028957732193285",
        "uniqueId": "hubspot",
        "nickname": "HubSpot",
        "secUid": "MS4wLjABAAAAuY18L_r3HfP3KEtK0txT2RPxDj1uSMSqbHZF33aYcGVAwL3PUA50WeQkR2o53xqr",
        "verified": true,
        "privateAccount": false,
        "avatarThumb": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…",
        "avatarLarger": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…"
      },
      "stats": {
        "playCount": 690,
        "diggCount": 25,
        "commentCount": 2,
        "shareCount": 9,
        "collectCount": 3,
        "repostCount": 0
      },
      "video": {
        "duration": 35,
        "width": 720,
        "height": 1280,
        "definition": "720p",
        "cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/oI6RfJD…",
        "dynamicCover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/oA6tD0t…",
        "playUrl": "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=ee0f55c7c0254005…",
        "expires_at": 1790947176
      },
      "music": {
        "id": "7686983088345352973",
        "title": "original sound",
        "authorName": "HubSpot",
        "original": true,
        "duration": 35,
        "playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/tos-useast5-v-2…",
        "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…"
      },
      "hashtags": [],
      "mentions": [],
      "images": []
    }
  ],
  "has_more": true,
  "max_cursor": "1783021491000"
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 52 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
videosobject[]Posts, newest first.
videos[].idstringVideo id, e.g. 7671325437229845774.
videos[].urlstringThe post on tiktok.com.
videos[].descstringCaption, hashtags included.
videos[].createTimenumberPosted at, Unix seconds.
videos[].textLanguagestringnullableCaption language as TikTok detects it, e.g. en; null if unknown.
videos[].locationCreatedstringnullableCountry the post was made in, as a 2-letter code; null if unknown.
videos[].isAdbooleanA paid ad (Spark Ad or promoted post).
videos[].authorobjectWho posted it.
videos[].author.idstringNumeric user id.
videos[].author.uniqueIdstringUsername (handle), without @.
videos[].author.nicknamestringDisplay name.
videos[].author.secUidstringTikTok's long, stable user id; other tools ask for it.
videos[].author.verifiedbooleanHas the verified badge.
videos[].author.privateAccountbooleanThe account is private.
videos[].author.avatarThumbstringnullableSmall avatar URL (expires after a few days); null if TikTok has none.
videos[].author.avatarLargerstringnullableLarge avatar URL (expires after a few days); null if TikTok has none.
videos[].statsobjectEngagement when fetched. Exact numbers, not rounded.
videos[].stats.playCountnumberViews.
videos[].stats.diggCountnumberLikes.
videos[].stats.commentCountnumberComments.
videos[].stats.shareCountnumberShares.
videos[].stats.collectCountnumbernullableSaves (favorites); null where TikTok doesn't show it.
videos[].stats.repostCountnumbernullableReposts; null where TikTok doesn't show it.
videos[].videoobjectThe video file. For photo posts see images.
videos[].video.durationnumberLength in seconds; 0 for photo posts.
videos[].video.widthnumberWidth in pixels; 0 for photo posts.
videos[].video.heightnumberHeight in pixels; 0 for photo posts.
videos[].video.definitionstringnullableQuality of the default rendition, e.g. 720p.
videos[].video.coverstringnullableCover image URL (expires after a few days); null if TikTok has none.
videos[].video.dynamicCoverstringnullableAnimated cover URL (expires after a few days); null if TikTok has none.
videos[].video.playUrlstringnullableMP4 URL that plays without cookies (h264, best quality). It redirects to TikTok's CDN and expires at expires_at; null if TikTok has none.
videos[].video.expires_atnumbernullableWhen playUrl stops working, Unix seconds; null if unknown.
videos[].musicobjectnullableThe sound; null if the post has none.
videos[].music.idstringSound id; pass it to song endpoints.
videos[].music.titlestringSound title, e.g. original sound.
videos[].music.authorNamestringnullableArtist, or the creator for original sounds.
videos[].music.originalbooleanAn original sound made with this post rather than a track.
videos[].music.durationnumbernullableLength in seconds.
videos[].music.playUrlstringnullableAudio URL (expires after a few hours); null if TikTok has none.
videos[].music.coverstringnullableSound cover image URL; null if TikTok has none.
videos[].hashtagsstring[]Hashtags in the caption, without #.
videos[].mentionsstring[]Usernames @mentioned in the caption.
videos[].imagesobject[]The slides of a photo post, in order. Empty for videos.
videos[].images[].urlstringImage URL (expires after a few days).
videos[].images[].widthnumberWidth in pixels.
videos[].images[].heightnumberHeight in pixels.
has_morebooleanThere are older posts.
max_cursorstringnullablePass as max_cursor for older posts. null on the last page.

Caching and freshness

Responses are cached for up to 5 minutes, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the tiktok_profile_videos tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's tiktok_profile_videos with handle "hubspot" and summarize what you find.

Claude calls tiktok_profile_videos with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "handle": "hubspot"
}

Tool results skip nulls and empty lists to save tokens.