REDDIT API

Post Comments

Retrieve post comments from Reddit with a single API request.

GET/api/data/v1/reddit/post/comments
1credit base cost

Request parameters

Up to 1 credit

Reddit post URL

One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.

Set to true for a trimmed down version of the response

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/reddit/post/comments?url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAskReddit%2Fcomments%2Fablzuq%2Fpeople_who_havent_pooped_in_2019_yet_why_are_you%2F' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "credits_charged": 1,
  "comments": [
    {
      "id": "mymupxb",
      "author": "Background-Emu-2890",
      "author_fullname": "t2_efdlposp6",
      "body": "Black cat i have one and i love her so much !",
      "name": "t1_mymupxb",
      "created_utc": 1750342221,
      "created_at_iso": "2025-06-19T14:10:21.000Z",
      "parent_id": "t3_1lfbo7u",
      "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/",
      "replies": {
        "items": [
          {
            "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
            "created_utc": 1750343166,
            "created_at_iso": "2025-06-19T14:26:06.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": "mymxwde",
            "banned_at_utc": null,
            "mod_reason_title": null,
            "gilded": 0,
            "archived": false,
            "collapsed_reason_code": null,
            "no_follow": false,
            "author": "doublestitch",
            "can_mod_post": false,
            "send_replies": true,
            "parent_id": "t1_mymupxb",
            "score": 19,
            "author_fullname": "t2_10py0g",
            "removal_reason": null,
            "approved_by": null,
            "mod_note": null,
            "all_awardings": [],
            "body": "House panthers for the win",
            "edited": false,
            "top_awarded_type": null,
            "author_flair_css_class": null,
            "name": "t1_mymxwde",
            "is_submitter": false,
            "downs": 0,
            "author_flair_richtext": [],
            "author_patreon_flair": false,
            "body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>",
            "gildings": {},
            "collapsed_reason": null,
            "distinguished": null,
            "associated_award": null,
            "stickied": false,
            "author_premium": false,
            "can_gild": false,
            "link_id": "t3_1lfbo7u",
            "unrepliable_reason": null,
            "author_flair_text_color": null,
            "score_hidden": false,
            "permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
            "subreddit_type": "public",
            "locked": false,
            "report_reasons": null,
            "created": 1750343166,
            "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": 19
          }
        ],
        "more": {
          "has_more": true,
          "cursor": "myn970w"
        }
      },
      "ups": 75,
      "downs": 0,
      "score": 75
    }
  ],
  "post": {
    "id": "1lfbo7u",
    "author": "Vetro_Nodulare2",
    "author_fullname": "t2_16syu27ar1",
    "subreddit": "AskReddit",
    "title": "What is a thing you love that lots of people hate?",
    "downs": 0,
    "name": "t3_1lfbo7u",
    "upvote_ratio": 0.91,
    "ups": 47,
    "total_awards_received": 0,
    "score": 47,
    "created": 1750341959,
    "num_comments": 353,
    "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/",
    "subreddit_subscribers": 56146601,
    "is_video": false,
    "created_utc": 1750341959
  },
  "more": {
    "has_more": true,
    "cursor": "myoaw2m,myob40l,myoeo9h"
  }
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "author_fullname": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_utc": {
            "type": "integer"
          },
          "created_at_iso": {
            "type": "string"
          },
          "parent_id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "replies": {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "created_utc": {
                      "type": "integer"
                    },
                    "created_at_iso": {
                      "type": "string"
                    },
                    "subreddit_id": {
                      "type": "string"
                    },
                    "approved_at_utc": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "author_is_blocked": {
                      "type": "boolean"
                    },
                    "comment_type": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "awarders": {
                      "type": "array"
                    },
                    "mod_reason_by": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "banned_by": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "author_flair_type": {
                      "type": "string"
                    },
                    "total_awards_received": {
                      "type": "integer"
                    },
                    "subreddit": {
                      "type": "string"
                    },
                    "author_flair_template_id": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "likes": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "replies": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array"
                        },
                        "more": {
                          "type": "object",
                          "properties": {
                            "has_more": {
                              "type": "boolean"
                            },
                            "next_cursor": {
                              "type": [
                                "string",
                                "object",
                                "array",
                                "number",
                                "boolean",
                                "null"
                              ]
                            }
                          }
                        }
                      }
                    },
                    "user_reports": {
                      "type": "array"
                    },
                    "saved": {
                      "type": "boolean"
                    },
                    "id": {
                      "type": "string"
                    },
                    "banned_at_utc": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "mod_reason_title": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "gilded": {
                      "type": "integer"
                    },
                    "archived": {
                      "type": "boolean"
                    },
                    "collapsed_reason_code": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "no_follow": {
                      "type": "boolean"
                    },
                    "author": {
                      "type": "string"
                    },
                    "can_mod_post": {
                      "type": "boolean"
                    },
                    "send_replies": {
                      "type": "boolean"
                    },
                    "parent_id": {
                      "type": "string"
                    },
                    "score": {
                      "type": "integer"
                    },
                    "author_fullname": {
                      "type": "string"
                    },
                    "removal_reason": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "approved_by": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "mod_note": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "all_awardings": {
                      "type": "array"
                    },
                    "body": {
                      "type": "string"
                    },
                    "edited": {
                      "type": "boolean"
                    },
                    "top_awarded_type": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "author_flair_css_class": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "is_submitter": {
                      "type": "boolean"
                    },
                    "downs": {
                      "type": "integer"
                    },
                    "author_flair_richtext": {
                      "type": "array"
                    },
                    "author_patreon_flair": {
                      "type": "boolean"
                    },
                    "body_html": {
                      "type": "string"
                    },
                    "gildings": {
                      "type": "object",
                      "properties": {}
                    },
                    "collapsed_reason": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "distinguished": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "associated_award": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "stickied": {
                      "type": "boolean"
                    },
                    "author_premium": {
                      "type": "boolean"
                    },
                    "can_gild": {
                      "type": "boolean"
                    },
                    "link_id": {
                      "type": "string"
                    },
                    "unrepliable_reason": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "author_flair_text_color": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "score_hidden": {
                      "type": "boolean"
                    },
                    "permalink": {
                      "type": "string"
                    },
                    "subreddit_type": {
                      "type": "string"
                    },
                    "locked": {
                      "type": "boolean"
                    },
                    "report_reasons": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "created": {
                      "type": "integer"
                    },
                    "author_flair_text": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "treatment_tags": {
                      "type": "array"
                    },
                    "collapsed": {
                      "type": "boolean"
                    },
                    "subreddit_name_prefixed": {
                      "type": "string"
                    },
                    "controversiality": {
                      "type": "integer"
                    },
                    "depth": {
                      "type": "integer"
                    },
                    "author_flair_background_color": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "collapsed_because_crowd_control": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "mod_reports": {
                      "type": "array"
                    },
                    "num_reports": {
                      "type": [
                        "string",
                        "object",
                        "array",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "ups": {
                      "type": "integer"
                    }
                  }
                }
              },
              "more": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "cursor": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "ups": {
            "type": "integer"
          },
          "downs": {
            "type": "integer"
          },
          "score": {
            "type": "integer"
          }
        }
      }
    },
    "post": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "author_fullname": {
          "type": "string"
        },
        "subreddit": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "downs": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "upvote_ratio": {
          "type": "number"
        },
        "ups": {
          "type": "integer"
        },
        "total_awards_received": {
          "type": "integer"
        },
        "score": {
          "type": "integer"
        },
        "created": {
          "type": "integer"
        },
        "num_comments": {
          "type": "integer"
        },
        "url": {
          "type": "string"
        },
        "subreddit_subscribers": {
          "type": "integer"
        },
        "is_video": {
          "type": "boolean"
        },
        "created_utc": {
          "type": "integer"
        }
      }
    },
    "more": {
      "type": "object",
      "properties": {
        "has_more": {
          "type": "boolean"
        },
        "cursor": {
          "type": "string"
        }
      }
    }
  }
}