# Scores

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

> Outlier and velocity, how a creator baseline is built, what confidence means, and when a score stops being reported.

- Price: 9 credits per score, always fetched fresh.
- Baseline: The creator's last 20 videos, leaving out any under 48 hours old. One baseline per creator, the same for every video of theirs.
- Confidence: `high` from 5 usable videos. Below that, a follower-size benchmark stands in and confidence is `low`.
- Age: Videos older than 30 days get no view scores. Those fields are `null` with `reason: aged_out`.

A view count on its own says little. Two hundred thousand views is a bad week for one creator and a record for another. Every score here is relative: how this video did against the creator who posted it, and how fast it is still gaining views.

Scores are numbers only. There are no labels, no grades and no “viral” flag. Where you draw the line is your decision.

## A score compares a video with its own creator

Outlier is a multiple of the creator’s median views. Above 1 means this video beat their usual, and below 1 means it did not. Because it is a ratio, it compares creators of very different sizes, which raw views cannot do.

Velocity is views per hour. Outlier says where a video ended up, and velocity says whether it is still gaining. A modest outlier with high velocity is worth watching. The same outlier with velocity near zero has stopped growing.

## When to use a score

Use a score when you have a specific video and want to know whether it beat its creator’s usual. Other calls cover the neighbouring questions:

