Introducing the Instagram APIRead more →

YouTube Brand Mentions API. On each item you fetch.

For each of the caller's brands (brand=Notion,Linear, or JSON with aliases, handles and domains): whether the item mentions it, not something else of that name, and how it speaks of it. Add analysis=brand_mentions to any of 13 YouTube endpoints that offer it.

GET /v1/youtube/post?analysis=brand_mentions

One param on the request. Brand mentions on each item.

The YouTube Video API returns each post with analysis.brand_mentions beside its fields.

GET /v1/youtube/postTry in
curl -G 'https://socialtap.dev/v1/youtube/post' \
  --data-urlencode 'url=https://youtube.com/shorts/3cWm9B_0_kI?feature=share' \
  --data-urlencode 'analysis=brand_mentions' \
  --data-urlencode 'brand=Notion,Linear' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
GET https://socialtap.dev/v1/youtube/postDocs

What the value means.

A list of objects with the fields below. Each entry carries its own probability, from 0 to 1.

Brand mentions fields
FieldMeaning
brandThe brand's name, as the caller gave it.
is_mentionedThe item mentions this brand (not another thing of the same name).
sentimentHow the item speaks of it; null when it doesn't mention it. (positive, negative, neutral)
probabilityHow likely is_mentioned and sentiment are right, from 0 to 1.

The brand mentions reference

Keep only what matches.

On a list, where keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.

https://socialtap.dev/v1/youtube/posts?handle=@jawed&analysis=brand_mentions&brand=Notion,Linear&where=analysis.brand_mentions[].is_mentioned=true

13 YouTube endpoints offer it.

Each adds the analysis to the posts, comments and transcripts it returns. Text analyses cost one flat amount per request, or per page on a list, however many you ask for.

Brand mentions price per endpoint
EndpointAdds
YouTube Video API+2 credits per request
YouTube Channel Videos API+84 credits per page of 48
YouTube Community Posts API+18 credits per page of 10
YouTube Hashtag Videos API+63 credits per page of 36
YouTube Playlist Videos API+174 credits per page of 100
YouTube Related Videos API+87 credits per page of 50
YouTube Search API+53 credits per page of 30
YouTube Sound Shorts API+42 credits per page of 24
YouTube Trending Videos API+174 credits per page of 100
YouTube Trending Shorts API+21 credits per page of 12
YouTube Comments API+32 credits per page of 20
YouTube Comment Replies API+160 credits per page of 100
YouTube Transcript API+6 credits per request

More analyses on YouTube and beyond.

The same answer on other platforms, and other answers here.

Questions about YouTube brand mentions

The analyses guide has the rest.

Which YouTube endpoints offer brand mentions?
YouTube Video API, YouTube Channel Videos API, YouTube Community Posts API, YouTube Hashtag Videos API, YouTube Playlist Videos API, YouTube Related Videos API, YouTube Search API, YouTube Sound Shorts API, YouTube Trending Videos API, YouTube Trending Shorts API, YouTube Comments API, YouTube Comment Replies API and YouTube Transcript API. Add analysis=brand_mentions to any of them.
How much does an analysis cost?
It depends on what it reads. Text analyses add a flat extra per page, however many you ask for. Image analyses add 3 credits per image and video analyses 30 credits per video. Each endpoint's reference page states its text price.
Do I pay when an analysis can't answer?
No. An analysis that fails, an item in a language it doesn't answer in, a video longer than 3 minutes and a value already computed for the same item are free. The value is null, with a warning that says why.
Can I get only the items that match?
Yes, on lists. where=analysis.authenticity_risk>=0.7 keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.
Which languages do analyses answer in?
Each analysis's reference page lists its languages. An item in another language gets null, free, with a warning.
Can I use my own categories or questions?
Yes. about, brand, labels and criteria are inputs you send with the request, and the analyses that read them answer against yours.

Send your first request in a minute.

Get a key, send a link you already have and see what comes back. The same key works on every platform.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 319 endpoints
Start for free Read the docs