# Monitor Public Health Agency Videos on TikTok

**Use case:** 

Track public videos from health agencies for campaign monitoring and rapid review. The scheduled feed includes new video rows and profile rows with followerCount, videoCount, displayName and profileUrl. Change usernames to monitor other public accounts.

## Input

```json
{
  "usernames": [
    "who",
    "cdcgov",
    "NHSuk",
    "healthcanada"
  ],
  "contentTypes": [
    "profile",
    "videos"
  ],
  "maxPostsPerProfile": 10,
  "maxItems": 0,
  "includeProfileInfo": true,
  "oldestPostDate": "",
  "newestPostDate": "",
  "includeLiveStatus": true,
  "computedStats": false,
  "onlyNewVideos": true,
  "pinnedFirst": false
}
```

## Output

```json
{
  "rowType": {
    "label": "Row Type",
    "format": "text"
  },
  "username": {
    "label": "Username",
    "format": "text"
  },
  "displayName": {
    "label": "Display Name",
    "format": "text"
  },
  "followerCount": {
    "label": "Followers",
    "format": "number"
  },
  "videoCount": {
    "label": "Videos",
    "format": "number"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The TikTok Account Stats & Repost History Scraper Actor is ready to run with the inputs already set for "Monitor Public Health Agency Videos on TikTok". [Sign up or log in](https://console.apify.com/create-task-from-example/x4eZqZAklH5MEWcWk) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor Public Health Agency Videos on TikTok" task

The TikTok Account Stats & Repost History Scraper Actor will start running based on the input automatically. You can also change all the input fields, like tiktok usernames, what to collect per account, and more, to match your specific use case.

### 3. Receive the "Monitor Public Health Agency Videos on TikTok" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, username, display name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor Public Health Agency Videos on TikTok" task via API](https://apify.com/vexaloom-labs/tiktok-account-stats-and-repost-history-scraper.md).

## FAQ

### How do I monitor new TikTok videos from public health agencies?

Schedule the public health TikTok task with the listed accounts and new-video monitoring enabled. Its first run returns videos up to the account limit; later runs return videos posted since each account’s previous run.

### What data does the public health TikTok task return?

The public health TikTok task returns profile rows with displayName, followerCount, videoCount and profileUrl, plus video rows when requested. The dataset also includes username, rowType and scrapedAt.

### How do I change which public health accounts are monitored?

Edit the account list in your copied public health TikTok task to use other public usernames or profile URLs. The task accepts usernames with or without @ and removes duplicates.

### Can I export public health TikTok data to CSV or Excel?

The public health TikTok task saves results in a dataset that you can download as CSV or Excel, among other formats, or read through the Apify API.

### Can I schedule the public health TikTok task or run it through an API?

You can schedule the public health TikTok task with Apify Schedules, run it through the Apify API, or use integrations such as Zapier, Make and n8n.

### How many videos can the public health TikTok task return?

The public health TikTok task uses a default limit of 30 post rows per account, and the input can set a different per-account cap. A global row cap is also available; 0 means no global cap.

## About this Actor

This example demonstrates how to use [TikTok Account Stats & Repost History Scraper](https://apify.com/vexaloom-labs/tiktok-account-stats-and-repost-history-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vexaloom-labs/tiktok-account-stats-and-repost-history-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vexaloom-labs/tiktok-account-stats-and-repost-history-scraper.md

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`).
