Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
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"
      ]
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Reddit Post Details Large Batch API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Reddit ไหม?

ไม่จำเป็น Reddit Post Details Large Batch ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Reddit API แยกต่างหาก