| Your question | Use |
| --- | --- |
| Did this video beat its creator's usual, and is it still growing | `POST /v1/videos/{platform}/{id}/score` |
| The numbers for one video, with scores if its creator already has a baseline | `GET /v1/videos/{platform}/{id}` |
| Which videos in a page of search hits are outliers | `POST /v1/videos/search`, then score the ones you care about |
| Which videos stand out across a whole niche | [Research](https://www.shortsintel.com/docs/concepts/research) |

## How a score is computed

1. Builds the creator's baseline. The baseline is the creator’s own yardstick, built from their last 20 videos by posted time. Videos under 48 hours old are left out, because their views are still climbing and would drag the median down. A creator has one baseline, and every video of theirs is measured against it, so two scores on the same creator always share a yardstick.
2. Divides the video's views by the baseline. Views over the median give `outlier`, views over the 90th percentile give `outlier_p90`, and the video’s place in the sample gives `percentile`.
3. Compares engagement with the baseline. The video’s own `engagement_rate` is its reported interactions over its views. When that is under 20% of the baseline’s rate, `anomaly` is `true`: the views did not come with the engagement this creator usually gets, which is how paid or boosted reach reads. Those videos are left out of the baseline, so boosted reach does not raise the median and p90 the organic videos are measured against.
4. Measures velocity. Velocity is measured between the newest Snapshot and the newest one at least 1 hour older, with `window: snapshot`. Without two such Snapshots, it is views averaged over the video’s life, with `window: lifetime`. `since` is where the window starts: the earlier Snapshot, or the post time.
5. Returns the baseline with the score. The full baseline comes back on every scored response, so you can recompute any number or apply your own threshold to the same sample.

The exclusion matters because an outlier of 3.4 only means something if everyone computing it left out the same videos.

## Every field

The scores on the video, from the example response of `POST /v1/videos/{platform}/{id}/score`:

| Field | What it means |
| --- | --- |
| `outlier` | Views divided by the creator's median views. 1 is a typical video for them. 3.4 means three and a half times their usual. |
| `outlier_p90` | The same multiple against the creator's 90th-percentile video, which tells a hit apart from a hit among their hits. |
| `percentile` | Where this video sits inside the creator's own sample, 0 to 100. |
| `velocity` | Views per hour, with the `window` it was measured over (`snapshot` or `lifetime`) and `since`, when that window starts. |
| `engagement_rate` | This video's own engagement rate: the interactions the platform reports (likes, comments, shares, saves) over views. On Instagram that is likes plus comments over views. |
| `anomaly` | True when `engagement_rate` is under 20% of the baseline's `engagement_rate`. Views that far ahead of engagement usually mean paid or boosted reach. `null` when either rate is unknown. |
| `reason` | Why a number is missing when it is. Today the only value is `aged_out`. |
| `baseline` | The yardstick every number above was measured against, quoted in full so a score can be recomputed or checked. |

The baseline on the creator:

| Field | What it means |
| --- | --- |
| `median_views` | Median views across the sample. The denominator of `outlier`. |
| `p90_views` | The sample's 90th percentile. The denominator of `outlier_p90`. |
| `engagement_rate` | Mean of likes, comments, shares and saves over views across the sample. |
| `posts_per_week` | How often this creator posts, over the same window. |
| `sample` | How many videos went into the baseline. Videos flagged `anomaly` are left out. |
| `confidence` | `high` once the sample is big enough, `low` otherwise. |
| `source` | `videos` when the figures came from this creator's own posts, `follower_tier` when there were too few and a benchmark stood in. |
| `computed_at` | When the baseline was last computed. |
| `stale` | True past 7 days. The next lookup recomputes it. |

## Low confidence means the baseline was estimated

`confidence` is `high` once the baseline has at least 5 usable videos behind it. Below that, a median measures nothing useful. The baseline falls back to a benchmark for the creator’s follower size, is marked `low`, and sets `source` to `follower_tier`.

The benchmark’s 90th percentile is 3 times its median. A low-confidence score is still a useful number, but it is an estimate about a creator with little history. Check `source` before a score makes a decision on its own.

A baseline goes stale after 7 days and is recomputed by the next lookup. A creator you look up regularly is measured against their recent videos.

## When a score ages out

Past 30 days the view scores are no longer reported. `outlier`, `outlier_p90`, `percentile` and `velocity` come back `null` with `reason` set to `aged_out`. This is a normal response, and `null` here does not mean zero. `engagement_rate` and `anomaly` are still reported, because a rate does not grow with a video’s age.

Velocity on a year-old video averages a year of little activity, and an outlier against a baseline the creator has outgrown compares two different stages of their career. Branch on `reason` rather than on a missing field, and score videos while they are young.

## Which calls carry scores

`GET /v1/videos/{platform}/{id}` carries scores whenever the creator already has a baseline, and `null` when they do not. A lookup does not fetch a creator’s history on its own.

`POST /v1/videos/{platform}/{id}/score` is what forces that fetch. That is why it costs 9 credits and is never served from store. Search results are never scored, for the same reason. See [the reference](https://www.shortsintel.com/docs/reference) for which operations carry which.

## Limits and prices

| Limit | Value |
| --- | --- |
| Price per score | 9 credits, never served from store |
| `POST /v1/videos/{platform}/{id}/score` | TikTok only. Other platforms get scores through a Creator lookup. |
| Baseline window | The creator's last 20 videos |
| Youngest video in a baseline | 48 hours old |
| Sample for `confidence: high` | At least 5 usable videos |
| Follower-tier 90th percentile | 3 times the tier median |
| Baseline goes stale after | 7 days |
| Oldest video that gets a score | 30 days |
| Shortest `snapshot` velocity window | 1 hour |

## Example: score a video

Score one video by its platform and id. The response carries the scores on the video and the baseline on the creator:

`POST /v1/videos/{platform}/{id}/score` · 9 credits, always fresh

curl:

```bash
curl -X POST "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/score?wait=30" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/score?wait=30",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.post(
    "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/score?wait=30",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

[Run it in the Playground](https://www.shortsintel.com/console/playground?op=scoreVideo&platform=tiktok&id=7300000000000000000) (no API Key needed)

200 · The Run finished inside the wait budget: `{ run, result }`. With `estimate=true`, `{ estimate_credits, cached }` instead.

```json
{
  "run": {
    "id": "run_8f2c1ad04b",
    "kind": "video_score",
    "status": "completed",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": "2026-09-08T09:14:04.930Z",
    "charge_credits": 9,
    "list_price_credits": 9,
    "cached": false
  },
  "result": {
    "video": {
      "platform": "tiktok",
      "id": "7300000000000000000",
      "url": "https://www.tiktok.com/@someone/video/7300000000000000000",
      "description": "3 minutes at 4°C every morning for 30 days. Here is what actually changed. #coldplunge #recovery",
      "posted_at": "2026-09-05T06:32:11.000Z",
      "duration_seconds": 41,
      "thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/tos-cover-7300000000000000000.jpeg",
      "hashtags": [
        "coldplunge",
        "recovery",
        "morningroutine"
      ],
      "sound": {
        "id": "7180000000000000000",
        "title": "original sound - someone",
        "author": "someone",
        "is_original": true,
        "commercial_use": null
      },
      "sound_mix": {
        "sound_volume": 0,
        "original_volume": 50,
        "mix": "voiceover"
      },
      "creator": {
        "id": "cre_9d4b2a7f1c",
        "handle": "someone",
        "name": "Someone",
        "follower_count": 184300,
        "avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
        "verified": false
      },
      "region": "US",
      "language": "en",
      "title": null,
      "commerce": {
        "is_ad": false,
        "paid_partnership": null,
        "affiliate": null,
        "shop_url": null,
        "anchors": [
          {
            "kind": "54",
            "label": "CapCut · Editing made easy"
          }
        ],
        "products": [],
        "seller_ids": null,
        "sales_event": null
      },
      "people": {
        "mentions": [
          "coldplungeco"
        ],
        "collaborators": []
      },
      "location": null,
      "topics": {
        "keywords": [],
        "genre": null,
        "labels": [
          "Fitness",
          "Health"
        ]
      },
      "suggested_searches": [
        "cold plunge benefits",
        "cold plunge"
      ],
      "on_screen_text": [
        {
          "text": "3 minutes at 4°C",
          "start_ms": 0,
          "end_ms": 2500
        }
      ],
      "chapters": null,
      "ai_generated": false,
      "is_pinned": null,
      "format": "short",
      "slides": null,
      "reactions": null,
      "most_replayed": null,
      "audio_languages": null,
      "is_sponsored": null,
      "sponsor": null,
      "snapshot": {
        "at": "2026-09-08T09:14:04.219Z",
        "views": 1284000,
        "likes": 143200,
        "comments": 2810,
        "shares": 9040,
        "saves": 21600
      },
      "engagement": {
        "at": "2026-09-08T09:14:04.219Z",
        "views": 1284000,
        "likes": 143200,
        "comments": 2810,
        "shares": 9040,
        "saves": 21600
      },
      "scores": {
        "outlier": 4.21,
        "outlier_p90": 1.6,
        "percentile": 95,
        "velocity": {
          "views_per_hour": 6698.6,
          "window": "snapshot",
          "since": "2026-10-03T08:00:00.000Z"
        },
        "engagement_rate": 0.1376,
        "anomaly": false,
        "reason": null,
        "baseline": {
          "median_views": 305000,
          "p90_views": 802000,
          "engagement_rate": 0.1342,
          "posts_per_week": 4.1,
          "sample": 20,
          "confidence": "high",
          "source": "videos",
          "computed_at": "2026-09-08T09:14:03.902Z",
          "stale": false
        }
      }
    },
    "creator": {
      "platform": "tiktok",
      "id": "cre_9d4b2a7f1c",
      "handle": "someone",
      "name": "Someone",
      "url": "https://www.tiktok.com/@someone",
      "avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
      "follower_count": 184300,
      "bio": "Cold water, early mornings, and the numbers behind both. Gear by @somebrand. hello@someone.example",
      "verified": false,
      "video_count": 214,
      "total_likes": 4210000,
      "following_count": 312,
      "links": [
        {
          "title": null,
          "url": "https://linktr.ee/someone"
        }
      ],
      "joined_at": "2020-01-14T09:12:40.000Z",
      "country": "US",
      "business": {
        "is_business": false,
        "category": null
      },
      "total_views": null,
      "contact": {
        "email": "hello@someone.example",
        "phone": null,
        "address": null,
        "website": null,
        "source": "bio"
      },
      "bio_mentions": [
        "somebrand"
      ],
      "snapshot": {
        "at": "2026-09-08T09:14:04.219Z",
        "followers": 184300
      },
      "stats": {
        "followers": 184300,
        "following": 312,
        "videos": 214,
        "likes": 4210000,
        "views": null
      },
      "baseline": {
        "median_views": 305000,
        "p90_views": 802000,
        "engagement_rate": 0.1342,
        "posts_per_week": 4.1,
        "sample": 20,
        "confidence": "high",
        "source": "videos",
        "computed_at": "2026-09-08T09:14:03.902Z",
        "stale": false
      }
    }
  }
}
```

## Questions about Scores

### How much does a score cost?

9 credits per video. A score always fetches the creator’s history fresh, so it is never served from store. A lookup also carries scores when the creator already has a baseline.

### Why is a video’s score null?

The video is older than 30 days, and `reason` says `aged_out`. Or it came from a lookup whose creator has no baseline yet, or from a search, which never scores. Score the video to build the baseline. If the creator has too little history for one, scoring answers `not_found` and charges nothing.

### Can I trust a low-confidence score?

Treat it as a reason to look closer. It rests on a follower-size benchmark because the creator had fewer than 5 usable videos. `source` reads `follower_tier` when that happened.

### What outlier counts as a hit?

There is no fixed line. Above 1 beats the creator’s median, and `outlier_p90` above 1 beats their 90th-percentile video. Pick the threshold that fits your use.

### How often is a baseline recomputed?

When it is older than 7 days, the next lookup recomputes it. `stale` and `computed_at` on the baseline say where it stands.
