YouTube Community Posts
YouTube Community Posts are public channel-tab updates with post text, authoring channel identity, publication time, public links, and image attachments. These records support channel feed inventories, announcement review, and cross-channel publishing analysis.
Features
- Multi-channel URL collectionAccept complete public channel URLs using @handle, /channel/, /c/, or /user/ paths and apply the selected result ceiling independently to each channel.
- Normalized post recordsReturn public post IDs, Community URLs, text, publication timestamps, and collection timestamps in a consistent structure.
- Channel-to-post contextKeep each post connected to its channel ID, handle, display name, public channel URL, and submitted source URL.
- Image attachment referencesMap exposed post images into normalized media entries so image-based updates remain connected to their post records.
- Bounded feed traversalFollow source continuation pages per channel, remove duplicate posts by ID or URL, and stop at the selected limit, feed end, or 100-page ceiling.
Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Required public YouTube channel URLs, separated by commas or new lines. Supported paths start with @handle, /channel/, /c/, or /user/. |
results_limit | Optional | Maximum Community posts to collect for each input channel. Defaults to 100 and accepts integers from 20 through 2000. |
How to Use
Submit one or more known public channels as an asynchronous task, then read the saved Community post records after completion.
- Prepare complete public YouTube channel URLs using an @handle, /channel/, /c/, or /user/ path.
- POST urls and a results_limit from 20 through 2000 to /v1/youtube/community-posts.
- Retain the returned task_id and poll GET /v1/tasks/{task_id} while the task is queued, running, or retrying.
- After success, read data.results.items and pass data.results.next_cursor as cursor on the task request while data.results.has_more is true.
curl -X POST "https://api.socq.ai/v1/youtube/community-posts" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.youtube.com/@YouTube"],"results_limit":20}'
# Poll GET /v1/tasks/{task_id}
# Read data.results.items and pass data.results.next_cursor as cursor while has_more is trueBest Use Cases
- Channel Community feed inventory: Use post IDs, URLs, text, timestamps, and source-channel context to build a reviewable feed from selected public channels.
- Announcement and creative review: Review public post text alongside retained image references to compare how channels present updates outside their video feeds.
- Cross-channel publishing analysis: Group normalized posts by channel identity and publication time to compare Community posting activity across a known channel set.
Pro Tips
- Submit a complete channel URL on a supported YouTube host; video, post, playlist, and bare non-URL values fail the public channel-input contract.
- Size multi-channel requests deliberately because results_limit applies to every URL: three channels at 20 can request up to 60 saved posts.
- Treat results_limit as a ceiling, since a channel without a public Community tab or with a shorter visible feed can return fewer records.
- Use cursor only with GET /v1/tasks/{task_id}; source continuation is handled internally and is not a public request parameter for this endpoint.
- Deduplicate stored records by post ID, falling back to URL, and retain extra.input_url when several submitted channels are combined.
- Check text, media, and created_at before downstream use; current normalized records do not retain poll choices or embedded-video attachment metadata.
Related APIs
Use these APIs when you need a different type of public YouTube data.
- YouTube Channel Videos API — Collect regular public videos from channel URLs, excluding Shorts and live streams.
- YouTube Comments API — Collect public comments, authors, engagement, source videos, and conversation context.
- YouTube Transcripts API — Retrieve available plain-text transcripts with optional language selection.
- YouTube Channels API — Retrieve public channel identity, images, verification, and visible audience statistics.
- YouTube Videos API — Retrieve metadata, thumbnails, duration, and engagement for known video or Short URLs.
- YouTube Shorts API — Collect public Shorts, thumbnails, duration, publication details, and engagement by channel.
- YouTube Search API — Search public regular videos by keyword with supported metadata filters.
- YouTube Channel Live Videos API — Collect public broadcast records exposed on channel live surfaces, with source context and visible metrics.
- YouTube Comment Replies API — Continue a known YouTube comment thread from its reply token and return public replies, authors, engagement, and parent context.
- YouTube Hashtag Search API — Find public videos from hashtag feeds with all-content or Shorts-only collection.
- YouTube Playlist Videos API — Collect video identity, channel context, thumbnails, duration, and playlist provenance from public playlist URLs or IDs.
Combine YouTube data with public data from other supported social platforms.