Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Reddit Post Details Large Batch

API 문서
https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large

Returns details for up to 30 Reddit posts in a single request using comma-separated post IDs. Supports optional comment context and formatted output data.

가격
$0.025USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 3개

Playground

입력
Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY,...", max 30 posts
Comment ID (used when include_comment_id is True), format like "t1_XXXXXX"
Whether to include specific comment ID, default False
Whether to clean and format the data
출력예시
응답outputs · 7.9 KB · 213줄
[
  {
    "data": {
      "postsInfoByIds": [
        {
          "__typename": "SubredditPost",
          "attributionInfo": null,
          "authorCommunityBadge": null,
          "authorFlair": null,
          "authorInfo": {
            "__typename": "Redditor",
            "accountType": "USER",
            "iconSmall": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 50,
                "width": 50
              },
              "url": "https://styles.redditmedia.com/t5_9uhspc/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8xNTcxMjU1MA_rare_7f655c9b-871f-4906-97c6-431b2d32153b-headshot.png?width=50&height=50&frame=1&auto=webp&crop=50%3A50%2Csmart&s=1db50c27a77053b8cc9d3ddf09109ebc22224142"
            },
            "id": "t2_n5zmzf3v0",
            "isBlocked": false,
            "isCakeDayNow": false,
            "name": "ambachk",
            "newIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 256,
                "width": 256
              },
              "url": "https://styles.redditmedia.com/t5_9uhspc/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8xNTcxMjU1MA_rare_7f655c9b-871f-4906-97c6-431b2d32153b-headshot.png?frame=1&auto=webp&crop=256%3A256%2Csmart&s=32fa26a4a88b62849af007e46c89e714a9e6c326"
            },
            "profile": {
              "isNsfw": false
            },
            "snoovatarIcon": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 600,
                "width": 380
              },
              "url": "https://i.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8xNTcxMjU1MA_rare_7f655c9b-871f-4906-97c6-431b2d32153b.png"
            }
          },
          "awardings": [
            {
              "__typename": "AwardingTotal",
              "award": {
                "__typename": "Award",
                "id": "award_wholesome_seal",
                "name": "Wholesome Seal",
                "static_icon_16": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 16,
                    "width": 16
                  },
                  "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_16.png"
                },
                "static_icon_24": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 24,
                    "width": 24
                  },
                  "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_24.png"
                },
                "static_icon_32": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 32,
                    "width": 32
                  },
                  "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_32.png"
                },
                "static_icon_48": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 48,
                    "width": 48
                  },
                  "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_48.png"
                },
                "static_icon_64": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 64,
                    "width": 64
                  },
                  "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_64.png"
                },
                "tags": [
                  "award:legacy",
                  "award:group:legacytop"
                ]
              },
              "total": 1
            }
          ],
          "awardingsInfo": null,
          "commentCount": 11406,
          "content": null,
          "createdAt": "2025-10-30T01:58:59.142000+0000",
          "crosspostRoot": null,
          "crowdControlLevel": "OFF",
          "devvit": null,
          "distinguishedAs": null,
          "domain": "v.redd.it",
          "editedAt": null,
          "flair": {
            "__typename": "PostFlair",
            "richtext": null,
            "template": {
              "backgroundColor": "#EA0027",
              "id": "d74470ce-5c6c-11e9-9455-0e158690b334",
              "isEditable": false
            },
            "text": "Cringe",
            "textColor": "LIGHT",
            "type": "text"
          },
          "gallery": null,
          "id": "t3_1ojnh50",
          "isArchived": false,
          "isAuthorBlocked": false,
          "isCommercialCommunication": false,
          "isContestMode": false,
          "isCrosspostable": false,
          "isCrowdControlFilterEnabled": false,
          "isFollowed": false,
          "isGildable": false,
          "isHidden": false,
          "isLocked": true,
          "isNsfw": false,
          "isPollIncluded": false,
          "isReactAllowed": false,
          "isSaved": false,
          "isScoreHidden": false,
          "isSelfPost": false,
          "isSpoiler": false,
          "isStickied": false,
          "isThumbnailEnabled": true,
          "isTranslatable": false,
          "isTranslated": false,
          "languageCode": "en",
          "media": null,
          "moderationInfo": null,
          "outboundLink": {
            "expiresAt": "2026-09-29T19:11:55.018198+0000",
            "url": "https://www.reddit.com/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/"
          },
          "permalink": "/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/",
          "poll": null,
          "postEventInfo": null,
          "postHint": null,
          "postStats": {
            "shareAllTotal": 12625,
            "viewCountTotal": null
          },
          "postStatsPrivate": {
            "viewCountTotals": null
          },
          "postTitle": "[ Removed by moderator ]",
          "predictedRemovalSavedResponses": [],
          "reactedFrom": null,
          "removedByCategory": "MODERATOR",
          "score": 33358,
          "subreddit": {
            "__typename": "Subreddit",
            "communityStatus": null,
            "id": "t5_mvcq5",
            "isNsfw": false,
            "isQuarantined": false,
            "isSubscribed": false,
            "isThumbnailsEnabled": true,
            "isTitleSafe": true,
            "isUserBanned": false,
            "modPermissions": null,
            "name": "TikTokCringe",
            "prefixedName": "r/TikTokCringe",
            "styles": {
              "backgroundColor": "#000000",
              "bannerBackgroundImage": "https://styles.redditmedia.com/t5_mvcq5/styles/bannerBackgroundImage_gjg9dsefkz591.jpg?frame=1&auto=webp&format=pjpg&s=294c333e12fcd57fcbba2adf46dfdc08f1ba7dfb",
              "icon": "https://styles.redditmedia.com/t5_mvcq5/styles/communityIcon_twjztnhoy2691.jpg?width=64&frame=1&auto=webp&s=c0ffbc93bdbfd860e708b7ee55f36e4091c90231",
              "legacyIcon": null,
              "legacyPrimaryColor": "#7E53C1",
              "primaryColor": "#B33BD8"
            },
            "subscribersCount": 5634593,
            "tippingStatus": null,
            "title": "The Best and Worst of TikTok",
            "type": "PUBLIC",
            "whitelistStatus": "SOME_ADS"
          },
          "suggestedCommentSort": null,
          "thumbnail": null,
          "translatedLanguage": null,
          "upvoteRatio": 0.8373503764285327,
          "url": "https://www.reddit.com/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/",
          "viewCount": null,
          "voteState": "NONE"
        },
        {
          "__typename": "DeletedSubredditPost"
        },
        {
          "__typename": "DeletedSubredditPost"
        },
        "… 2 more items in the full response"
      ]
    }
  }
]

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Reddit Post Details Large Batch API

