Social Fetch
TikTok

Get TikTok video

Get a single TikTok video.

GET/v1/tiktok/videos

Pricing

Base
1 credit
downloadMedia = trueHosted media download
+10 credits
x-api-key*stringheader

API key (`sfk_...`)

Parameters
5
url*stringquery

Link to the video or photo post.

min 1 chars · max 4096 chars

regionstringoptionalquery

Optional two-letter region (country code) used to route the request when needed.

min 1 chars

trimbooleanoptionalquery

When true, returns a smaller response with fewer fields.

downloadMediabooleanoptional+10 creditsquery

When true, includes hosted CDN URLs in `downloads` when available. Adds 10 credits (11 total with the base lookup) on successful lookups, even if `downloads` is empty.

getTranscriptbooleanoptionalquery

When true, includes the video transcript (WEBVTT) in `transcript` when one is available.

Response fields
57

Endpoint-specific response payload.

datalookupStatus
string

Whether the video was resolved.

one of: found, not_found

Video details when found.

datavideoid
string

TikTok video id.

min 1 chars

datavideourl
string

Canonical public TikTok URL for this video.

min 1 chars

datavideocaption
stringnullable

Caption text.

datavideocreatedAt
stringnullable

ISO-8601 timestamp when the video was posted.

datavideoregion
stringnullableoptional

Video region (two-letter country code).

datavideodurationMs
integernullable

Video duration in milliseconds.

≥ 0

datavideomediaType
string

Whether the post is a video or a photo slideshow.

one of: video, slideshow

datavideoisAd
boolean

Whether TikTok marks the post as an ad.

Author when found.

dataauthorplatformUserId
stringoptional

Numeric user id.

dataauthorsecUid
stringoptional

Stable opaque user id.

dataauthorhandle
string

Public username without a leading @.

min 1 chars

dataauthornickname
stringnullableoptional

Display name.

dataauthorverified
boolean

Whether the account is verified.

dataauthoravatarUrl
stringnullableoptional

Profile picture URL.

dataauthorsignature
stringnullableoptional

Profile bio text.

dataauthorregion
stringnullableoptional

Two-letter country code when available.

dataauthorprivateAccount
booleanoptional

Whether the account is private.

Music or sound when found.

datamusicid
stringnullableoptional

Music or sound id.

datamusictitle
stringnullableoptional

Music title.

datamusicauthor
stringnullableoptional

Music author.

datamusicplayUrl
stringnullableoptional

Music playable URL.

datamusiccoverUrl
stringnullableoptional

Music cover image URL.

datamusicdurationSec
numbernullableoptional

Music duration in seconds.

≥ 0

datamusicisOriginal
booleanoptional

Whether the sound is marked as original.

Engagement metrics for the video.

datametricsviews
integernullableoptional

Play count.

≥ 0

datametricslikes
integernullableoptional

Like count.

≥ 0

datametricscomments
integernullableoptional

Comment count.

≥ 0

datametricsshares
integernullableoptional

Share count.

≥ 0

datametricssaves
integernullableoptional

Save or collection count.

≥ 0

Primary playable media payload for the video.

datamediadownloadUrl
stringnullable

Best available video URL (typically watermarked).

datamediadownloadWithoutWatermarkUrl
stringnullable

Best available video URL without watermark.

datamediathumbnailUrl
stringnullable

Thumbnail or cover image URL.

Pixel dimensions.

datamediadimensionswidth
integer

≥ 0

datamediadimensionsheight
integer

≥ 0

Ordered image URLs when the post is a photo slideshow.

datamediaslideshowImages[]
stringoptional

Populated only when `getTranscript=true` was passed and a transcript was available.

datatranscriptformat
string

Transcript format.

one of: webvtt

datatranscriptcontent
string

Raw transcript text.

Populated only when `downloadMedia=true` was passed and media was available.

datadownloads[]postId
stringoptional

Video id from the post.

datadownloads[]originalUrl
string

Source media URL.

datadownloads[]cdnUrl
string

Permanent hosted URL.

datadownloads[]type
string

Asset type.

one of: video, image

datadetails
objectoptional

Additional TikTok-native fields from the post (author, music, video, etc.), minus keys already promoted above.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/tiktok/videos?url=https://www.tiktok.com/@mrbeast/video/7596844935442189598" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Video metadata (found or not found in body).

On this page

No Headings