Reddit Scraper

ENDPOINTS
GET/users/insights

User Insights

Analyze a user's activity: posts vs comments, top subreddits, active hours and weekdays, best post.

QUERY PARAMS

Reddit username, u/name, t2_ fullname or any reddit.com/user/ link.

Examples:

  • Username: GovSchwarzenegger
  • URL: https://www.reddit.com/user/GovSchwarzenegger/

Newest posts and comments to analyze.

Default: 100

Allowed values: 1-100

{
  "user": "GovSchwarzenegger",
  "sample": {
    "size": 100,
    "span_hours": 6527.0,
    "from": "2023-06-02T22:16:55Z",
    "to": "2024-02-29T21:19:38Z"
  },
  "activity": {
    "post_count": 13,
    "comment_count": 87,
    "items_per_day": 0.37,
    "by_hour_utc": [
      {
        "hour_utc": 0,
        "count": 0
      },
      {
        "hour_utc": 1,
        "count": 0
      },
      {
        "hour_utc": 2,
        "count": 0
      },
      {
        "hour_utc": 3,
        "count": 1
      },
      {
        "hour_utc": 4,
        "count": 0
      },
      {
        "hour_utc": 5,
        "count": 0
      },
      {
        "hour_utc": 6,
        "count": 0
      },
      {
        "hour_utc": 7,
        "count": 0
      },
      {
        "hour_utc": 8,
        "count": 0
      },
      {
        "hour_utc": 9,
        "count": 0
      },
      {
        "hour_utc": 10,
        "count": 0
      },
      {
        "hour_utc": 11,
        "count": 0
      },
      {
        "hour_utc": 12,
        "count": 2
      },
      {
        "hour_utc": 13,
        "count": 2
      },
      {
        "hour_utc": 14,
        "count": 0
      },
      {
        "hour_utc": 15,
        "count": 3
      },
      {
        "hour_utc": 16,
        "count": 1
      },
      {
        "hour_utc": 17,
        "count": 8
      },
      {
        "hour_utc": 18,
        "count": 15
      },
      {
        "hour_utc": 19,
        "count": 11
      },
      {
        "hour_utc": 20,
        "count": 16
      },
      {
        "hour_utc": 21,
        "count": 24
      },
      {
        "hour_utc": 22,
        "count": 11
      },
      {
        "hour_utc": 23,
        "count": 6
      }
    ],
    "by_weekday": [
      {
        "weekday": "monday",
        "count": 1
      },
      {
        "weekday": "tuesday",
        "count": 22
      },
      {
        "weekday": "wednesday",
        "count": 2
      },
      {
        "weekday": "thursday",
        "count": 19
      },
      {
        "weekday": "friday",
        "count": 54
      },
      {
        "weekday": "saturday",
        "count": 0
      },
      {
        "weekday": "sunday",
        "count": 2
      }
    ]
  },
  "engagement": {
    "post_score_mean": 831.6,
    "comment_score_mean": 48.9,
    "best_post": {
      "kind": "post",
      "id": "14qm4ww",
      "title": "Happy Fourth!",
      "link": "https://www.reddit.com/user/GovSchwarzenegger/comments/14qm4ww/happy_fourth/",
      "type": "gallery",
      "text": "Born in Austria, Made in America. This is your official reminder: put your phone down and go have fun!",
      "text_html": "<!-- SC_OFF --><div class=\"md\"><p>Born in Austria, Made in America. This is your official reminder: put your phone down and go have fun!</p>\n</div><!-- SC_ON -->",
      "external_link": "https://www.reddit.com/gallery/14qm4ww",
      "domain": "reddit.com",
      "created_at": "2023-07-04T17:56:58Z",
      "edited_at": null,
      "subreddit": {
        "name": "u_GovSchwarzenegger",
        "id": "cgw7f",
        "link": "https://www.reddit.com/r/u_GovSchwarzenegger/",
        "subscriber_count": 0,
        "type": "user"
      },
      "author": {
        "username": "GovSchwarzenegger",
        "id": "9r4qc",
        "link": "https://www.reddit.com/user/GovSchwarzenegger/",
        "flair": null,
        "is_premium": true,
        "has_patreon_flair": false
      },
      "flair": null,
      "stats": {
        "score": 2153,
        "upvote_ratio": 1.0,
        "comment_count": 52,
        "crosspost_count": 0,
        "view_count": null
      },
      "flags": {
        "is_self": false,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_pinned": false,
        "is_locked": false,
        "is_archived": false,
        "is_edited": false,
        "is_original_content": false,
        "is_contest_mode": false,
        "is_crosspost": false,
        "is_crosspostable": false,
        "is_meta": false,
        "is_media_only": false,
        "is_reddit_media": false,
        "is_robot_indexable": true,
        "is_score_hidden": false,
        "is_quarantined": false,
        "is_removed": false,
        "is_created_from_ads_ui": false,
        "allows_live_comments": false
      },
      "media": {
        "type": "gallery",
        "images": [
          {
            "id": "l374khutlz9b1",
            "type": "image",
            "link": "https://i.redd.it/l374khutlz9b1.jpg",
            "width": 1512,
            "height": 2016,
            "mime": "image/jpg",
            "gif_link": null,
            "mp4_link": null,
            "caption": null,
            "outbound_link": null,
            "status": "valid"
          },
          {
            "id": "gxv9whutlz9b1",
            "type": "image",
            "link": "https://i.redd.it/gxv9whutlz9b1.jpg",
            "width": 1600,
            "height": 1153,
            "mime": "image/jpg",
            "gif_link": null,
            "mp4_link": null,
            "caption": null,
            "outbound_link": null,
            "status": "valid"
          }
        ],
        "video": null,
        "embed": null,
        "preview": null
      },
      "poll": null,
      "crosspost_parent": null,
      "crosspost_parent_id": null,
      "thumbnail": {
        "link": "https://b.thumbs.redditmedia.com/ZBI73bVLwyq3gm20ksV8tOebvUyQOPlVeWOKnzB-MiE.jpg",
        "width": 140,
        "height": 140
      },
      "distinguished": null,
      "suggested_sort": "qa",
      "removed_by": null,
      "category": null,
      "content_categories": [],
      "discussion_type": null,
      "treatment_tags": []
    },
    "best_comment": {
      "kind": "comment",
      "id": "k3nd1dp",
      "link": "https://www.reddit.com/r/videos/comments/170kunw/arnold_schwarzenegger_on_aging_and_being_out_of/k3nd1dp/",
      "post_id": "170kunw",
      "parent_comment_id": "k3lz6cn",
      "depth": null,
      "text": "I love hearing that! I just looked, and it was actually good advice, and not like when I told the guy to scream every time he hit his poses and got him thrown out of a bodybuilding contest.",
      "text_html": "<div class=\"md\"><p>I love hearing that! I just looked, and it was actually good advice, and not like when I told the guy to scream every time he hit his poses and got him thrown out of a bodybuilding contest.</p>\n</div>",
      "created_at": "2023-10-05T23:42:34Z",
      "edited_at": null,
      "subreddit": {
        "name": "videos",
        "id": "2qh1e",
        "link": "https://www.reddit.com/r/videos/",
        "type": "public"
      },
      "author": {
        "username": "GovSchwarzenegger",
        "id": "9r4qc",
        "link": "https://www.reddit.com/user/GovSchwarzenegger/",
        "flair": {
          "text": "Arnold Schwarzenegger",
          "type": "text",
          "css_class": "Youtuber",
          "template_id": null,
          "background_color": null,
          "text_color": "dark",
          "emojis": []
        },
        "is_premium": true,
        "has_patreon_flair": false
      },
      "stats": {
        "score": 747,
        "is_score_hidden": false,
        "controversiality": 0
      },
      "flags": {
        "is_submitter": false,
        "is_stickied": false,
        "is_locked": false,
        "is_archived": true,
        "is_collapsed": false,
        "is_edited": false,
        "is_deleted": false
      },
      "collapsed_reason": null,
      "distinguished": null,
      "media": [],
      "post": {
        "id": "170kunw",
        "title": "Arnold Schwarzenegger on Aging and Being Out of Shape",
        "link": "https://www.reddit.com/r/videos/comments/170kunw/arnold_schwarzenegger_on_aging_and_being_out_of/",
        "external_link": "https://www.youtube.com/watch?v=IZF70IS7kus",
        "author": {
          "username": "judgecoltjuryofsix",
          "link": "https://www.reddit.com/user/judgecoltjuryofsix/"
        },
        "comment_count": 244,
        "is_nsfw": false
      }
    }
  },
  "top_subreddits": [
    {
      "subreddit": "selfimprovement",
      "count": 47
    },
    {
      "subreddit": "u_GovSchwarzenegger",
      "count": 42
    },
    {
      "subreddit": "bodybuilding",
      "count": 2
    },
    {
      "subreddit": "videos",
      "count": 2
    },
    {
      "subreddit": "movies",
      "count": 2
    },
    {
      "subreddit": "Unexpected",
      "count": 1
    },
    {
      "subreddit": "conan",
      "count": 1
    },
    {
      "subreddit": "nosurf",
      "count": 1
    },
    {
      "subreddit": "popculturechat",
      "count": 1
    },
    {
      "subreddit": "FUBARtvshow",
      "count": 1
    }
  ]
}