YouTube

Platforms

YouTube

Long-form videos and Shorts: channels, every video stat but shares, keyword and hashtag search, comments, transcripts, media, Shorts trends and footage matching.

What you can get

DataStatusNotes
ProfilesLiveA public account's name, followers and, where the platform shows them, bio and verified status.
Posts and statsLiveViews, likes, comments, length and date. YouTube does not publish share counts.
Keyword searchLivePublic posts that match a word or phrase, in a date window.
Hashtag searchLivePublic posts under a hashtag.
Sound searchLimitedShorts sounds, inside trend data only.
CommentsLiveThe public comments under a post, with likes and replies.
TranscriptsLiveCaptions first, then speech-to-text; the first 90 seconds of videos up to 10 minutes.
On-screen textLiveText written on the video or its cover: titles, captions burned in, show names.
Media filesLiveThe video or audio file of a public post, for your own analysis.
Audience (estimated)LiveCommenters' estimated age, gender and country.
TrendsLiveShorts.
Footage matchingLiveYour long-form YouTube videos are the source footage clips are matched to.

Post fields

Every platform returns the same post shape (all fields). On YouTube:

  • shares is always 0: YouTube does not publish it.
  • Shorts and long-form videos share one shape; durationSec tells them apart.
  • A channel's profile adds video count, total views and country.

Search kinds: keyword, hashtag, account.

Example post

A real public post found by Sonder's Red Bull Rampage 2026 demo campaign (illustration, not a client result). Numbers as of 2026-11-03.

A YouTube postjson
{
  "id": "3b70da3b8927c24a1bc153cfe6bc2c89",
  "platform": "youtube",
  "externalId": "gRhWXJHej74",
  "url": "https://www.youtube.com/shorts/gRhWXJHej74",
  "creator": {
    "handle": "OutOfCollective",
    "name": "Out of Collective",
    "followers": 60600
  },
  "caption": "Szymon Godziek absolutely launching that gap #rampage #redbull #mtb",
  "hashtags": [
    "rampage",
    "redbull",
    "mtb"
  ],
  "postedAt": "2026-10-10T16:21:58Z",
  "durationSec": 24,
  "views": 4140448,
  "viewsEstimated": false,
  "likes": 23730,
  "comments": 88,
  "shares": 0,
  "transcriptExcerpt": null,
  "onscreenText": "RAMPAGE",
  "asOf": "2026-11-03T00:06:37Z"
}

Planned endpoints

Planned shapehttp
GET /v1/posts/search?platforms=youtube&q=red+bull+rampage&kind=keyword&since=2026-10-01 HTTP/1.1
Host: api.sonderlabs.co.uk
Authorization: Bearer <your API key>
YouTube · Sonder APIs