Reddit API Response

r/AskReddit Hot Posts

Top Hot Posts

What's a common misconception that drives you crazy?
Teachers of Reddit, what's the most ridiculous excuse a student has given for not doing their homework?
What's a skill you can learn in 10 minutes that will be useful for the rest of your life?
If you could have dinner with any historical figure, who would it be and why?
What's the weirdest thing you've seen in someone else's home?

API Response Sample


{
  "kind": "Listing",
  "data": {
    "after": "t3_abcdef",
    "dist": 25,
    "modhash": "",
    "geo_filter": null,
    "children": [
      {
        "kind": "t3",
        "data": {
          "approved_at_utc": null,
          "subreddit": "AskReddit",
          "selftext": "",
          "author_fullname": "t2_abcdef",
          "saved": false,
          "mod_reason_title": null,
          "gilded": 2,
          "clicked": false,
          "title": "What's a common misconception that drives you crazy?",
          "link_flair_richtext": [],
          "subreddit_name_prefixed": "r/AskReddit",
          "hidden": false,
          "pwls": 6,
          "link_flair_css_class": null,
          "downs": 0,
          "thumbnail_height": null,
          "top_awarded_type": null,
          "hide_score": false,
          "name": "t3_abcdef",
          "quarantine": false,
          "link_flair_text_color": "dark",
          "upvote_ratio": 0.95,
          "author_flair_background_color": null,
          "subreddit_type": "public",
          "ups": 35200,
          "total_awards_received": 5,
          "media_embed": {},
          "thumbnail_width": null,
          "author_flair_template_id": null,
          "is_original_content": false,
          "user_reports": [],
          "secure_media": null,
          "is_reddit_media_domain": false,
          "is_meta": false,
          "category": null,
          "secure_media_embed": {},
          "link_flair_text": null,
          "can_mod_post": false,
          "score": 35200,
          "approved_by": null,
          "author_premium": true,
          "thumbnail": "self",
          "edited": false,
          "author_flair_css_class": null,
          "author_flair_richtext": [],
          "gildings": {
            "gid_1": 1,
            "gid_2": 1
          },
          "content_categories": null,
          "is_self": true,
          "mod_note": null,
          "created": 1625097600,
          "link_flair_type": "text",
          "wls": 6,
          "removed_by_category": null,
          "banned_by": null,
          "author_flair_type": "text",
          "domain": "self.AskReddit",
          "allow_live_comments": true,
          "selftext_html": null,
          "likes": null,
          "suggested_sort": null,
          "banned_at_utc": null,
          "view_count": null,
          "archived": false,
          "no_follow": false,
          "is_crosspostable": true,
          "pinned": false,
          "over_18": false,
          "all_awardings": [
            {
              "giver_coin_reward": null,
              "subreddit_id": null,
              "is_new": false,
              "days_of_drip_extension": 0,
              "coin_price": 500,
              "id": "gid_2",
              "penny_donate": null,
              "award_sub_type": "GLOBAL",
              "coin_reward": 100,
              "icon_url": "https://www.redditstatic.com/gold/awards/icon/gold_512.png",
              "days_of_premium": 7,
              "tiers_by_required_awardings": null,
              "resized_icons": [
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_16.png",
                  "width": 16,
                  "height": 16
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_32.png",
                  "width": 32,
                  "height": 32
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_48.png",
                  "width": 48,
                  "height": 48
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_64.png",
                  "width": 64,
                  "height": 64
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_128.png",
                  "width": 128,
                  "height": 128
                }
              ],
              "icon_width": 512,
              "static_icon_width": 512,
              "start_date": null,
              "is_enabled": true,
              "awardings_required_to_grant_benefits": null,
              "description": "Gives 100 Reddit Coins and a week of r/lounge access and ad-free browsing.",
              "end_date": null,
              "subreddit_coin_reward": 0,
              "count": 1,
              "static_icon_height": 512,
              "name": "Gold",
              "resized_static_icons": [
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_16.png",
                  "width": 16,
                  "height": 16
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_32.png",
                  "width": 32,
                  "height": 32
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_48.png",
                  "width": 48,
                  "height": 48
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_64.png",
                  "width": 64,
                  "height": 64
                },
                {
                  "url": "https://www.redditstatic.com/gold/awards/icon/gold_128.png",
                  "width": 128,
                  "height": 128
                }
              ],
              "icon_format": null,
              "icon_height": 512,
              "penny_price": null,
              "award_type": "global",
              "static_icon_url": "https://www.redditstatic.com/gold/awards/icon/gold_512.png"
            }
          ],
          "awarders": [],
          "media_only": false,
          "can_gild": true,
          "spoiler": false,
          "locked": false,
          "author_flair_text": null,
          "treatment_tags": [],
          "visited": false,
          "removed_by": null,
          "num_reports": null,
          "distinguished": null,
          "subreddit_id": "t5_2qh1i",
          "author_is_blocked": false,
          "mod_reason_by": null,
          "removal_reason": null,
          "link_flair_background_color": "",
          "id": "abcdef",
          "is_robot_indexable": true,
          "report_reasons": null,
          "author": "CuriousRedditor",
          "discussion_type": null,
          "num_comments": 12400,
          "send_replies": true,
          "whitelist_status": "all_ads",
          "contest_mode": false,
          "mod_reports": [],
          "author_patreon_flair": false,
          "author_flair_text_color": null,
          "permalink": "/r/AskReddit/comments/abcdef/whats_a_common_misconception_that_drives_you_crazy/",
          "parent_whitelist_status": "all_ads",
          "stickied": false,
          "url": "https://www.reddit.com/r/AskReddit/comments/abcdef/whats_a_common_misconception_that_drives_you_crazy/",
          "subreddit_subscribers": 32000000,
          "created_utc": 1625068800,
          "num_crossposts": 2,
          "media": null,
          "is_video": false
        }
      },
      // ... more post objects ...
    ],
    "before": null
  }
}
    

Note: This is a simulated response based on typical Reddit API results. In a real scenario, you would need to provide a valid OAuth2 access token to receive actual data. The post content and metadata are generated for demonstration purposes.