Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Reddit App Home Feed

API दस्तावेज़
https://api.sandbase.ai/v1/api/reddit/app/home-feed

Returns Reddit mobile app home feed content including post metadata, author details, scores, and media links. Supports sorting methods, pagination tokens, and post exclusion lists.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
0 आवश्यक · 4 वैकल्पिक

प्लेग्राउंड

इनपुट
Pagination parameter for fetching the next page
List of post IDs to filter out, used to exclude already fetched posts
Whether to clean and format the data
Sort method, supports HOT, NEW, TOP, BEST, CONTROVERSIAL
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 25.8 KB · 606 पंक्तियाँ
[
  {
    "data": {
      "after": "dDNfMXd3cXp0NQ==",
      "homefeed": {
        "postsInfoByIds": [
          {
            "__typename": "SubredditPost",
            "attributionInfo": null,
            "authorCommunityBadge": null,
            "authorFlair": {
              "__typename": "AuthorFlair",
              "richtext": "[{\"e\":\"text\",\"t\":\"Teenager\"}]",
              "template": {
                "backgroundColor": "#373C3F",
                "id": "af9abefa-b388-11f0-bec2-c659d5497183"
              },
              "text": "Teenager",
              "textColor": "DARK"
            },
            "authorInfo": {
              "__typename": "Redditor",
              "accountType": "USER",
              "iconSmall": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 50,
                  "width": 50
                },
                "url": "https://styles.redditmedia.com/t5_gc53fl/styles/profileIcon_a3yaqrt1wicg1.jpeg?width=50&height=50&frame=1&auto=webp&crop=50%3A50%2Csmart&s=51dea727b8c7bc88cdaad8f58324454fe8d878b0"
              },
              "id": "t2_25tl8ckdgd",
              "isBlocked": false,
              "isCakeDayNow": false,
              "name": "Crimsonrainflower33",
              "newIcon": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 256,
                  "width": 256
                },
                "url": "https://styles.redditmedia.com/t5_gc53fl/styles/profileIcon_a3yaqrt1wicg1.jpeg?frame=1&auto=webp&crop=256%3A256%2Csmart&s=f99995d4e493919f9f7655be3578dd67eb2ca4ed"
              },
              "profile": {
                "isNsfw": false
              },
              "snoovatarIcon": null
            },
            "awardings": [],
            "awardingsInfo": {
              "promos": null
            },
            "commentCount": 489,
            "content": null,
            "createdAt": "2026-10-02T19:20:37.340000+0000",
            "crosspostRoot": null,
            "crowdControlLevel": "OFF",
            "devvit": null,
            "distinguishedAs": null,
            "domain": "i.redd.it",
            "editedAt": null,
            "flair": {
              "__typename": "PostFlair",
              "richtext": "[{\"e\":\"text\",\"t\":\"Discussion\"}]",
              "template": {
                "backgroundColor": "#1FE038",
                "id": "1b713a20-845f-11e3-a1ce-12313d224170",
                "isEditable": false
              },
              "text": "Discussion",
              "textColor": "DARK",
              "type": "richtext"
            },
            "gallery": null,
            "id": "t3_1ww2n4p",
            "isArchived": false,
            "isAuthorBlocked": false,
            "isCommercialCommunication": false,
            "isContestMode": false,
            "isCrosspostable": true,
            "isCrowdControlFilterEnabled": false,
            "isFollowed": false,
            "isGildable": true,
            "isHidden": false,
            "isLocked": false,
            "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": {
              "__typename": "Media",
              "animated": null,
              "download": null,
              "obfuscated_still": {
                "__typename": "StillMedia",
                "large": null,
                "medium": null,
                "small": null,
                "source": null,
                "xlarge": null,
                "xxlarge": null,
                "xxxlarge": null
              },
              "packagedMedia": null,
              "previewMediaId": "956mpuopt3th1",
              "still": {
                "__typename": "StillMedia",
                "altText": null,
                "large": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 334,
                    "width": 320
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=320&auto=webp&s=18a1b28ec355739c1814babace84beb092bfbf4d"
                },
                "medium": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 225,
                    "width": 216
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=216&auto=webp&s=92e88833b4c0fd2d25cb93985181dab2c3d95acd"
                },
                "small": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 112,
                    "width": 108
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=108&auto=webp&s=095fa08301edb92332106c116133e88b2df7e40b"
                },
                "source": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 1230,
                    "width": 1176
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?auto=webp&s=ec3d8bdaa36bf7dafe0fcd1b00a650ac89c8f0a9"
                },
                "xlarge": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 669,
                    "width": 640
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=640&auto=webp&s=95f796a4ff11d9d7189e0aee423a59bb767733c1"
                },
                "xxlarge": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 1004,
                    "width": 960
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=960&auto=webp&s=3a109c7034ce4e7415c0a320feb14e91e196dfd3"
                },
                "xxxlarge": {
                  "__typename": "MediaSource",
                  "dimensions": {
                    "height": 1129,
                    "width": 1080
                  },
                  "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=1080&auto=webp&s=b831d3d7c5a23abf2a88901ed88362b098c219b5"
                }
              },
              "streaming": null,
              "typeHint": "IMAGE",
              "video": null
            },
            "moderationInfo": null,
            "outboundLink": {
              "expiresAt": "2026-10-06T17:39:23.716079+0000",
              "url": "https://i.redd.it/956mpuopt3th1.jpeg"
            },
            "permalink": "/r/teenagers/comments/1ww2n4p/whats_a_crazy_rumour_from_your_school_that_turned/",
            "poll": null,
            "postEventInfo": null,
            "postHint": "IMAGE",
            "postStats": {
              "shareAllTotal": 1185,
              "viewCountTotal": null
            },
            "postStatsPrivate": {
              "viewCountTotals": null
            },
            "postTitle": "Whats a crazy rumour from your school that turned out to be true?",
            "reactedFrom": null,
            "removedByCategory": null,
            "score": 389,
            "subreddit": {
              "__typename": "Subreddit",
              "communityStatus": null,
              "id": "t5_2rjli",
              "isNsfw": false,
              "isQuarantined": false,
              "isSubscribed": false,
              "isThumbnailsEnabled": true,
              "isTitleSafe": true,
              "isUserBanned": false,
              "modPermissions": null,
              "name": "teenagers",
              "prefixedName": "r/teenagers",
              "styles": {
                "bannerBackgroundImage": "https://styles.redditmedia.com/t5_2rjli/styles/bannerBackgroundImage_h0y6eq49i4ig1.png?frame=1&auto=webp&s=b37d5f0dd2a9336a8e7e898a849477a572f72373",
                "icon": "https://styles.redditmedia.com/t5_2rjli/styles/communityIcon_woz69bbppdzb1.png?width=64&frame=1&auto=webp&s=40146531e3065a9e6b1c8c46afd563227bf34e44",
                "legacyIcon": {
                  "url": "https://b.thumbs.redditmedia.com/uUYtnr8UF4a5QThBaOLZBs0s__b1o66d8OZz3fOcxrk.png"
                },
                "legacyPrimaryColor": "#7E53C1",
                "primaryColor": "#B8001F"
              },
              "subscribersCount": 3703178,
              "tippingStatus": null,
              "title": "r/teenagers",
              "type": "PUBLIC",
              "whitelistStatus": "NO_ADS"
            },
            "suggestedCommentSort": null,
            "thumbnail": {
              "__typename": "MediaSource",
              "dimensions": {
                "height": 140,
                "width": 140
              },
              "url": "https://preview.redd.it/956mpuopt3th1.jpeg?width=140&height=140&crop=1%3A1%2Csmart&auto=webp&s=05a16220cfc2f0608e50b425bec789b2707ef8f9"
            },
            "translatedLanguage": null,
            "upvoteRatio": 0.97323600973236,
            "url": "https://i.redd.it/956mpuopt3th1.jpeg",
            "viewCount": null,
            "voteState": "NONE"
          },
          {
            "__typename": "SubredditPost",
            "attributionInfo": null,
            "authorCommunityBadge": null,
            "authorFlair": null,
            "authorInfo": {
              "__typename": "Redditor",
              "accountType": "USER",
              "iconSmall": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 256,
                  "width": 256
                },
                "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_3.png"
              },
              "id": "t2_1ce8f1cx7v",
              "isBlocked": false,
              "isCakeDayNow": false,
              "name": "That-Address5328",
              "newIcon": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 256,
                  "width": 256
                },
                "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_3.png"
              },
              "profile": {
                "isNsfw": false
              },
              "snoovatarIcon": null
            },
            "awardings": [],
            "awardingsInfo": {
              "promos": null
            },
            "commentCount": 75,
            "content": {
              "html": "My 6th semester is about to start, and right now I’m learning web development. I’ve learned HTML and CSS and can build pretty good UIs. Currently, I’m learning JavaScript through SuperSimpleDev and freeCodeCamp.\nBut lately, I’ve been questioning whether it’s really worth learning everything from scratch.\nEvery day, I see a new AI tool that can do something incredible, generate websites, write code, debug problems, and even build entire projects. It honestly makes me a little scared that I’m spending so much time learning things that AI can already do.\nI know that I need to learn how to use AI …",
              "markdown": "My 6th semester is about to start, and right now I’m learning web development. I’ve learned HTML and CSS and can build pretty good UIs. Currently, I’m learning JavaScript through SuperSimpleDev and freeCodeCamp.\n\nBut lately, I’ve been questioning whether it’s really worth learning everything from scratch.\n\nEvery day, I see a new AI tool that can do something incredible, generate websites, write code, debug problems, and even build entire projects. It honestly makes me a little scared that I’m spending so much time learning things that AI can already do.\n\nI know that I need to learn how to use …",
              "preview": "My 6th semester is about to start, and right now I’m learning web development. I’ve learned HTML and CSS and can build pretty good UIs. Currently, I’m learning JavaScript through SuperSimpleDev and freeCodeCamp. But lately, I’ve been questioning whether it’s really worth learning everything from scr",
              "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"My 6th semester is about to start, and right now I\\u2019m learning web development. I\\u2019ve learned HTML and CSS and can build pretty good UIs. Currently, I\\u2019m learning JavaScript through SuperSimpleDev and freeCodeCamp.\"}],\"e\":\"par\"},{\"c\":[{\"e\":\"text\",\"t\":\"But lately, I\\u2019ve been questioning whether it\\u2019s really worth learning everything from scratch.\"}],\"e\":\"par\"},{\"c\":[{\"e\":\"text\",\"t\":\"Every day, I see a new AI tool that can do something incredible, generate websites, write code, debug problems, and even build entire projects. It honestly mak…",
              "richtextMedia": []
            },
            "createdAt": "2026-10-03T10:11:52.370000+0000",
            "crosspostRoot": null,
            "crowdControlLevel": "OFF",
            "devvit": null,
            "distinguishedAs": null,
            "domain": "self.learnprogramming",
            "editedAt": null,
            "flair": null,
            "gallery": null,
            "id": "t3_1wwjoir",
            "isArchived": false,
            "isAuthorBlocked": false,
            "isCommercialCommunication": false,
            "isContestMode": false,
            "isCrosspostable": true,

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Reddit App Home Feed API

