TikTok Account stories API

Read the stories a TikTok account has up right now, from a handle, a profile link or a sec_uid: each story's media, counts and expires_at, for $0.88 per 1,000 calls.

  • All of the account's current stories come in one call, oldest first, with no paging
  • Photo stories carry images with each image's url, width and height
  • Failed calls and empty results are not charged.

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "tiktok",
      "action": "user_stories",
      "params": {
        "username": "cnn"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "text": string,
          "author_name": string,
          "author_username": string,
          "like_count": number
        },
        …
      ]
    }
  3. 3Rows

    textauthor_nameauthor_usernamelike_count
    stringstringstringnumber
  4. 4CSV

    tiktok-user_stories-sample.csv id,url,text,author_name,author_username,like_count,comment_count,share_count,view_count,posted_at,collect_count,repost_count,duration_sec,duration_seconds,cover_image_url,language,country,hashtags,music,is_ad,is_pinned,is_sponsored,is_slideshow,has_shop_product,author_id,author_url,author_avatar_url,author_bio,author_is_verified,author_is_private,author_is_seller,author_follower_count,author_following_count,author_like_count,author_video_count,platform,author_sec_uid,media_type,mentions,hashtags_detail,mentions_detail,images,image_urls,image_count,expires_at,video_play_url,video_size_bytes,video_bitrates,definition,width,height,dynamic_cover_url,origin_cover_url,music_duration_sec,caption_languages,poi,category_type,aigc_label,is_aigc,is_private,comments_disabled,duet_enabled,stitch_enabled,share_enabled,view_count_estimated,like_count_estimated,comment_count_estimated,share_count_estimated,author_follower_count_estimated,author_following_count_estimated,author_like_count_estimated,author_video_count_estimated

A request with username goes in, and the account's current stories come back; each row in results is one story, listed as a field table and a CSV file.

What data you get

Each row is one story. This endpoint has no public real sample yet. The table lists the fields, types and meanings that the response returns, with no values.

