Brands and PR teams need to know when they are mentioned in YouTube videos, but video content is not searchable like text. Watching every relevant video manually is impossible at scale. You are missing mentions by influencers, competitors, and industry analysts.
YouTubeTranscripts.co lets you extract transcripts from any video and search them for brand mentions, competitor names, or keywords. Build automated monitoring pipelines that alert your team when your brand is mentioned in new videos. Track sentiment and context around mentions.
import httpx
API_KEY = "YOUR_API_KEY"
BRAND_KEYWORDS = ["your brand", "your product", "competitor name"]
def check_video_for_mentions(video_url: str) -> list[dict]:
resp = httpx.get(
"https://api.youtubetranscripts.co/v1/transcript",
params={"url": video_url},
headers={"x-api-key": API_KEY},
)
data = resp.json()
mentions = []
for segment in data["transcript"]:
text_lower = segment["text"].lower()
for keyword in BRAND_KEYWORDS:
if keyword.lower() in text_lower:
mentions.append({
"keyword": keyword,
"text": segment["text"],
"timestamp": segment["start"],
"video": data["title"],
})
return mentions
# Check a list of new videos
videos = ["https://youtube.com/watch?v=VIDEO1", "https://youtube.com/watch?v=VIDEO2"]
for video in videos:
mentions = check_video_for_mentions(video)
for m in mentions:
print(f"[{m['timestamp']:.0f}s] '{m['keyword']}' in '{m['video']}': {m['text']}")Detect brand mentions in any YouTube video
Track competitor mentions across the platform
Get timestamps linking directly to mention moments
Automate monitoring with scheduled batch processing
Analyze sentiment around brand mentions with AI
Build dashboards showing mention trends over time
Sign up in 30 seconds and get 150 free API requests. No credit card required. Start building your brand monitoring solution today.