Returns a page of posts from the Reddit mobile app home feed. Each post includes author details, comment count, flair, awards, and link domain. All inputs are optional, so an empty request returns a default feed.

Use cases

  • Pull a page of home feed posts and track which subreddits and domains show up most.
  • Page through the feed with the after cursor and store each post by its id.
  • Skip posts you already saved by passing their IDs in filter_posts.
  • Find promoted or app-install posts by checking callToAction and domain.

Request

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

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

Parameters

NameTypeRequiredDescription
afterstringNoPagination parameter for fetching the next page
filter_postsarrayNoList of post IDs to filter out, used to exclude already fetched posts
need_formatbooleanNoWhether to clean and format the data
sortstringNoSort method, supports HOT, NEW, TOP, BEST, CONTROVERSIAL

Example response

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

{
  "after": "dDNfMXhrOXRmbA==",
  "homefeed": {
    "postsInfoByIds": [
      {
        "__typename": "SubredditPost",
        "attributionInfo": null,
        "authorCommunityBadge": null,
        "authorFlair": null,
        "authorInfo": {
          "__typename": "Redditor",
          "accountType": "USER",
          "iconSmall": {
            "__typename": "MediaSource",
            "dimensions": {
              "height": 256,
              "width": 256
            },
            "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_7.png"
          },
          "id": "t2_ne49b",
          "isBlocked": false,
          "isCakeDayNow": false,
          "name": "brainland",
          "newIcon": {
            "__typename": "MediaSource",
            "dimensions": {
              "height": 256,
              "width": 256
            },
            "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_7.png"
          }
        },
        "awardings": [
          {
            "__typename": "AwardingTotal",
            "award": {
              "__typename": "Award",
              "id": "award_free_bravo",
              "name": "Bravo",
              "static_icon_16": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 16,
                  "width": 16
                },
                "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/bravo_16.png"
              },
              "static_icon_24": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 24,
                  "width": 24
                },
                "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/bravo_24.png"
              },
              "static_icon_32": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 32,
                  "width": 32
                },
                "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/bravo_32.png"
              },
              "static_icon_48": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 48,
                  "width": 48
                },
                "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/bravo_48.png"
              },
              "static_icon_64": {
                "__typename": "MediaSource",
                "dimensions": {
                  "height": 64,
                  "width": 64
                },
                "url": "https://i.redd.it/snoovatar/snoo_assets/marketing/bravo_64.png"
              }
            },
            "total": 8
          }
        ],
        "awardingsInfo": {
          "promos": null
        },
        "commentCount": 5447,
        "content": null,
        "createdAt": "2026-10-29T16:30:44.831000+0000",
        "crosspostRoot": null,
        "crowdControlLevel": "OFF"
      }
    ]
  }
}