Returns details for up to 30 Reddit posts in one request. You pass the post IDs as a comma-separated string in post_ids, each with the t3_ prefix. The response lists one entry per ID, in a postsInfoByIds array.

Use cases

  • Pull the comment count, flair and lock status for a list of posts you track.
  • Check which posts in a saved list were deleted by looking for DeletedSubredditPost entries.
  • Collect author names and award totals for a set of posts to compare them.
  • Refresh stored metadata for many post IDs with one call instead of one call per post.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_ids": "t3_1ojnh50,t3_1ok432f,t3_1nwil8j,t3_1oj6vn6,t3_1nuenmd"}'

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

Parameters

NameTypeRequiredDescription
post_idsstringYesPost IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY,...", max 30 posts
comment_idstringNoComment ID (used when include_comment_id is True), format like "t1_XXXXXX"
include_comment_idbooleanNoWhether to include specific comment ID, default False
need_formatbooleanNoWhether to clean and format the data

Example response

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

{
  "postsInfoByIds": [
    {
      "__typename": "SubredditPost",
      "attributionInfo": null,
      "authorCommunityBadge": null,
      "authorFlair": null,
      "authorInfo": {
        "__typename": "Redditor",
        "accountType": "USER",
        "iconSmall": {
          "__typename": "MediaSource",
          "dimensions": {
            "height": 50,
            "width": 50
          },
          "url": "https://styles.redditmedia.com/t5_9uhspc/styles/profileIcon_snoo-nftv2_bmZ0X2Vpc…"
        },
        "id": "t2_n5zmzf3v0",
        "isBlocked": false,
        "isCakeDayNow": false,
        "name": "ambachk",
        "newIcon": {
          "__typename": "MediaSource",
          "dimensions": {
            "height": 256,
            "width": 256
          },
          "url": "https://styles.redditmedia.com/t5_9uhspc/styles/profileIcon_snoo-nftv2_bmZ0X2Vpc…"
        }
      },
      "awardings": [
        {
          "__typename": "AwardingTotal",
          "award": {
            "__typename": "Award",
            "id": "award_wholesome_seal",
            "name": "Wholesome Seal",
            "static_icon_16": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 16,
                "width": 16
              },
              "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_16.pn…"
            },
            "static_icon_24": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 24,
                "width": 24
              },
              "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_24.pn…"
            },
            "static_icon_32": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 32,
                "width": 32
              },
              "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_32.pn…"
            },
            "static_icon_48": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 48,
                "width": 48
              },
              "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_48.pn…"
            },
            "static_icon_64": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 64,
                "width": 64
              },
              "url": "https://www.redditstatic.com/marketplace-assets/v1/core/awards/wholsome_v1_64.pn…"
            }
          },
          "total": 1
        }
      ],
      "awardingsInfo": null,
      "commentCount": 11404,
      "content": null,
      "createdAt": "2025-10-30T01:58:59.142000+0000",
      "crosspostRoot": null,
      "crowdControlLevel": "OFF"
    }
  ]
}

