Platforms · YouTube

YouTube Community Post Scraper API

Returns details of a YouTube community post including text content, like count, comment count, images, and author info.

GET /api/v1/data/youtube/community-post · 1 credit per call · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Inputs

  • url (required): Full URL of the YouTube community post

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • source_data.post.author.display_name (string): Author display name
  • source_data.post.author.username (string): Author username
  • source_data.post.content.media_urls (any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.
  • source_data.post.content.text (string): Post caption, description, or text content
  • source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • source_data.post.engagement.likes (number): Like / reaction count
  • source_data.post.ext.channel_id (string): The 24 character YouTube channel id (starts with UC). Used because these rows carry no handle.
  • source_data.post.ext.hashtags (array): Hashtags parsed from the caption, lower cased without the #, each listed once in order.
  • source_data.post.ext.mentions (array): Handles mentioned in the caption, lower cased with the @, each listed once in order.
  • source_data.post.ext.published_label (string)
  • source_data.post.ext.published_precision (string)
  • source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • source_data.post.id (string)
  • source_data.post.published_at (any): Post creation timestamp as an ISO 8601 UTC string.
  • source_data.post.url (string)
  • source_data (object): Everything the platform sent for this call, as it came.

Good to know

  • Each call costs 1 credit. A call that finds nothing, or fails, is free.
  • The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Example call

GET /api/v1/data/youtube/community-post?url=https%3A%2F%2Fwww.youtube.com%2Fpost%2FUgkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8

Questions

How much does the YouTube Community Post API cost?

Each call costs 1 credit. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send url. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Do I need a YouTube account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

More YouTube scraper APIs