post_idsstringwajib
Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY,...", max 30 posts
https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-largeReturns details for up to 30 Reddit posts in a single request using comma-separated post IDs. Supports optional comment context and formatted output data.
[
{
"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"
]
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
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.
DeletedSubredditPost entries.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.
| Name | Type | Required | Description |
|---|---|---|---|
post_ids | string | Yes | Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY,...", max 30 posts |
comment_id | string | No | Comment ID (used when include_comment_id is True), format like "t1_XXXXXX" |
include_comment_id | boolean | No | Whether to include specific comment ID, default False |
need_format | boolean | No | Whether to clean and format the data |
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"
}
]
}
| Field | Meaning |
|---|---|
postsInfoByIds[] | One entry per requested post ID. Deleted posts appear as an entry that holds only __typename. |
postsInfoByIds[].__typename | Entry type. SubredditPost is a live post. DeletedSubredditPost is a deleted post with no other fields. |
postsInfoByIds[].id | Post ID with the t3_ prefix. |
postsInfoByIds[].createdAt | Creation time of the post as an ISO 8601 timestamp with a +0000 offset. |
postsInfoByIds[].commentCount | Number of comments on the post. |
postsInfoByIds[].authorInfo.name / postsInfoByIds[].authorInfo.id | Username of the post author and the author ID with the t2_ prefix. |
postsInfoByIds[].flair.text | Text of the post flair, such as Cringe. |
postsInfoByIds[].awardings[].award.name / postsInfoByIds[].awardings[].total | Name of each award on the post and how many times it was given. |
postsInfoByIds[].domain | Domain of the linked content, such as v.redd.it for Reddit-hosted video. |
postsInfoByIds[].isLocked / postsInfoByIds[].isNsfw / postsInfoByIds[].isSelfPost | Flags for whether the post is locked, marked NSFW, or a text post. |
post_ids from IDs that start with t3_. Separate them with commas and send at most 30.__typename on each entry. A DeletedSubredditPost entry has no other fields.include_comment_id to true and pass a t1_ ID in comment_id to add a specific comment.$0.025 per successful call. Failed calls are not charged.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
post_idsstringwajibPost IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY,...", max 30 posts
comment_idstringComment ID (used when include_comment_id is True), format like "t1_XXXXXX"
include_comment_idbooleanWhether to include specific comment ID, default False
need_formatbooleanWhether to clean and format the data
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
]
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Reddit | $0.025 per panggilan | JSON |
Reddit | $0.001 per panggilan | JSON |
Reddit | $0.001 per panggilan | JSON |
Reddit | $0.001 per panggilan | JSON |
Reddit | $0.001 per panggilan | JSON |
Reddit | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.025 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: post_ids (string). Opsional: comment_id (string), include_comment_id (boolean) dan need_format (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Reddit Post Details Large Batch berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Reddit secara terpisah.