Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

YouTube Channel Community Posts

APIドキュメント
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).

料金
$0.0012 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 3 件

プレイグラウンド

入力
Continuation token from a previous response for pagination.
YouTube channel handle.
YouTube channel ID.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

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.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
YouTube1回あたり $0.0012 からJSON
YouTube1回あたり $0.00045 からJSON
YouTube1回あたり $0.0012 からJSON
YouTube1回あたり $0.0012 からJSON
YouTube$0.014286 / 回JSON
YouTube$0.014286 / 回JSON

ガイド:Best YouTube API in 2026: Pricing Compared

質問

FAQ

YouTube Channel Community Posts API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/youtube/channel-community-posts に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

YouTube Channel Community Posts API の料金はいくらですか?

1回あたり $0.0012 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

YouTube Channel Community Posts API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: cursor (string), handle (string) と channelId (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

YouTube Channel Community Posts API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

YouTube の開発者アカウントまたは API key は必要ですか?

いいえ。YouTube Channel Community Posts は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。YouTube の API アクセスを別途申請する必要はありません。