# TikTok Story Viewer — Active Public Stories, Media & Stats (`memo23/tiktok-story-viewer`) Actor

Save the TikTok stories that are live on a profile right now. Pass usernames, @handles, or profile URLs and get one row per story: photo or video, posted time, expiry, media links, cover, plays, likes, comments, shares, saves, sound and author. No login. Empty accounts add no row.

- **URL**: https://apify.com/memo23/tiktok-story-viewer.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 stories

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Story Viewer

Export the stories that are live on a TikTok profile right now: photo or video, when it was posted, when it expires, the media link, cover, plays, likes, and the sound.

Give it a username. Get one row per active public story, ready for CSV or Excel.

### Why Use This Scraper?

Stories vanish within a day, so the only way to keep them is to save them while they are still on the profile.

Use it to watch a brand or a creator's daily stories without opening each profile, to archive the media link and the counts before the story expires, or to check a list of accounts in one run.

### Overview

This Actor reads public TikTok accounts and returns the stories currently showing on each profile. One story is one dataset row. An account with no live story adds nothing, which is a normal result, not a failed run.

Private accounts are skipped. There is no login and no cookies.

### Supported Inputs

| Input | Example |
|---|---|
| Bare username | `cnn` |
| With the @ | `@cnn` |
| Profile URL | `https://www.tiktok.com/@tiktokcreators` |

Many accounts in one run.

Not accepted: a link to a single video, a hashtag, or a search. Those are not accounts.

### Use Cases

| Who | What they do with it |
|---|---|
| Brand teams | Save a competitor's stories before they expire |
| Social reporting | Attach plays, likes and the sound to a daily story log |
| Creator research | See which accounts are posting stories today |
| Archives | Keep the media link, cover and photo slides while they still resolve |

### How It Works

![How it works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-tiktok-story.png)

1. Paste usernames, @handles, or profile URLs.
2. The run checks each account for stories that are live right now.
3. Each story becomes one row: type, times, media, counts, sound, author.
4. Download the dataset as JSON, CSV or Excel, or call it from the Apify API.

### Input Configuration

| Field | Required | Default | What it does |
|---|---|---|---|
| `handles` | Yes | — | Usernames, @handles, or profile URLs. Example: `@cnn` |
| `maxStoriesPerProfile` | No | 30 | Stop after this many stories on one account. 1–100. |

One account:

```json
{ "handles": ["@cnn"] }
```

A list, capped at five stories each:

```json
{
  "handles": ["@cnn", "https://www.tiktok.com/@tiktokcreators"],
  "maxStoriesPerProfile": 5
}
```

On the free Apify plan a run checks at most 3 accounts and returns at most 20 stories. The first 3 stories are complete. Later rows keep the id, account, caption and dates, and leave the media links empty.

### Output Overview

Each row is one story that was live at run time. Video stories carry a playback link and a watermarked link. Photo stories carry `imageUrls` and leave the video links empty. Counts are numbers. A field TikTok does not show, such as sticker text or a sound playback link, is `null`.

`expiresAt` is about 24 hours after `createdAt`. After that the media links stop working.

### Output Samples

A video story from `@tiktokcreators` on 24 Nov 2026:

```json
{
  "storyId": "7711406524882685215",
  "storyUrl": "https://www.tiktok.com/@tiktokcreators/video/7711406524882685215",
  "storyType": "video",
  "profileUrl": "https://www.tiktok.com/@tiktokcreators",
  "authorUsername": "tiktokcreators",
  "authorNickname": "tiktok creators",
  "authorVerified": true,
  "authorFollowerCount": 9000000,
  "createdAt": "2026-11-23T16:36:38.000Z",
  "expiresAt": "2026-11-24T16:36:38.000Z",
  "caption": null,
  "stickerText": null,
  "region": null,
  "durationSeconds": 12,
  "width": 720,
  "height": 1280,
  "fileSizeBytes": 1984472,
  "playCount": 19800,
  "likeCount": 1755,
  "commentCount": 0,
  "shareCount": 21,
  "saveCount": 0,
  "musicTitle": "Woo",
  "musicAuthor": "Rihanna",
  "musicAlbum": "ANTI - Deluxe",
  "musicDurationSeconds": 60,
  "musicIsOriginal": false,
  "musicPlayUrl": null,
  "videoUrl": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ogkD5urEEewDUBn...",
  "videoUrlWatermarked": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ooaGrDEpuQDignA...",
  "coverUrl": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oIPuMBSDrBapwliFEAsGpAEiEDn...",
  "imageUrls": []
}
```

The media links above are shortened. On a photo story, `videoUrl` and `videoUrlWatermarked` are null and `imageUrls` lists the slides.

### Key Output Fields

**Story**
`storyId`, `storyUrl`, `storyType` (`video` or `photo`), `createdAt`, `expiresAt`, `caption`, `stickerText`, `region`

**Media**
`durationSeconds`, `width`, `height`, `fileSizeBytes`, `videoUrl`, `videoUrlWatermarked`, `coverUrl`, `dynamicCoverUrl`, `originCoverUrl`, `imageUrls`

**Engagement**
`playCount`, `likeCount`, `commentCount`, `shareCount`, `saveCount`

