Skip to main content
GET
/
v1
/
scrape
/
reddit
/
post
/
comments
Post Comments
curl --request GET \
  --url https://api.sociavault.com/v1/scrape/reddit/post/comments \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "success": true,
    "post": {
      "approved_at_utc": null,
      "subreddit": "AskReddit",
      "selftext": "",
      "user_reports": {},
      "saved": false,
      "mod_reason_title": null,
      "gilded": 13,
      "clicked": false,
      "title": "People who haven't pooped in 2019 yet, why are you still holding on to last years shit?",
      "link_flair_richtext": {},
      "subreddit_name_prefixed": "r/AskReddit",
      "hidden": false,
      "pwls": 6,
      "link_flair_css_class": null,
      "downs": 0,
      "top_awarded_type": null,
      "hide_score": false,
      "name": "t3_ablzuq",
      "quarantine": false,
      "link_flair_text_color": "dark",
      "upvote_ratio": 0.91,
      "author_flair_background_color": null,
      "subreddit_type": "public",
      "ups": 221988,
      "total_awards_received": 0,
      "media_embed": {},
      "author_flair_template_id": null,
      "is_original_content": false,
      "author_fullname": "t2_2uhed5z4",
      "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": 221988,
      "approved_by": null,
      "is_created_from_ads_ui": false,
      "author_premium": false,
      "thumbnail": "",
      "edited": 1546379983,
      "author_flair_css_class": null,
      "author_flair_richtext": {},
      "gildings": {},
      "content_categories": null,
      "is_self": true,
      "mod_note": null,
      "created": 1546376787,
      "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": true,
      "no_follow": false,
      "is_crosspostable": false,
      "pinned": false,
      "over_18": false,
      "all_awardings": {},
      "awarders": {},
      "media_only": false,
      "can_gild": false,
      "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": "ablzuq",
      "is_robot_indexable": true,
      "num_duplicates": 34,
      "report_reasons": null,
      "author": "ShoddySubstance",
      "discussion_type": null,
      "num_comments": 7903,
      "send_replies": true,
      "media": null,
      "contest_mode": false,
      "author_patreon_flair": false,
      "author_flair_text_color": null,
      "permalink": "/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/",
      "stickied": false,
      "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/",
      "subreddit_subscribers": 57727993,
      "created_utc": 1546376787,
      "num_crossposts": 76,
      "mod_reports": {},
      "is_video": false
    },
    "comments": {
      "0": {
        "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1czme/",
        "created_utc": 1546378524,
        "created_at_iso": "2019-01-01T21:35:24.000Z",
        "subreddit_id": "t5_2qh1i",
        "approved_at_utc": null,
        "author_is_blocked": false,
        "comment_type": null,
        "awarders": {},
        "mod_reason_by": null,
        "banned_by": null,
        "author_flair_type": "text",
        "total_awards_received": 0,
        "subreddit": "AskReddit",
        "author_flair_template_id": null,
        "likes": null,
        "replies": {
          "items": {
            "0": {
              "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1su6t/",
              "created_utc": 1546391589,
              "created_at_iso": "2019-01-02T01:13:09.000Z",
              "subreddit_id": "t5_2qh1i",
              "approved_at_utc": null,
              "author_is_blocked": false,
              "comment_type": null,
              "awarders": {},
              "mod_reason_by": null,
              "banned_by": null,
              "author_flair_type": "text",
              "total_awards_received": 0,
              "subreddit": "AskReddit",
              "author_flair_template_id": null,
              "likes": null,
              "replies": {
                "items": {
                  "0": {
                    "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1ye8p/",
                    "created_utc": 1546396468,
                    "created_at_iso": "2019-01-02T02:34:28.000Z",
                    "total_awards_received": 0,
                    "approved_at_utc": null,
                    "author_is_blocked": false,
                    "comment_type": null,
                    "awarders": {},
                    "mod_reason_by": null,
                    "banned_by": null,
                    "ups": 782,
                    "removal_reason": null,
                    "link_id": "t3_ablzuq",
                    "author_flair_template_id": null,
                    "likes": null,
                    "replies": {
                      "items": {
                        "0": {
                          "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed2xsuk/",
                          "created_utc": 1546442379,
                          "created_at_iso": "2019-01-02T15:19:39.000Z",
                          "subreddit_id": "t5_2qh1i",
                          "approved_at_utc": null,
                          "author_is_blocked": false,
                          "comment_type": null,
                          "awarders": {},
                          "mod_reason_by": null,
                          "banned_by": null,
                          "author_flair_type": "text",
                          "total_awards_received": 0,
                          "subreddit": "AskReddit",
                          "author_flair_template_id": null,
                          "likes": null,
                          "replies": {
                            "items": {},
                            "more": {
                              "has_more": false,
                              "next_cursor": null
                            }
                          },
                          "user_reports": {},
                          "saved": false,
                          "id": "ed2xsuk",
                          "banned_at_utc": null,
                          "mod_reason_title": null,
                          "gilded": 0,
                          "archived": true,
                          "collapsed_reason_code": null,
                          "no_follow": false,
                          "author": "minjabinja",
                          "can_mod_post": false,
                          "send_replies": true,
                          "parent_id": "t1_ed1ye8p",
                          "score": 337,
                          "author_fullname": "t2_nqzim",
                          "removal_reason": null,
                          "approved_by": null,
                          "mod_note": null,
                          "all_awardings": {},
                          "collapsed": false,
                          "body": "goals",
                          "edited": false,
                          "top_awarded_type": null,
                          "author_flair_css_class": null,
                          "name": "t1_ed2xsuk",
                          "is_submitter": false,
                          "downs": 0,
                          "author_flair_richtext": {},
                          "author_patreon_flair": false,
                          "body_html": "&lt;div class=\"md\"&gt;&lt;p&gt;goals&lt;/p&gt;\n&lt;/div&gt;",
                          "gildings": {},
                          "collapsed_reason": null,
                          "distinguished": null,
                          "associated_award": null,
                          "stickied": false,
                          "author_premium": false,
                          "can_gild": false,
                          "link_id": "t3_ablzuq",
                          "unrepliable_reason": null,
                          "author_flair_text_color": null,
                          "score_hidden": false,
                          "permalink": "/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed2xsuk/",
                          "subreddit_type": "public",
                          "locked": false,
                          "report_reasons": null,
                          "created": 1546442379,
                          "author_flair_text": null,
                          "treatment_tags": {},
                          "subreddit_name_prefixed": "r/AskReddit",
                          "controversiality": 0,
                          "depth": 3,
                          "author_flair_background_color": null,
                          "collapsed_because_crowd_control": null,
                          "mod_reports": {},
                          "num_reports": null,
                          "ups": 337
                        }
                      },
                      "more": {
                        "has_more": true,
                        "cursor": "eduy6f3,ejxami8,eegd7xa,ef29a32,ehq4puw,eqb5cnr,edhhwh5,ei3p2wr,ej851tk,el4yhl2,epc5qyk"
                      }
                    },
                    "user_reports": {},
                    "saved": false,
                    "id": "ed1ye8p",
                    "banned_at_utc": null,
                    "mod_reason_title": null,
                    "gilded": 0,
                    "archived": true,
                    "collapsed_reason_code": null,
                    "no_follow": false,
                    "author": "[deleted]",
                    "can_mod_post": false,
                    "send_replies": true,
                    "parent_id": "t1_ed1su6t",
                    "score": 782,
                    "approved_by": null,
                    "report_reasons": null,
                    "all_awardings": {},
                    "subreddit_id": "t5_2qh1i",
                    "body": "I made my biggest poop of last year right in between Christmas and New year's- first time I could say that I filled the bowl to the waterline",
                    "edited": false,
                    "author_flair_css_class": null,
                    "downs": 0,
                    "is_submitter": false,
                    "body_html": "&lt;div class=\"md\"&gt;&lt;p&gt;I made my biggest poop of last year right in between Christmas and New year&amp;#39;s- first time I could say that I filled the bowl to the waterline&lt;/p&gt;\n&lt;/div&gt;",
                    "gildings": {},
                    "collapsed_reason": null,
                    "associated_award": null,
                    "stickied": false,
                    "subreddit_type": "public",
                    "can_gild": false,
                    "top_awarded_type": null,
                    "unrepliable_reason": null,
                    "author_flair_text_color": "dark",
                    "score_hidden": false,
                    "permalink": "/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1ye8p/",
                    "num_reports": null,
                    "locked": false,
                    "name": "t1_ed1ye8p",
                    "created": 1546396468,
                    "subreddit": "AskReddit",
                    "author_flair_text": null,
                    "treatment_tags": {},
                    "collapsed": false,
                    "subreddit_name_prefixed": "r/AskReddit",
                    "controversiality": 0,
                    "depth": 2,
                    "author_flair_background_color": "",
                    "collapsed_because_crowd_control": null,
                    "mod_reports": {},
                    "mod_note": null,
                    "distinguished": null
                  }
                },
                "more": {
                  "has_more": true,
                  "cursor": "egos1bd,ef1lv5d,el1tr5b"
                }
              },
              "user_reports": {},
              "saved": false,
              "id": "ed1su6t",
              "banned_at_utc": null,
              "mod_reason_title": null,
              "gilded": 0,
              "archived": true,
              "collapsed_reason_code": null,
              "no_follow": false,
              "author": "jofwu",
              "can_mod_post": false,
              "send_replies": true,
              "parent_id": "t1_ed1czme",
              "score": 2418,
              "author_fullname": "t2_6ckuh",
              "removal_reason": null,
              "approved_by": null,
              "mod_note": null,
              "all_awardings": {},
              "body": "Somewhere out there, somebody has made the biggest poop of the year. And they don't even know it. ",
              "edited": false,
              "top_awarded_type": null,
              "author_flair_css_class": null,
              "name": "t1_ed1su6t",
              "is_submitter": false,
              "downs": 0,
              "author_flair_richtext": {},
              "author_patreon_flair": false,
              "body_html": "&lt;div class=\"md\"&gt;&lt;p&gt;Somewhere out there, somebody has made the biggest poop of the year. And they don&amp;#39;t even know it. &lt;/p&gt;\n&lt;/div&gt;",
              "gildings": {},
              "collapsed_reason": null,
              "distinguished": null,
              "associated_award": null,
              "stickied": false,
              "author_premium": false,
              "can_gild": false,
              "link_id": "t3_ablzuq",
              "unrepliable_reason": null,
              "author_flair_text_color": null,
              "score_hidden": false,
              "permalink": "/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1su6t/",
              "subreddit_type": "public",
              "locked": false,
              "report_reasons": null,
              "created": 1546391589,
              "author_flair_text": null,
              "treatment_tags": {},
              "collapsed": false,
              "subreddit_name_prefixed": "r/AskReddit",
              "controversiality": 0,
              "depth": 1,
              "author_flair_background_color": null,
              "collapsed_because_crowd_control": null,
              "mod_reports": {},
              "num_reports": null,
              "ups": 2418
            }
          },
          "more": {
            "has_more": true,
            "cursor": "ed1lvsa,ed3fnpq,ed25l2w,ed2bzid,ed2do8g,eda7sqp,es4scjk,edjv4rx,efp5ww0,eh8q0ke,em7lhme,epkr3k2,epu6jcz,er6c3si,errghbq,ef687ye"
          }
        },
        "user_reports": {},
        "saved": false,
        "id": "ed1czme",
        "banned_at_utc": null,
        "mod_reason_title": null,
        "gilded": 2,
        "archived": true,
        "collapsed_reason_code": null,
        "no_follow": false,
        "author": "sweatybeard",
        "can_mod_post": false,
        "send_replies": true,
        "parent_id": "t3_ablzuq",
        "score": 12205,
        "author_fullname": "t2_cep2k",
        "approved_by": null,
        "mod_note": null,
        "all_awardings": {},
        "collapsed": false,
        "body": "But when I finally do, it'll be the years biggest shit ^^^^^so ^^^^^far",
        "edited": false,
        "top_awarded_type": null,
        "author_flair_css_class": null,
        "name": "t1_ed1czme",
        "is_submitter": false,
        "downs": 0,
        "author_flair_richtext": {},
        "author_patreon_flair": false,
        "body_html": "&lt;div class=\"md\"&gt;&lt;p&gt;But when I finally do, it&amp;#39;ll be the years biggest shit &lt;sup&gt;&lt;sup&gt;&lt;sup&gt;&lt;sup&gt;&lt;sup&gt;so&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt; &lt;sup&gt;&lt;sup&gt;&lt;sup&gt;&lt;sup&gt;&lt;sup&gt;far&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt;&lt;/sup&gt;&lt;/p&gt;\n&lt;/div&gt;",
        "removal_reason": null,
        "collapsed_reason": null,
        "distinguished": null,
        "associated_award": null,
        "stickied": false,
        "author_premium": false,
        "can_gild": false,
        "gildings": {},
        "unrepliable_reason": null,
        "author_flair_text_color": null,
        "score_hidden": false,
        "permalink": "/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/ed1czme/",
        "subreddit_type": "public",
        "locked": false,
        "report_reasons": null,
        "created": 1546378524,
        "author_flair_text": null,
        "treatment_tags": {},
        "link_id": "t3_ablzuq",
        "subreddit_name_prefixed": "r/AskReddit",
        "controversiality": 0,
        "depth": 0,
        "author_flair_background_color": null,
        "collapsed_because_crowd_control": null,
        "mod_reports": {},
        "num_reports": null,
        "ups": 12205
      }
    },
    "more": {
      "has_more": true,
      "cursor": "ed1jhoi,ed1f3kw,ed1qgjh,ed1e4vd,ed1benx,ed1e6rw,ed1k3ad,ed1eak1,eet1405,ed2bf3m,ef74u7f,ed1j20m,ed1mq5i,ed1khi5,ed1m0ya,ed1olpa,ed1kil6,ed1ii4u,ed1ebwf,ed1pqb2,ed1ikg8,eemwre4,ejf16yu,ed1enmh,ept7g6w,en5htox,edq39af,ed1pg5s,ed1r2sh,egdyif2,ed229d8,ed1e43h,ektwphx,eejlgxi,epi5726,ekizds1,eg6l6r4,ed1i91r,ed1dws1,ed1iixz,ed1i9ot,ed1ixsf,ei0zic1,ejuyeud,ed1dt0g,ekobrqp,ed1ik91,ed1dje4,efaiw3g,ed1x5pz,ed1lsfb,eegd26z,ed1l4gf,eq8omco,ed1d93t,ed1ielq,ed1e8bv,ed1dmn6,ee1pvnc,ed22f4h,edhi0jh,ed1q3nt,eihmpi6,ep0e7ux,en5ta39,ehacon4,ed2fqtv,ed22pkg,ejwmkok,ed1iy9d,emfn0c7,ed1objx,ed1qyz8,ed1nn2e,epzqcd4,ed1q21p,ed1e53z,efranpz,ed1qvr0,ed22gli,ed1dgey,egm2dzm,ejygb43,hgqxxcp,eeg1bod,emk3wji,ed1iajm,hgq0wpy,eq1p8om,ej7lrpc,ed1cnmm,ejaoh0u,ed1lzg3,ed1j7qq,ed1lwq1,ed1k3po,ej2bypz,ed1md7j,ed1j3vl,ed1i8e5",
      "remaining_cursor": "ed1l57d,ed1l6c4,ed1ik58,erlyhgm,hgqyrzc,ed1ipq4,ed216zj,ed1ojjl,ed1k43y,ed1knt9,ed22604,ed1ooxq,ed255sy,ejswk39,ed22kxf,es55deb,ed1pxfo,ed1oho7,ed1d97v,ed1j1k3,ed1v2wc,ed23eu3,er51524,ee8cwtz,ed1lamd,ed1np6t,esfc06q,epkbb23,ed1k0fu,ee30fa1,ed1oh5z,ed1obdw,ed1j6st,ed1jaw8,ed1zmjk,erun1m9,ed1j2jf,ed221pj,ertmm7h,ej30v0s,ed1ix6c,hgptnrp,ed1p6qf,ed1l4s0,ed1jsx0,ed1iot5,ed1kun8,ed1m0v4,ed2d0fj,ed1kdqy,ed1dbys,ed1cxmh,ed1j9wj,ed1q1kc,ed22nsb,efzcrg5,ed223j5,edfnh80,ed1p3t0,ed1jakx,ed1dxml,ed1jx4e,hgr35wy,ed1md3m,ekrvwtw,elyqa2e,elwlj61,ed1wp2h,ed1eaky,ed1r833,efoejf0,eibxwim,ed22jcj,efscc16,ed1ip7t,ed1l36x,ed1q36g,ep6socc,ed1py5q,eqpre9n,efly5oq,ed1rdsi,ed1r07e,eq3k4h1,ereizfc,ed1iz8a,ed22ptb,ernsept,ed1ipwd,hgpfq40,elu7ug1,ed1jpdc,ed1mdcl,ephda2c,ed1lli7,ed220il,edp41zz,eiqicyz"
    }
  },
  "creditsUsed": 1
}
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string
required

Reddit post URL

Example:

"https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"

cursor
string

Cursor to get more comments, or replies.

Example:

"ed1lvsa,ed3fnpq,ed25l2w"

trim
boolean

Set to true for a trimmed down version of the response

Example:

false

Response

Successful response

Key Response Fields:

  • data.post.id: Short Reddit ID of the post
  • data.post.title: Post title text
  • data.post.author: Reddit username of the original poster
  • data.post.score: Net upvote score of the post
  • data.post.num_comments: Total comment count
  • data.comments[n].id: Short ID of the comment
  • data.comments[n].author: Username of the commenter
  • data.comments[n].body: Plain text body of the comment
  • data.comments[n].score: Net upvote score of the comment
  • data.comments[n].replies: Nested reply tree with items and more.cursor for pagination
  • data.more.cursor: Comma-separated cursor IDs — pass as cursor param to load more top-level comments