Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

YouTube Channel Community Posts

API-Dokumentation
https://api.sandbase.ai/v1/api/youtube/channel-community-posts

List a YouTube channel's community posts by handle or channel ID with cursor pagination (text, likes, image, publish time).

Preis
Ab $0.0012USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 3 optional

Playground

Eingabe
Continuation token from a previous response for pagination.
YouTube channel handle.
YouTube channel ID.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

YouTube Channel Community Posts API

Returns a list of community posts for a YouTube channel, with the post text, like count, image links and publish time. You pass a channel handle such as @MrBeast or a channelId.

Use cases

  • Track what a creator announces in community posts, such as new video releases.
  • Compare likeCount across posts to see which posts get the most engagement.
  • Archive post text and image links for a channel.
  • Build a feed of recent posts from a list of channels.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/channel-community-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "@MrBeast"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
channelIdstringNoYouTube channel ID.
cursorstringNoContinuation token from a previous response for pagination.
handlestringNoYouTube channel handle.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "nextCursor": "cur_VMouee4IpseKyQo6IPoYVg",
    "posts": [
      {
        "channelHandle": "MrBeast",
        "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
        "channelTitle": "MrBeast",
        "content": "We spent $7,000,000 making the new MrBeast Lab animation series, and EPISODE 1 I…",
        "createdUtc": 1793605689,
        "id": "UgkxvMrKTpUbvqLPjv-lVi7N0wn68DV_NCBQ",
        "image": "",
        "likeCount": 9000,
        "publishedTime": "1 day ago",
        "url": "https://www.youtube.com/post/UgkxvMrKTpUbvqLPjv-lVi7N0wn68DV_NCBQ"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[]List of community posts for the channel, as returned on this page.
data.posts[].idID of the post. It also appears at the end of the post url.
data.posts[].contentText of the post. Long text can end with an ellipsis.
data.posts[].likeCountNumber of likes on the post, as a whole number.
data.posts[].createdUtcTime the post was created, as a Unix timestamp in seconds.
data.posts[].publishedTimeRelative publish time as shown on YouTube, for example 2 weeks ago.
data.posts[].image / data.posts[].images[]Image attached to the post. image is an empty string when the post has no image. images appears on posts that have images.
data.posts[].urlLink to the post on YouTube.
data.posts[].channelHandle / data.posts[].channelId / data.posts[].channelTitleHandle, ID and display name of the channel that made the post.
data.nextCursorToken for the next page of posts. Send it as cursor.

Notes

  • Send either handle or channelId. The handle in the response (channelHandle) has no leading @.
  • For the next page, repeat the request with cursor set to the data.nextCursor value.
  • To get details for one post, use the post id or url with YouTube Community Post.
  • To get the channel ID from a handle first, call YouTube Channel.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
YouTubeAb $0.0012 pro AufrufJSON
YouTubeAb $0.00045 pro AufrufJSON
YouTubeAb $0.0012 pro AufrufJSON
YouTubeAb $0.0012 pro AufrufJSON
YouTube$0.014286 pro AufrufJSON
YouTube$0.014286 pro AufrufJSON

Anleitungen:Best YouTube API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die YouTube Channel Community Posts API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/youtube/channel-community-posts mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die YouTube Channel Community Posts API?

Ab $0.0012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die YouTube Channel Community Posts API?

Es sind keine Parameter erforderlich. Optional: cursor (string), handle (string) und channelId (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die YouTube Channel Community Posts API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein YouTube-Entwicklerkonto oder einen API-Schlüssel?

Nein. YouTube Channel Community Posts läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für YouTube API beantragen.