Response fields

FieldMeaning
afterCursor token for the next page. Pass it back as the after request parameter.
homefeed.postsInfoByIds[]List of posts in the feed. Each item has a __typename such as SubredditPost or ProfilePost.
homefeed.postsInfoByIds[].idPost ID in the form t3_.... Use it with filter_posts or in post lookups.
homefeed.postsInfoByIds[].createdAtTime the post was created, as an ISO 8601 timestamp with a UTC offset.
homefeed.postsInfoByIds[].commentCountNumber of comments on the post.
homefeed.postsInfoByIds[].authorInfo.name / homefeed.postsInfoByIds[].authorInfo.idUsername of the author and the author ID in the form t2_....
homefeed.postsInfoByIds[].domainDomain the post links to, such as v.redd.it for Reddit video or apps.apple.com for an app link.
homefeed.postsInfoByIds[].flair.textText of the post flair, such as Fear Factor. The value is null when the post has no flair.
homefeed.postsInfoByIds[].awardings[].award.name / homefeed.postsInfoByIds[].awardings[].totalName of an award on the post and how many times it was given.
homefeed.postsInfoByIds[].isNsfw / homefeed.postsInfoByIds[].isLocked / homefeed.postsInfoByIds[].isScoreHiddenFlags for adult content, a locked post, and a hidden score.

Notes

  • Set sort to HOT, NEW, TOP, BEST, or CONTROVERSIAL.
  • Copy the top-level after value into the next request to get the following page.
  • To read a post in full, call Reddit Post Details with its ID. To read its comments, call Reddit App Post Comments.
  • For the site-wide popular feed instead of the home feed, use Reddit App Popular Feed.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Reddit$0.001 प्रति कॉल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 App Home Feed API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/reddit/app/home-feed पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Reddit App Home Feed API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Reddit App Home Feed API कौन-से parameters स्वीकार करती है?

कोई parameters आवश्यक नहीं हैं। वैकल्पिक: after (string), filter_posts (array), need_format (boolean) और sort (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Reddit App Home Feed API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Reddit developer account या API key चाहिए?

नहीं। Reddit App Home Feed SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Reddit API access के लिए आवेदन करने की आवश्यकता नहीं है।