**Sound**
`musicId`, `musicTitle`, `musicAuthor`, `musicAlbum`, `musicDurationSeconds`, `musicIsOriginal`, `musicCoverUrl`, `musicPlayUrl`

**Author**
`authorId`, `authorUsername`, `authorNickname`, `authorVerified`, `authorPrivate`, `authorAvatarUrl`, `authorFollowerCount`, `authorSecUid`, `authorBio`, `profileUrl`, `scrapedAt`

### FAQ

**Why did an account I know return nothing?**
It had no story live at that moment, or the account is private. Stories are gone within a day. Run it again while the ring is on the profile.

**Do I get old stories?**
No. Only stories that are still public when the run starts.

**Will the video link keep working?**
Only until the story expires. Download the file if you need to keep it.

**What about sticker text and region?**
They are filled when TikTok includes them. On many stories they are `null`.

**What does a run cost?**
One charge per story saved. An account with no live story is not charged a result. Prices are on the Pricing tab.

### Support

Found a bug or need a field added? Open an issue on the [Issues tab](https://console.apify.com/actors/cpxMYAVIKbnFPDhxy/issues), or email <muhamed.didovic@gmail.com>.

### Additional Services

Need a scheduled watch on a fixed list of accounts, or another TikTok dataset next to this one? Email <muhamed.didovic@gmail.com>.

### Explore More Scrapers

- **[TikTok Profile Scraper](https://apify.com/memo23/tiktok-profile-scraper)** — bio, follower counts and profile stats
- **[TikTok Post Scraper](https://apify.com/memo23/tiktok-post-scraper)** — permanent posts, not stories
- **[TikTok Live Scraper](https://apify.com/memo23/tiktok-live-scraper)** — livestreams, viewers and gifters
- **[TikTok Video Downloader](https://apify.com/memo23/tiktok-video-downloader)** — a post's MP4, cover and audio

Browse the full portfolio: [muhamed-didovic.github.io](https://muhamed-didovic.github.io/)

### 🤖 For AI Agents & LLM Apps

**Purpose:** Return the public TikTok stories that are live on the given accounts, one flat row per story.

**Minimal tested input:**

```json
{ "handles": ["@tiktokcreators"] }
```

Tested 24 Nov 2026: that input returned 4 video stories.

**Output fields:** `storyId`, `storyUrl`, `storyType`, `profileUrl`, `createdAt`, `expiresAt`, `caption`, `stickerText`, `region`, `durationSeconds`, `width`, `height`, `fileSizeBytes`, `videoUrl`, `videoUrlWatermarked`, `coverUrl`, `dynamicCoverUrl`, `originCoverUrl`, `imageUrls`, `playCount`, `likeCount`, `commentCount`, `shareCount`, `saveCount`, `musicId`, `musicTitle`, `musicAuthor`, `musicAlbum`, `musicDurationSeconds`, `musicIsOriginal`, `musicCoverUrl`, `musicPlayUrl`, `authorId`, `authorUsername`, `authorNickname`, `authorVerified`, `authorPrivate`, `authorAvatarUrl`, `authorFollowerCount`, `authorSecUid`, `authorBio`, `scrapedAt`.

**Behavior and billing:** Pay per story row. Accounts with no live story, unknown usernames and private accounts add no row and do not fail the run. A run where every account failed to load fails. `storyType` is `video` or `photo`. `imageUrls` is empty for videos. `musicPlayUrl`, `stickerText` and `region` are often null. No login.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by TikTok or ByteDance Ltd. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available TikTok stories — no authenticated endpoints, paid features, or content behind a TikTok login. Users are responsible for ensuring their use complies with TikTok's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organization.

### SEO Keywords

tiktok story viewer, tiktok stories scraper, tiktok story downloader, export tiktok stories, tiktok story api, active tiktok stories, tiktok story data, tiktok story archive, tiktok story analytics, tiktok story media links, tiktok photo story, tiktok story engagement, tiktok story sound, monitor tiktok stories, brand tiktok stories, creator story tracker, social media story scraper, tiktok daily stories, tiktok story csv, tiktok story json, public tiktok stories, tiktok story expiry, competitor story monitoring

# Actor input Schema

## `handles` (type: `array`):

Usernames, @handles, or profile URLs. Each account returns its active public stories, one row per story. Example: @cnn or https://www.tiktok.com/@cnn

## `maxStoriesPerProfile` (type: `integer`):

Stop after this many active stories for each account. Default 30. Stories expire within a day, so most accounts have only a handful.

## Actor input object example

```json
{
  "handles": [
    "@cnn",
    "https://www.tiktok.com/@tiktokcreators"
  ],
  "maxStoriesPerProfile": 30
}
```

# Actor output Schema

## `stories` (type: `string`):

Active public stories saved to the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "handles": [
        "@cnn"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/tiktok-story-viewer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "handles": ["@cnn"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/tiktok-story-viewer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "handles": [
    "@cnn"
  ]
}' |
apify call memo23/tiktok-story-viewer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/tiktok-story-viewer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cpxMYAVIKbnFPDhxy/builds/LJgSdsMCw1m59iAIZ/openapi.json
