# How do I get the view count of a YouTube Short through an API?

> Read views, likes and comments of any public YouTube Short straight from its /shorts/ link, track a creator campaign daily, and pull its comments. Price and code.

Canonical page: https://okdata.online/answers/youtube-shorts-view-count/

**Short answer: **Pass the /shorts/ link to YouTube video detail; it returns the Short's views, likes and comment count like any other video, for $0.004 per check. A 25-Short campaign checked daily for a week is $0.70, and the comments under a Short come from YouTube video comments at $0.004 a page.

A skincare brand paid eight creators for 25 Shorts and wants a daily table of views until the campaign ends. The links all look like `youtube.com/shorts/abc123XYZ00`. The reporting APIs only cover channels you own, and the creators will not share their logins. What you can read is the public count, the same number anyone sees under the Short.

## Shorts links work as they are

[YouTube video detail](/apis/youtube/videos/get/) accepts the `/shorts/` link directly, so there is no need to rewrite it into a watch URL:

```bash
curl -s -G "https://api.okdata.online/v1/youtube/videos/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode "url=https://www.youtube.com/shorts/abc123XYZ00" \
  -d fields=id,title,author.name,published_at,metrics.views,metrics.likes,metrics.comments
```

Add `view=full` and `ext.duration_ms` tells you the length. A Short is a regular video record underneath, so all the same fields come back.

## What people say under the Shorts

The same 11-character ID goes into [YouTube video comments](/apis/youtube/videos/comments/list/) to read comments, top or latest first, with likes and reply counts. Shorts comment sections are often where you learn whether viewers noticed the product at all.

## Campaign costs

| Job | Calls | Cost |
|---|---|---|
| One Short, one check | 1 | $0.004 |
| 25 Shorts, daily for 7 days | 175 | $0.70 |
| First 2 comment pages on each of the 25 | 50 | $0.20 |

## Reading the numbers fairly

- YouTube changed how Shorts views are counted in 2025, so plays and replays count. Shorts numbers run high next to long videos; compare Shorts with Shorts.
- There is no history endpoint. Each call is a snapshot; keep `meta.fetched_at` with every row and build the curve yourself.
- Subscriber counts of the creators are not returned (`author.followers` is null), so take reach from views, not channel size.
- Search does not mark which results are Shorts. A short `ext.length_s` in search results is a hint, not proof.

## When to use something else

- **Your own channel or one you manage.** YouTube Analytics gives Shorts metrics viewers never see, such as engaged views and retention. Nothing public can match it.
- **Many Shorts, one Google project.** The official `videos.list` returns `viewCount` for up to 50 IDs per quota unit, so it is cheaper if you are happy to run a Google Cloud project.
- **A handful of Shorts once.** Open them and read the number.

To track the same campaign on TikTok and X too, see the [competitor monitoring solution page](/solutions/competitor-monitoring/).

## Endpoints used

- [YouTube video detail](https://okdata.online/apis/youtube/videos/get/) `youtube.videos.get`: $0.004 per call
- [YouTube video comments](https://okdata.online/apis/youtube/videos/comments/list/) `youtube.videos.comments.list`: $0.004 per call · about 20 comments per page

Updated 2026-11-12
