Reddit Post Details

https://api.sandbase.ai/v1/api/reddit/app/post-details

Returns detailed metadata for a Reddit post by ID, including engagement metrics, author info, and subreddit data. Supports optional comment context.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
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
Post ID, format like "t3_XXXXXX"
OutputExample
Responseoutputs · 7.8 KB · 206 lines
[
  {
    "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": "正能量",
                "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": 11411,
          "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-08-20T14:40:04.649829+0000",
            "url": "https://www.reddit.com/r/TikTokCringe/comments/1ojnh50/%E5%B7%B2%E8%A2%AB%E7%89%88%E4%B8%BB%E5%88%A0%E9%99%A4/"
          },
          "permalink": "/r/TikTokCringe/comments/1ojnh50/已被版主删除/",
          "poll": null,
          "postEventInfo": null,
          "postHint": null,
          "postStats": {
            "shareAllTotal": 12625,
            "viewCountTotal": null
          },
          "postStatsPrivate": {
            "viewCountTotals": null
          },
          "postTitle": "[ 已被版主删除 ]",
          "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": 5592476,
            "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/%E5%B7%B2%E8%A2%AB%E7%89%88%E4%B8%BB%E5%88%A0%E9%99%A4/",
          "viewCount": null,
          "voteState": "NONE"
        }
      ]
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

post_id
string · required
comment_id
string · optional
include_comment_id
boolean · optional
need_format
boolean · optional

Access

Provider
Reddit
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/reddit/app/post-details
Authentication
Bearer API key

API README

Reddit Post Details API

Retrieve comprehensive metadata and metrics for a Reddit submission using post_id. You can also supply comment_id to focus on specific comment context.

Use cases

  • Retrieve submission engagement metrics including score and comment count.
  • Inspect subreddit and author details for a specific Reddit post.
  • Access post permalinks and outbound link metadata by post ID.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id": "t3_1ojnh50"}'

Parameters

NameTypeRequiredDescription
post_idstringYesPost ID, format like "t3_XXXXXX"
comment_idstringNoComment ID (used when include_comment_id is True), format like "t1_XXXXXX"
need_formatbooleanNoWhether to clean and format the data
include_comment_idbooleanNoWhether to include specific comment ID, default False

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "postsInfoByIds": [
    {
      "__typename": "SubredditPost",
      "commentCount": 11406,
      "id": "t3_1ojnh50",
      "isAuthorBlocked": false,
      "isScoreHidden": false,
      "permalink": "/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/",
      "postTitle": "[ Removed by moderator ]",
      "removedByCategory": "MODERATOR",
      "score": 33358,
      "url": "https://www.reddit.com/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/",
      "authorInfo": {
        "__typename": "Redditor",
        "accountType": "USER",
        "id": "t2_n5zmzf3v0",
        "name": "ambachk"
      },
      "flair": {
        "__typename": "PostFlair",
        "text": "Cringe",
        "type": "text"
      },
      "outboundLink": {
        "url": "https://www.reddit.com/r/TikTokCringe/comments/1ojnh50/removed_by_moderator/"
      },
      "subreddit": {
        "__typename": "Subreddit",
        "id": "t5_mvcq5",
        "isTitleSafe": true,
        "name": "TikTokCringe",
        "prefixedName": "r/TikTokCringe",
        "subscribersCount": 5640715.0
      }
    }
  ]
}

Notes

  • post_id format follows the pattern t3_XXXXXX.
  • comment_id uses the pattern t1_XXXXXX when include_comment_id is set to true.
  • Set need_format to true to clean and format the returned data.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/reddit/app/post-details
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "post_id": "t3_1ojnh50",
  "comment_id": "",
  "need_format": false,
  "include_comment_id": false
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Reddit Post Details API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/post-details with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Reddit Post Details API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Reddit Post Details API accept?

Required: post_id (string). Optional: comment_id (string), include_comment_id (boolean) and need_format (boolean). The Parameters table and the Playground on this page list every field.

What does the Reddit Post Details API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Reddit developer account or API key?

No. Reddit Post Details runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.