# TikTok Organization Profile Metrics (`varnmill/tiktok-organization-metrics`) Actor

Public verified business profile counters for organization analysts: followers, following, likes and video totals with source provenance. No videos or personal profiles.

- **URL**: https://apify.com/varnmill/tiktok-organization-metrics.md
- **Developed by:** [Jay Novello](https://apify.com/varnmill) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 organization profile snapshots

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Organization Profile Metrics

On November 5, 2026, one anonymous local request to the public Netflix organization profile returned this actual summary:

```json
{
  "type": "organization_profile",
  "id": "153261143199891456",
  "handle": "netflix",
  "displayName": "Netflix",
  "url": "https://www.tiktok.com/@netflix",
  "sourceUrl": "https://www.tiktok.com/@netflix",
  "capturedAt": "2026-11-05T08:34:16.788095+00:00",
  "verified": true,
  "businessAccount": true,
  "privateAccount": false,
  "followers": 54175268,
  "following": 454,
  "likes": 1857561663,
  "videos": 8206,
  "metricSources": {
    "followers": "statsV2.followerCount",
    "following": "statsV2.followingCount",
    "likes": "statsV2.heartCount",
    "videos": "statsV2.videoCount"
  },
  "metricAccuracy": "source_reported; not independently audited; legacy stats may be rounded",
  "missingFields": [],
  "coverage": "public_organization_profile_summary_only",
  "includesVideos": false,
  "includesFollowers": false
}
```

Export a dated, source-linked organization metrics row to CSV or JSON for recurring brand reporting. Paid demand is unproven.

### Scope

Public verified business accounts supplied by an organization or brand analyst. Use organization accounts only. A verification badge and business-account flag are source checks, not proof that every eligible account is an organization. No personal profiles, contact details, private accounts, followers/member lists, video extraction or comments. Missing public source data fails explicitly; no login, CAPTCHA bypass, signed endpoint generation or residential proxy.

Prefer integer strings from `statsV2` when present. Legacy `stats` may round counters. Fields record their source path; none are independently audited analytics. Source values can change between requests. Missing optional fields stay null, while missing required follower/video totals fail.

### Pricing and scope

Pricing: $1.49 per 1,000 delivered organization profiles plus $0.00005 per start, all tiers equal. One-profile example would be $0.00154. The $3/1k Clockworks profile leader bundles video rows; Apidojo is cheaper. No universal price or reliability advantage is claimed.

### Local usage

From this folder:

```sh
../.venv-shared/bin/python -m pytest -q tests
../.venv-shared/bin/python -m src.sample @netflix /path/inside/actors/sample.json
```

The sample CLI writes one JSON record, performs at most two requests with a five-second absolute deadline each, limits responses to 2 MB and refuses redirects/403/429 without retry. It is not an Apify billing implementation.

### Actor input and billing

```json
{"organizationProfiles":["@netflix"]}
```

Provide 1–10 organization profiles. One successful profile produces one billed `organization-profile` dataset row. The SDK enforces the spending ceiling before delivery; a denied row is not counted as delivered. Invalid or unsupported source profiles are not charged a result event. The start fee still applies, and failed runs may retain previously delivered and billed profiles. `OUTPUT` records per-target errors and completeness. Each new run captures a fresh full snapshot and bills it again even if counters have not changed.

| Event | Price, all tiers |
|---|---:|
| Delivered organization profile | $0.00149 |
| Actor start, minimum one GB | $0.00005 |

A one-profile snapshot costs $0.00154. Platform usage is included in event pricing. A resurrected run uses its existing dataset to avoid redelivery and recharging of delivered profiles, and its saved profile captures to resume interrupted delivery. Deleting run storage breaks recovery. Concurrent independent runs have separate datasets and each bills its own snapshot. This is not change-only monitoring.

### FAQ

**Does it return videos or followers?** No. `videos` and `followers` are source-reported totals, not extracted lists. The source verification/business flags alone do not establish that an account is an organization; submit organization accounts only.

**Are the counts exact?** They are public source claims. `statsV2` integer strings are preferred to potentially rounded legacy `stats`. Required follower and video counters must be available. Optional unavailable metrics are null and listed in `missingFields`.

**What happens on blocked pages?** Redirects, 403 and 429 fail without bypass or retry. Network errors and server errors receive at most one retry with a five-second total deadline per attempt. Private profiles, missing bootstrap data and unsupported account types fail explicitly. A failed target does not erase prior successful rows.

### Measured examples and limits

On November 5, 2026, private cloud checks returned one Netflix profile in 3.526 seconds, three organization profiles in 4.723 seconds and ten in 7.722 seconds, with one result event per delivered row. These are individual owner tests, not guaranteed speed or customer revenue. Full snapshots bill again on every new run. Use a spending ceiling of at least $0.00154, enough for the start and one profile. Ten profiles cost $0.01495 before any additional restart.

A ten-target mixed check returned eight rows and explicitly rejected ESPN and Ryanair because their source did not satisfy the required verified-business flags. Organization ownership alone does not guarantee eligibility. All previous successful rows survived the failure. Missing accounts and refusals produce no profile charge; failed attempts still consume platform resources and the start charge. No private/profile-login bypass is attempted.

In a single identical Netflix input comparison, this actor and Clockworks' TikTok Profile Scraper returned the same organization account ID. Our base whole-run price was $0.00154; the leader's one result cost $0.003 and also included a video. Our response exposed `statsV2` integer counters while that leader output had rounder follower and like values. Neither is audited analytics, and counts can change between requests. Clockworks includes broader video data and can be cheaper on higher tiers. Apidojo and manual public browsing are other alternatives. No universal cheapest or superior-accuracy claim is made.

### Spreadsheet workflow

1. Enter 1–10 public organization profiles and a sufficient spending ceiling.
2. Run the actor and inspect `OUTPUT`: `complete` confirms all requested targets were delivered. A failed run can still contain useful billed rows, so inspect target errors.
3. Export the dataset to CSV. Join successive exports by `id` and compare counters using `capturedAt`; missing optional values remain null. Changes are source counter differences, not attributed reach, sales or impressions.
4. Schedule only the reporting frequency you need. Every new full snapshot is billable; resurrection is for resuming the same interrupted run.

### Changelog

- 2026-11-05: Store-backed build admitted; strict identity/business/privacy parser, bounded HTTP transport and local sample CLI implemented. 39 tests pass; real Netflix sample succeeds. No cloud build or publication.

- 2026-11-05 evening: SDK runner, dataset-ledger recovery, cap/cancellation integration tests, schemas and Docker configuration implemented; 53 tests pass. Private 1/3/10-profile, cap/recovery, partial failure and identical-input leader checks passed. Controlled loopback retry diagnostics used identical engine/parser/transport code; they do not establish live-source retry reliability.

# Actor input Schema

## `organizationProfiles` (type: `array`):

1–10 organization handles or HTTPS TikTok profile URLs. Organizations only; each source must be public, verified and marked as a business account. Duplicate handles are normalized. Personal profiles, private accounts, videos and contacts are unsupported.

## Actor input object example

```json
{
  "organizationProfiles": [
    "@netflix"
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "organizationProfiles": [
        "@netflix"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("varnmill/tiktok-organization-metrics").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 = { "organizationProfiles": ["@netflix"] }

# Run the Actor and wait for it to finish
run = client.actor("varnmill/tiktok-organization-metrics").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 '{
  "organizationProfiles": [
    "@netflix"
  ]
}' |
apify call varnmill/tiktok-organization-metrics --silent --output-dataset

```

## MCP server setup

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

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/UhvbgCBNCS7DtPYPU/builds/okqaA8rgnMLZUMue7/openapi.json