FieldTypeMeaning
idstringThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlstringLink to the record on the platform.
textstringBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
author_namestringAuthor's display name.
author_usernamestringAuthor's username (@handle), usually usable in URLs.
like_countnumberLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countnumberComments. null means not disclosed, not 0.
share_countnumberShares. null means not disclosed, not 0.
view_countnumberViews or plays. null means not disclosed, not 0.
posted_atstringPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
collect_countnumberSaves or favorites. null means not disclosed, not 0.
repost_countnumberReposts (as distinct from quote posts). null means not disclosed.
duration_secnumberDuration in seconds, the same value as duration_seconds (both names are returned): the video's length on video rows, the sound's length on music_search, music_chart and music_detail. In top_ads, the length of the ad video, with decimals.
duration_secondsnumberDuration in seconds. null for content that is not video or audio.
cover_image_urlstringVideo cover image link (signed, expires).
languagestringContent language code (for example zh, en) as judged by the platform; it can be wrong.
countrystringCountry or region: a full name or an ISO code depending on the platform, not normalized.
hashtagsarrayHashtags in the text, in order of appearance; absent when there are none.
musicobjectBackground music: id, title (track name), author, is_original (whether it is an original sound), play_url (audio URL, expires), cover_url (usually absent in search results).
is_adbooleanWhether the video is an ad. Usually absent in search results; may be absent in user_videos results.
is_pinnedbooleanWhether it is pinned on the author's profile.
is_sponsoredbooleanWhether it contains sponsored content. Usually absent in search and user_videos results.
is_slideshowbooleanWhether it is a photo carousel (not a video).
has_shop_productbooleanWhether the video has a TikTok Shop product attached; if the key is absent, it cannot be determined. Usually absent in search and user_videos results.
author_idstringAuthor's unique ID on the platform.
author_urlstringLink to the author's profile on the platform.
author_avatar_urlstringAuthor's avatar image link (on most platforms signed and expires).
author_biostringThe author's profile bio; not returned on some requests and may be absent in user_videos results.
author_is_verifiedbooleanWhether the author has a verified badge; not returned on some requests.
author_is_privatebooleanWhether the author's account is private.
author_is_seller—Whether the author is a TikTok Shop seller. Usually absent in user_videos results.
author_follower_count—Author's follower count. null means not disclosed.
author_following_count—How many accounts the author follows; not returned on some requests.
author_like_count—Total likes the author's profile has received; not returned on some requests.
author_video_count—Total number of videos the author has posted; not returned on some requests.
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
author_sec_uid—The account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, playlist_videos, user_reposts and user_stories, the post author's account; in user_playlists, the playlist owner's account.
media_type—Post type: always photo in photos; video or photo in playlist_videos, user_reposts and user_stories.
mentions—Usernames of the accounts mentioned with @ in the post (photos, playlist_videos, user_reposts, user_stories).
hashtags_detail—Hashtags in the post with their IDs (playlist_videos, user_reposts, user_stories): [{id, name}].
mentions_detail—Accounts mentioned with @ in the post, with their IDs (playlist_videos, user_reposts, user_stories): [{id, username, sec_uid}].
images—Every image of a photo post (photos, and photo stories in user_stories), in the post's order: [{url, width, height}], with width and height in pixels. Image links expire, so download the ones you keep soon.
image_urlsarrayLink to each image in a photo (carousel) post (video_download, photos, playlist_videos, user_reposts, user_stories; in photos and user_stories the same images as images, in the post's order); links to all of a product's main images (shop_search, shop_category_products, shop_products); on shop_search the first is the same as cover_url.
image_count—Number of images in the photo post (photos, and photo posts in playlist_videos, user_reposts and user_stories).
expires_atstringExpiry time of the download URL (video_download, ISO; about 6 hours after the call). Call again after it expires. In user_stories, when the story disappears (ISO 8601, UTC, 24 hours after it was posted).
video_play_url—The video link TikTok's web player uses (playlist_videos, user_reposts, user_stories); signed and expires, absent for photo posts. For a downloadable file without the watermark, use video_download.
video_size_bytes—Size of the video_play_url file in bytes (playlist_videos, user_reposts, user_stories).
video_bitrates—The quality levels TikTok's web player offers (playlist_videos, user_reposts, user_stories): [{url, quality, codec, bitrate, width, height, size}], with bitrate in bits per second and size in bytes; links are signed and expire.
definition—The video's quality level, such as 720p (playlist_videos, user_reposts, user_stories).
widthnumberWidth of the watermark-free video file in pixels (video_download); absent for photo posts. In playlist_videos, user_reposts and user_stories, the width of the video frame. In top_ads, the width of the ad video's frame.
heightnumberHeight of the watermark-free video file in pixels (video_download); absent for photo posts. In playlist_videos, user_reposts and user_stories, the height of the video frame. In top_ads, the height of the ad video's frame.
dynamic_cover_url—Link to the video's animated cover (playlist_videos, user_reposts, user_stories); signed and expires.
origin_cover_url—Link to the video's original cover image (playlist_videos, user_reposts, user_stories); signed and expires.
music_duration_sec—Length of the background music in seconds (photos, playlist_videos, user_reposts, user_stories).
caption_languages—Languages of the captions TikTok generated for the video, such as eng-US (playlist_videos, user_reposts, user_stories).
poi—The place tagged on the post (playlist_videos, user_reposts, user_stories): id, name, address, city, province, country and category, each only when it has a value.
category_type—The post's category type, a numeric code from TikTok (photos, playlist_videos, user_reposts, user_stories).
aigc_label—TikTok's label for AI-generated content, as written (playlist_videos, user_reposts, user_stories); absent when there is none.
is_aigc—Whether the post is AI-generated content (photos, playlist_videos, user_reposts, user_stories).
is_privatebooleanWhether the account is private; in playlist_videos, user_reposts and user_stories, whether the post itself is set to private.
comments_disabled—Whether comments are turned off on the post (photos, playlist_videos, user_reposts, user_stories).
duet_enabled—Whether Duet is allowed on the post (photos, playlist_videos, user_reposts, user_stories).
stitch_enabled—Whether Stitch is allowed on the post (photos, playlist_videos, user_reposts, user_stories).
share_enabled—Whether the post can be shared (photos, playlist_videos, user_reposts, user_stories).
view_count_estimated—Whether view_count is an approximate figure (photos, playlist_videos, user_reposts, user_stories): from 10,000 up, TikTok's page shows a rounded count (35.2K is stored as 35200) and this is true.
like_count_estimated—Whether like_count is an approximate figure (photos), by the same rule as view_count_estimated.
comment_count_estimated—Whether comment_count is an approximate figure (photos), by the same rule as view_count_estimated.
share_count_estimated—Whether share_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_follower_count_estimated—Whether author_follower_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_following_count_estimated—Whether author_following_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_like_count_estimated—Whether author_like_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_video_count_estimated—Whether author_video_count is an approximate figure (photos), by the same rule as view_count_estimated.

Use cases

  • Check what an account has up now

    Call it to see the stories live on the profile at this moment.

  • Save stories before they go

    expires_at is when each story disappears; download the images or media you keep before then.

  • Follow an account's stories through the day

    Stories last 24 hours, so a few calls a day catch each one.

  • Read the posts that stay

    Use user_videos for the videos that stay on the profile.

TikTok Help Center vs EveryInfra

How the TikTok Help Center and EveryInfra user_stories compare on how long a story lasts and what it holds:

ComparedTikTok Help CenterEveryInfra
How long a story lasts\"share photos and videos that stay visible for 24 hours\"expires_at is when each story disappears, 24 hours after it was posted.
What a story holds\"Select Photo, Text, or a video time limit.\"media_type is photo or video; photo stories carry images and image_urls.

The quotes come from the TikTok Stories page of the TikTok Help Center, which we checked on 2026-12-01. These rows compare only how long a story lasts and what it holds. Official sources: TikTok Stories

Limits and gotchas

  • username is required: a handle such as nasa (a leading @ is removed), a profile link or the account's sec_uid. A value in the wrong form is rejected (422) before you are charged.
  • Most accounts have no story up most of the time, which returns an empty list, and so does a private account. An account that does not exist returns an empty result with empty_reason account_not_found. None of these is charged.
  • One call returns every current story; there is no page_token and no limit.
  • Image and video links are signed and expire.

Pricing

You pay $0.000875 per call, not per row. One call returns all of the account's current stories. Failed calls and empty results are not charged.

CallsCost
10,000$8.75
100,000$87.50
1,000,000$875.00

Totals use the list price per call.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "tiktok",
  "action": "user_stories",
  "params": {
    "username": "cnn"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

API reference

See the parameters, response fields, errors and billing for user_stories, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra TikTok Account stories endpoint (tiktok/user_stories).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to tiktok and action to user_stories, and put the parameters inside params.
- Required parameters:
  - username: A TikTok username such as cnn (a leading @ is removed), a profile link, or the account's sec_uid. An account with no story up returns an empty list.
- Optional parameters:
  - limit: Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more.
- Returns a list of records. Main fields of each record: id, url, text, author_name, author_username, like_count, comment_count, share_count, view_count, posted_at, collect_count, repost_count; 71 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=tiktok.
- Example request body:
{
  "platform": "tiktok",
  "action": "user_stories",
  "params": {
    "username": "cnn"
  }
}
- Price: $0.88 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYestiktokPlatform identifier, fixed value.
actionbodystringYesuser_storiesCapability identifier, fixed value.
usernamebody.paramsstringYes-A TikTok username such as cnn (a leading @ is removed), a profile link, or the account's sec_uid. An account with no story up returns an empty list; an account that does not exist returns 200 with an empty result and empty_reason set to account_not_found. Neither is charged.
limitbody.paramsinteger (1–)No-Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without limit, whatever the value.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "tiktok",  "action": "user_stories",  "results": [    {      "id": …,      "url": …,      "text": …,      "author_name": …,      "author_username": …,      "like_count": …,      "comment_count": …,      "share_count": …,      "view_count": …,      "posted_at": …,      "collect_count": …,      "repost_count": …,      "duration_sec": …,      "duration_seconds": …,      "cover_image_url": …,      "language": …,      "country": …,      "hashtags": …,      "music": …,      "is_ad": …,      "is_pinned": …,      "is_sponsored": …,      "is_slideshow": …,      "has_shop_product": …,      "author_id": …,      "author_url": …,      "author_avatar_url": …,      "author_bio": …,      "author_is_verified": …,      "author_is_private": …,      "author_is_seller": …,      "author_follower_count": …,      "author_following_count": …,      "author_like_count": …,      "author_video_count": …,      "platform": …,      "author_sec_uid": …,      "media_type": …,      "mentions": …,      "hashtags_detail": …,      "mentions_detail": …,      "images": …,      "image_urls": …,      "image_count": …,      "expires_at": …,      "video_play_url": …,      "video_size_bytes": …,      "video_bitrates": …,      "definition": …,      "width": …,      "height": …,      "dynamic_cover_url": …,      "origin_cover_url": …,      "music_duration_sec": …,      "caption_languages": …,      "poi": …,      "category_type": …,      "aigc_label": …,      "is_aigc": …,      "is_private": …,      "comments_disabled": …,      "duet_enabled": …,      "stitch_enabled": …,      "share_enabled": …,      "view_count_estimated": …,      "like_count_estimated": …,      "comment_count_estimated": …,      "share_count_estimated": …,      "author_follower_count_estimated": …,      "author_following_count_estimated": …,      "author_like_count_estimated": …,      "author_video_count_estimated": …    }  ],  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
author_nameAuthor's display name.
author_usernameAuthor's username (@handle), usually usable in URLs.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countComments. null means not disclosed, not 0.
share_countShares. null means not disclosed, not 0.
view_countViews or plays. null means not disclosed, not 0.
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
collect_countSaves or favorites. null means not disclosed, not 0.
repost_countReposts (as distinct from quote posts). null means not disclosed.
duration_secDuration in seconds, the same value as duration_seconds (both names are returned): the video's length on video rows, the sound's length on music_search, music_chart and music_detail. In top_ads, the length of the ad video, with decimals.
duration_secondsDuration in seconds. null for content that is not video or audio.
cover_image_urlVideo cover image link (signed, expires).
languageContent language code (for example zh, en) as judged by the platform; it can be wrong.
countryCountry or region: a full name or an ISO code depending on the platform, not normalized.
hashtagsHashtags in the text, in order of appearance; absent when there are none.
musicBackground music: id, title (track name), author, is_original (whether it is an original sound), play_url (audio URL, expires), cover_url (usually absent in search results).
is_adWhether the video is an ad. Usually absent in search results; may be absent in user_videos results.
is_pinnedWhether it is pinned on the author's profile.
is_sponsoredWhether it contains sponsored content. Usually absent in search and user_videos results.
is_slideshowWhether it is a photo carousel (not a video).
has_shop_productWhether the video has a TikTok Shop product attached; if the key is absent, it cannot be determined. Usually absent in search and user_videos results.
author_idAuthor's unique ID on the platform.
author_urlLink to the author's profile on the platform.
author_avatar_urlAuthor's avatar image link (on most platforms signed and expires).
author_bioThe author's profile bio; not returned on some requests and may be absent in user_videos results.
author_is_verifiedWhether the author has a verified badge; not returned on some requests.
author_is_privateWhether the author's account is private.
author_is_sellerWhether the author is a TikTok Shop seller. Usually absent in user_videos results.
author_follower_countAuthor's follower count. null means not disclosed.
author_following_countHow many accounts the author follows; not returned on some requests.
author_like_countTotal likes the author's profile has received; not returned on some requests.
author_video_countTotal number of videos the author has posted; not returned on some requests.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
author_sec_uidThe account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, playlist_videos, user_reposts and user_stories, the post author's account; in user_playlists, the playlist owner's account.
media_typePost type: always photo in photos; video or photo in playlist_videos, user_reposts and user_stories.
mentionsUsernames of the accounts mentioned with @ in the post (photos, playlist_videos, user_reposts, user_stories).
hashtags_detailHashtags in the post with their IDs (playlist_videos, user_reposts, user_stories): [{id, name}].
mentions_detailAccounts mentioned with @ in the post, with their IDs (playlist_videos, user_reposts, user_stories): [{id, username, sec_uid}].
imagesEvery image of a photo post (photos, and photo stories in user_stories), in the post's order: [{url, width, height}], with width and height in pixels. Image links expire, so download the ones you keep soon.
image_urlsLink to each image in a photo (carousel) post (video_download, photos, playlist_videos, user_reposts, user_stories; in photos and user_stories the same images as images, in the post's order); links to all of a product's main images (shop_search, shop_category_products, shop_products); on shop_search the first is the same as cover_url.
image_countNumber of images in the photo post (photos, and photo posts in playlist_videos, user_reposts and user_stories).
expires_atExpiry time of the download URL (video_download, ISO; about 6 hours after the call). Call again after it expires. In user_stories, when the story disappears (ISO 8601, UTC, 24 hours after it was posted).
video_play_urlThe video link TikTok's web player uses (playlist_videos, user_reposts, user_stories); signed and expires, absent for photo posts. For a downloadable file without the watermark, use video_download.
video_size_bytesSize of the video_play_url file in bytes (playlist_videos, user_reposts, user_stories).
video_bitratesThe quality levels TikTok's web player offers (playlist_videos, user_reposts, user_stories): [{url, quality, codec, bitrate, width, height, size}], with bitrate in bits per second and size in bytes; links are signed and expire.
definitionThe video's quality level, such as 720p (playlist_videos, user_reposts, user_stories).
widthWidth of the watermark-free video file in pixels (video_download); absent for photo posts. In playlist_videos, user_reposts and user_stories, the width of the video frame. In top_ads, the width of the ad video's frame.
heightHeight of the watermark-free video file in pixels (video_download); absent for photo posts. In playlist_videos, user_reposts and user_stories, the height of the video frame. In top_ads, the height of the ad video's frame.
dynamic_cover_urlLink to the video's animated cover (playlist_videos, user_reposts, user_stories); signed and expires.
origin_cover_urlLink to the video's original cover image (playlist_videos, user_reposts, user_stories); signed and expires.
music_duration_secLength of the background music in seconds (photos, playlist_videos, user_reposts, user_stories).
caption_languagesLanguages of the captions TikTok generated for the video, such as eng-US (playlist_videos, user_reposts, user_stories).
poiThe place tagged on the post (playlist_videos, user_reposts, user_stories): id, name, address, city, province, country and category, each only when it has a value.
category_typeThe post's category type, a numeric code from TikTok (photos, playlist_videos, user_reposts, user_stories).
aigc_labelTikTok's label for AI-generated content, as written (playlist_videos, user_reposts, user_stories); absent when there is none.
is_aigcWhether the post is AI-generated content (photos, playlist_videos, user_reposts, user_stories).
is_privateWhether the account is private; in playlist_videos, user_reposts and user_stories, whether the post itself is set to private.
comments_disabledWhether comments are turned off on the post (photos, playlist_videos, user_reposts, user_stories).
duet_enabledWhether Duet is allowed on the post (photos, playlist_videos, user_reposts, user_stories).
stitch_enabledWhether Stitch is allowed on the post (photos, playlist_videos, user_reposts, user_stories).
share_enabledWhether the post can be shared (photos, playlist_videos, user_reposts, user_stories).
view_count_estimatedWhether view_count is an approximate figure (photos, playlist_videos, user_reposts, user_stories): from 10,000 up, TikTok's page shows a rounded count (35.2K is stored as 35200) and this is true.
like_count_estimatedWhether like_count is an approximate figure (photos), by the same rule as view_count_estimated.
comment_count_estimatedWhether comment_count is an approximate figure (photos), by the same rule as view_count_estimated.
share_count_estimatedWhether share_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_follower_count_estimatedWhether author_follower_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_following_count_estimatedWhether author_following_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_like_count_estimatedWhether author_like_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_video_count_estimatedWhether author_video_count is an approximate figure (photos), by the same rule as view_count_estimated.

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

FAQ

What does the TikTok stories API return?

One row per story the account has up now, oldest first: the video fields, media_type, expires_at and, for photo stories, images and image_urls.

Why is the result empty?

Most accounts have no story up most of the time. An empty list is not an error and is not charged.

How long does a story stay up?

24 hours after it was posted; expires_at gives the exact time.

How much does it cost to read an account's stories?

It costs $0.000875 per call, or $0.88 per 1,000 calls. Failed calls and empty results are not charged.

You can call the other TikTok endpoints with the same EveryInfra API key, for example user_videos.

Google Analytics needs consent. Privacy