YouTube Live Chat Scraper avatar

YouTube Live Chat Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
YouTube Live Chat Scraper

YouTube Live Chat Scraper

Scrape public active live chat or replay chat using the correct YouTube continuation endpoint without cookies or API credentials.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Scrape public live chat and replay chat from YouTube live streams. auto mode detects whether the video is an active stream (get_live_chat) or a replay (get_live_chat_replay); explicit active and replay modes are available when the surface is known.

What this actor does

  • Live and replay chat: works on active streams and finished streams with replay chat
  • Message metadata: author, channel, timestamp, message type, and text
  • High volume: hundreds of messages per stream
  • Bulk videos: multiple streams per run
  • Empty fields are omitted — records only contain values that are actually populated.

Output

Each message row contains videoId, videoUrl, messageId, messageText, messageType, authorName, authorExternalChannelId, authorPhotoUrl, authorBadges[], amountText, timestampText, timestampUsec, replayOffsetText, chatMode, and sourceEndpoint. Unavailable chats produce a structured status row with the reason.

Input

FieldTypeRequiredDefaultDescription
videoUrlsstring[]No-Live stream URLs or video IDs
videoIdsstring[]No-Raw 11-character video IDs
modestringNo"auto"auto, active, or replay
maxMessagesintegerNo1000Max chat messages (1-100000)
maxPagesintegerNo10Max continuation pages (1-1000)
includeMetadatabooleanNotrueInclude stream metadata in the output

Example input

{
"videoUrls": ["https://www.youtube.com/watch?v=FQbNtLOVlwU"],
"mode": "replay",
"maxMessages": 500
}

Examples

Example: one live stream

{
"videoUrls": ["https://www.youtube.com/watch?v=jfKfPfyJRdk"],
"maxMessages": 100
}

Example: multiple streams

{
"videoUrls": [
"https://www.youtube.com/watch?v=jfKfPfyJRdk",
"https://www.youtube.com/watch?v=21X5lGlDOfg"
],
"maxMessages": 50
}

Use cases

  • Sentiment analysis — analyse live audience reactions in real time or after the stream
  • Moderation research — study chat patterns and message types
  • Creator analytics — measure engagement during premieres and streams
  • Event monitoring — archive chat from live events

FAQ

Does it work on finished streams?

Yes — if the stream has replay chat enabled, the actor can collect the chat history.

Why are messages missing for some streams?

Some creators disable live chat or replay chat; a status message explains when the chat is unavailable.

Do I need cookies?

No. The actor reads the public chat replay.

How many messages can I get?

Set maxMessages per video; the actor collects up to that cap.

YouTube Scraper Suite

This actor is part of a complete YouTube data extraction toolkit. Explore the full suite:

ActorDescription
YouTube Ads ScraperGoogle Ads Transparency ads by advertiser, keyword, and country
YouTube Channel Profile ScraperFull channel profiles with About data, playlists, and community posts
YouTube Channel ScraperChannel metadata, subscriber counts, and full video catalogs
YouTube Channel Scraper FastStreamlined channel scraper for high-volume and speed-sensitive workflows
YouTube Comment ScraperComments, replies, likes, author info, and pinned/hearted status
YouTube Community Posts ScraperCommunity posts with images, polls, video attachments, and comments
YouTube Email ScraperCreator contact emails from channel pages, Instagram, TikTok, and Linktree
YouTube Hashtag ScraperVideos and Shorts tagged with specific hashtags
YouTube Playlist ScraperVideos from playlists plus channel playlist discovery
YouTube Search ScraperSearch results including videos, channels, and playlists
YouTube Search Suggestions ScraperAutocomplete keyword suggestions with ready search URLs
YouTube Shorts ScraperShorts from channels or hashtags with full view and like metadata
YouTube SponsorBlock Segments ScraperSponsorBlock segments (sponsor, intro, outro, and more) for any video
YouTube Transcript ScraperTimed transcripts and captions with optional Whisper AI fallback
YouTube Trending ScraperRanked trending videos by category — Gaming, Music, News, Movies
YouTube Video Details ScraperComprehensive video metadata, chapters, endscreen, captions, and comments
YouTube Video DownloaderDownload videos, playlists, and channels in any quality with metadata