Response fields

FieldMeaning
postsInfoByIds[]One entry per requested post ID. Deleted posts appear as an entry that holds only __typename.
postsInfoByIds[].__typenameEntry type. SubredditPost is a live post. DeletedSubredditPost is a deleted post with no other fields.
postsInfoByIds[].idPost ID with the t3_ prefix.
postsInfoByIds[].createdAtCreation time of the post as an ISO 8601 timestamp with a +0000 offset.
postsInfoByIds[].commentCountNumber of comments on the post.
postsInfoByIds[].authorInfo.name / postsInfoByIds[].authorInfo.idUsername of the post author and the author ID with the t2_ prefix.
postsInfoByIds[].flair.textText of the post flair, such as Cringe.
postsInfoByIds[].awardings[].award.name / postsInfoByIds[].awardings[].totalName of each award on the post and how many times it was given.
postsInfoByIds[].domainDomain of the linked content, such as v.redd.it for Reddit-hosted video.
postsInfoByIds[].isLocked / postsInfoByIds[].isNsfw / postsInfoByIds[].isSelfPostFlags for whether the post is locked, marked NSFW, or a text post.

Notes

  • Build post_ids from IDs that start with t3_. Separate them with commas and send at most 30.
  • Check __typename on each entry. A DeletedSubredditPost entry has no other fields.
  • Set include_comment_id to true and pass a t1_ ID in comment_id to add a specific comment.
  • To read the comments of a post, call Reddit App Post Comments. For a single post, use Reddit Post Details.

Pricing

$0.025 per successful call. Failed calls are not charged.

더 살펴보기

관련 API

모든 API
API가격응답
Reddit$0.025 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON

가이드:Best Reddit API in 2026: Pricing Compared

질문

FAQ

Reddit Post Details Large Batch API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Reddit Post Details Large Batch API 비용은 얼마인가요?

호출당 $0.025, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Reddit Post Details Large Batch API는 어떤 매개변수를 받나요?

필수: post_ids (string). 선택: comment_id (string), include_comment_id (boolean) 및 need_format (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Reddit Post Details Large Batch API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Reddit 개발자 계정이나 API 키가 필요한가요?

아니요. Reddit Post Details Large Batch은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Reddit API 액세스를 별도로 신청할 필요는 없습니다.