LurkAPI
Docs · Video details

Video details

One video or photo post: caption, stats, author, sound, hashtags and a playable MP4 URL.

1 credit per callFresh within 15 minutesMCP tool: tiktok_video
GEThttps://api.lurkapi.com/v2/tiktok/video

Example responseView as markdown

When to use this

Use it to track a post's views, likes, comments, shares and saves, or to get its media. video.playUrl plays without cookies until video.expires_at (about two days); fetch the post again for a fresh one. Photo posts have their slides in images.

Pass get_transcript=true to also get the captions as WEBVTT in transcript (same credit).

Deleted, private and region-locked posts return 404 not_found.

Parameters

All parameters go in the query string.

ParameterDescription
url
stringrequired
The video's URL, e.g. https://www.tiktok.com/@hubspot/video/7671325437229845774. Photo post URLs and bare video ids work too.
Example
https://www.tiktok.com/@hubspot/video/7671325437229845774
get_transcript
booleanoptional
true adds the captions as WEBVTT in transcript (null if the video has none).
One of
truefalse
Default
false

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 (2 KB)
{
  "success": true,
  "credits_remaining": 99984,
  "credits_charged": 1,
  "id": "7671325437229845774",
  "url": "https://www.tiktok.com/@hubspot/video/7671325437229845774",
  "desc": "love at first MQL",
  "createTime": 1786119661,
  "textLanguage": "en",
  "locationCreated": "US",
  "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": 1104,
    "diggCount": 25,
    "commentCount": 1,
    "shareCount": 0,
    "collectCount": 2,
    "repostCount": 0
  },
  "video": {
    "duration": 80,
    "width": 720,
    "height": 1280,
    "definition": "720p",
    "cover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/okN7mcf…",
    "dynamicCover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-85c255-tx/oEDEMCV…",
    "playUrl": "https://www.tiktok.com/aweme/v1/play/?faid=1988&file_id=30509d3782234485…",
    "expires_at": 1790947227
  },
  "music": {
    "id": "7671325566393486094",
    "title": "original sound - HubSpot",
    "authorName": "HubSpot",
    "original": true,
    "duration": 80,
    "playUrl": "https://v16m.tiktokcdn-us.com/1eb8f6572957ab7073bf9056849b1a2c/6abd60fb/…",
    "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7351755…"
  },
  "hashtags": [],
  "mentions": [],
  "images": []
}

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 50 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).
idstringVideo id, e.g. 7671325437229845774.
urlstringThe post on tiktok.com.
descstringCaption, hashtags included.
createTimenumberPosted at, Unix seconds.
textLanguagestringnullableCaption language as TikTok detects it, e.g. en; null if unknown.
locationCreatedstringnullableCountry the post was made in, as a 2-letter code; null if unknown.
isAdbooleanA paid ad (Spark Ad or promoted post).
authorobjectWho posted it.
author.idstringNumeric user id.
author.uniqueIdstringUsername (handle), without @.
author.nicknamestringDisplay name.
author.secUidstringTikTok's long, stable user id; other tools ask for it.
author.verifiedbooleanHas the verified badge.
author.privateAccountbooleanThe account is private.
author.avatarThumbstringnullableSmall avatar URL (expires after a few days); null if TikTok has none.
author.avatarLargerstringnullableLarge avatar URL (expires after a few days); null if TikTok has none.
statsobjectEngagement when fetched. Exact numbers, not rounded.
stats.playCountnumberViews.
stats.diggCountnumberLikes.
stats.commentCountnumberComments.
stats.shareCountnumberShares.
stats.collectCountnumbernullableSaves (favorites); null where TikTok doesn't show it.
stats.repostCountnumbernullableReposts; null where TikTok doesn't show it.
videoobjectThe video file. For photo posts see images.
video.durationnumberLength in seconds; 0 for photo posts.
video.widthnumberWidth in pixels; 0 for photo posts.
video.heightnumberHeight in pixels; 0 for photo posts.
video.definitionstringnullableQuality of the default rendition, e.g. 720p.
video.coverstringnullableCover image URL (expires after a few days); null if TikTok has none.
video.dynamicCoverstringnullableAnimated cover URL (expires after a few days); null if TikTok has none.
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.
video.expires_atnumbernullableWhen playUrl stops working, Unix seconds; null if unknown.
musicobjectnullableThe sound; null if the post has none.
music.idstringSound id; pass it to song endpoints.
music.titlestringSound title, e.g. original sound.
music.authorNamestringnullableArtist, or the creator for original sounds.
music.originalbooleanAn original sound made with this post rather than a track.
music.durationnumbernullableLength in seconds.
music.playUrlstringnullableAudio URL (expires after a few hours); null if TikTok has none.
music.coverstringnullableSound cover image URL; null if TikTok has none.
hashtagsstring[]Hashtags in the caption, without #.
mentionsstring[]Usernames @mentioned in the caption.
imagesobject[]The slides of a photo post, in order. Empty for videos.
images[].urlstringImage URL (expires after a few days).
images[].widthnumberWidth in pixels.
images[].heightnumberHeight in pixels.
transcriptstringnullable · optionalWith get_transcript=true: the captions as WEBVTT in the video's original language; null if it has none.

Caching and freshness

Responses are cached for up to 15 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_video tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's tiktok_video with url "https://www.tiktok.com/@hubspot/video/7671325437229845774" and summarize what you find.

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

Tool arguments
{
  "url": "https://www.tiktok.com/@hubspot/video/7671325437229845774"
}

Tool results skip nulls and empty lists to save tokens.