Skip to content
Projetos

Sobre

Search Reddit posts and comments by keyword or paste a public Reddit link. Export comment threads, subreddit posts, user posts and comments, profiles, and media metadata to JSON, CSV, or Excel.

Dados e análise

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
Coletando histórico
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Reddit Scraper - Posts, Comments & Subreddits

Scrape Reddit posts and comments by keyword or paste a public thread, subreddit or profile link. Export Reddit data to JSON, CSV or Excel with post text, source links, timestamps, scores and available media metadata.

  • Use the Reddit comment scraper to export comments from a post URL or find comments by keyword.
  • Scrape new, hot or top subreddit posts and collect public posts and comments from a Reddit profile.
  • Search for public users, subreddits and media posts, or look up an individual post, comment, profile or subreddit.
  • Track brand mentions and product feedback with recurring keyword searches. Join comments to posts or parent comments where identifiers are available.
  • Export one row per result from the Apify Dataset or integrate it with the Apify API.

🚀 Quick Start

Start scraping Reddit in minutes without installing any software or configuring your environment.

  1. Open the Reddit Scraper on Apify.
  2. Create a free Apify account or sign in.
  3. Click Try for free.
  4. Configure your scraping input.
  5. Click Start to run the scraper.
  6. View and download the extracted Reddit data.

No installation or coding required.

Search Posts is the default mode. The sample search is python packaging.

Modes

Mode in Apify JSON value What to enter What you get
Search posts searchPosts Keywords Matching Reddit posts
Search media posts searchMedia Keywords Matching image, video, and gallery posts
Search subreddits searchSubreddits Keywords Matching subreddits
Search users searchUsers Keywords Matching Reddit profiles
Search comments searchComments Keywords Matching comments across Reddit
Post details postDetails Post URL Details for one post
Subreddit details subredditDetails Subreddit URL or name Details for one subreddit
User details userDetails Profile URL or username Details for one Reddit profile
Comment details commentDetails Comment URL Details for one comment
Subreddit posts subredditPosts Subreddit URL or name Posts from that subreddit
User posts userPosts Profile URL or username Posts by that user
User comments userComments Profile URL or username Comments by that user
Post comments postComments Post URL Comments and replies in that thread

Input settings

Accepted targets

  • Subreddit modes accept a subreddit URL such as https://www.reddit.com/r/Python/, r/Python or Python.
  • User modes accept a profile URL such as https://www.reddit.com/user/reddit/, u/reddit or reddit.
  • Subreddit and profile links can include public tabs such as /r/Python/new/ or /user/reddit/comments/. The selected mode and sort order control what the Actor collects.
  • Post Details and Post Comments accept Reddit post URLs, https://redd.it/<post-id>, or a Reddit post ID such as t3_1wubcvf.
  • Comment Details accepts a comment permalink or a Reddit comment ID such as t1_pd1ylzu.
  • For links copied with Reddit's Share button, use the expanded post permalink when the link contains /s/.

Settings

Setting What it controls
mode The type of search or collection.
queries One search query per line in search modes.
startUrls Reddit links or names for listing and details modes.
maxResults Maximum results per input. The default is 100. Each Details mode returns up to one row per input.
maxTotalResults Optional cap for the whole run.
sort Ranking for modes that support sorting. See Sort order and time range.
timeRange Time window for supported post sorts.
includeNsfw Allow mature results in search modes. Off by default.

Sort order and time range

Only the modes below accept custom sorting.

Mode sort values Default When you can set timeRange
searchPosts, searchMedia relevance, hot, new, top, comments relevance With relevance, top or comments
searchComments relevance, new, top relevance —
subredditPosts hot, new, top, rising, controversial hot With top or controversial
userPosts new, hot, top new With top
postComments top, new, old, controversial, confidence (Best), qa (Q&A) top —

Use lowercase values in Apify input. The available periods are hour, day, week, month, year and all. The Actor uses the mode's defaults when a selected option does not apply.

Input and output examples

Each example pairs the exact run input with one complete row from the live Reddit results. The Dataset keeps one row per result. Fields unavailable for a result use null.

Search posts

Input

{
  "mode": "searchPosts",
  "queries": ["python packaging"],
  "maxResults": 8,
  "sort": "relevance"
}

Dataset row

{
  "recordType": "post",
  "sourceMode": "searchPosts",
  "sourceTarget": "python packaging",
  "id": "t3_1snqpnx",
  "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/",
  "subreddit": "learnpython",
  "author": "ResponsibilityOk2747",
  "title": "uv or pip for python package management?",
  "text": "I've only ever used pip but I've been hearing that uv is faster? Is this true? what actually is uv, how does it differ? Any help is appreciated.",
  "createdAt": "2026-04-17T04:32:56.246000+0000",
  "score": 32,
  "commentCount": 35,
  "upvoteRatio": 0.9,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://preview.redd.it/snoovatar/avatars/a748c6cc-2deb-4eff-923f-68b4ebbb535c-headshot.png?auto=webp&s=03c9cb5a61747bef3e40fcc0efb9719900da9451",
      "id": "t2_9j9snl94",
      "name": "ResponsibilityOk2747",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/ResponsibilityOk2747"
    },
    "comments": 35,
    "content": {
      "gallery": null,
      "gif": {"height": 0, "url": "", "width": 0},
      "image": {"altText": "", "height": 0, "url": "", "width": 0},
      "link": {"thumbnail": {"height": 0, "url": "", "width": 0}, "url": ""},
      "text": "I've only ever used pip but I've been hearing that uv is faster? Is this true? what actually is uv, how does it differ? Any help is appreciated.",
      "video": {
        "duration": 0,
        "height": 0,
        "thumbnail": {"altText": "", "height": 0, "url": "", "width": 0},
        "url": "",
        "width": 0
      },
      "video_embed": {
        "authorName": "",
        "authorUrl": "",
        "description": "",
        "providerName": "",
        "providerUrl": "",
        "title": "",
        "url": ""
      }
    },
    "contentLanguage": "en",
    "creationDate": "2026-04-17T04:32:56.246000+0000",
    "editedDate": "",
    "flair": "",
    "id": "t3_1snqpnx",
    "nsfw": false,
    "score": 32,
    "subreddit": {
      "banner": "",
      "icon": "https://styles.redditmedia.com/t5_2r8ot/styles/communityIcon_jwr5s7l5ici61.png?width=64&frame=1&auto=webp&s=5e8a6c0fb811bb5d907cb7227e0dd9a116e7a0fb",
      "id": "t5_2r8ot",
      "name": "learnpython",
      "nsfw": false,
      "subscribers": 1063204,
      "title": "Python Education",
      "type": "PUBLIC",
      "url": "https://www.reddit.com/r/learnpython"
    },
    "thumbnail": {"height": 0, "url": "", "width": 0},
    "title": "uv or pip for python package management?",
    "upvoteRatio": 0.9,
    "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/"
  }
}

Search media posts

Input

{
  "mode": "searchMedia",
  "queries": ["cats"],
  "maxResults": 8,
  "sort": "relevance"
}

Dataset row

{
  "recordType": "post",
  "sourceMode": "searchMedia",
  "sourceTarget": "cats",
  "id": "t3_1smpzom",
  "url": "https://www.reddit.com/r/funnycats/comments/1smpzom/children_and_cats/",
  "subreddit": "funnycats",
  "author": "dass_rakesh_meena",
  "title": "Children and cats",
  "text": null,
  "createdAt": "2026-04-16T01:56:55.474000+0000",
  "score": 10996,
  "commentCount": 92,
  "upvoteRatio": 0.9813700200630553,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": {
    "video": {
      "duration": 65,
      "height": 1280,
      "thumbnail": {
        "altText": "",
        "height": 720,
        "url": "https://external-preview.redd.it/N3RkaDR5d2psZ3ZnMQvg1Rzd087NljBsQTHCSisw_ZtRqxWvUlts5bliUWlQ.png?format=pjpg&auto=webp&s=a36143bcfd158a251d7a78464cd4ebd3c64b9611",
        "width": 405
      },
      "url": "https://packaged-media.redd.it/b2aipyvjlgvg1/dl/m2-res_1280p.mp4?m=DASHPlaylist.mpd&v=1&e=1794110400&s=41a98f444bd583176dd6cee39a90a94bbc3a6abc",
      "width": 720
    }
  },
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://styles.redditmedia.com/t5_4ijb1o/styles/profileIcon_snoob2a624d1-bb3a-4412-a917-7689ee189183-headshot.png?frame=1&auto=webp&crop=256%3A256%2Csmart&s=e1ee4e9a31de34c2550ba798b82ef58e1703eedf",
      "id": "t2_cg39rymb",
      "name": "dass_rakesh_meena",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/dass_rakesh_meena"
    },
    "comments": 92,
    "content": {
      "gallery": null,
      "gif": {"height": 0, "url": "", "width": 0},
      "image": {"altText": "", "height": 0, "url": "", "width": 0},
      "link": {"thumbnail": {"height": 0, "url": "", "width": 0}, "url": ""},
      "text": "",
      "video": {
        "duration": 65,
        "height": 1280,
        "thumbnail": {
          "altText": "",
          "height": 720,
          "url": "https://external-preview.redd.it/N3RkaDR5d2psZ3ZnMQvg1Rzd087NljBsQTHCSisw_ZtRqxWvUlts5bliUWlQ.png?format=pjpg&auto=webp&s=a36143bcfd158a251d7a78464cd4ebd3c64b9611",
          "width": 405
        },
        "url": "https://packaged-media.redd.it/b2aipyvjlgvg1/dl/m2-res_1280p.mp4?m=DASHPlaylist.mpd&v=1&e=1794110400&s=41a98f444bd583176dd6cee39a90a94bbc3a6abc",
        "width": 720
      },
      "video_embed": {
        "authorName": "",
        "authorUrl": "",
        "description": "",
        "providerName": "",
        "providerUrl": "",
        "title": "",
        "url": ""
      }
    },
    "contentLanguage": "en",
    "creationDate": "2026-04-16T01:56:55.474000+0000",
    "editedDate": "",
    "flair": "",
    "id": "t3_1smpzom",
    "nsfw": false,
    "score": 10996,
    "subreddit": {
      "banner": "",
      "icon": "",
      "id": "t5_2tuo0",
      "name": "funnycats",
      "nsfw": false,
      "subscribers": 256897,
      "title": "funnycats",
      "type": "PUBLIC",
      "url": "https://www.reddit.com/r/funnycats"
    },
    "thumbnail": {
      "height": 140,
      "url": "https://external-preview.redd.it/N3RkaDR5d2psZ3ZnMQvg1Rzd087NljBsQTHCSisw_ZtRqxWvUlts5bliUWlQ.png?width=140&height=140&crop=1%3A1%2Csmart&format=jpg&auto=webp&s=aad46aef98a2732d7ed3bc7198c0af4e273c7ac1",
      "width": 140
    },
    "title": "Children and cats",
    "upvoteRatio": 0.9813700200630553,
    "url": "https://www.reddit.com/r/funnycats/comments/1smpzom/children_and_cats/"
  }
}

Search subreddits

Input

{
  "mode": "searchSubreddits",
  "queries": ["mechanical keyboards"],
  "maxResults": 8
}

Dataset row

{
  "recordType": "subreddit",
  "sourceMode": "searchSubreddits",
  "sourceTarget": "mechanical keyboards",
  "id": "t5_2rm65",
  "url": "https://www.reddit.com/r/keyboards",
  "subreddit": "keyboards",
  "author": null,
  "title": null,
  "text": null,
  "createdAt": null,
  "score": null,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": 154203,
  "activeUsers": null,
  "description": "Non-mouse and non-audio input devices for the discerning fingertip.",
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": "https://styles.redditmedia.com/t5_2rm65/styles/communityIcon_omezr4e84z8b1.png?width=64&frame=1&auto=webp&s=c5df27afaa4b477104f2af37ee1c915d0be85320",
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "description": "Non-mouse and non-audio input devices for the discerning fingertip.",
    "icon": "https://styles.redditmedia.com/t5_2rm65/styles/communityIcon_omezr4e84z8b1.png?width=64&frame=1&auto=webp&s=c5df27afaa4b477104f2af37ee1c915d0be85320",
    "id": "t5_2rm65",
    "name": "keyboards",
    "nsfw": false,
    "subscribers": 154203,
    "url": "https://www.reddit.com/r/keyboards"
  }
}

Search users

Input

{
  "mode": "searchUsers",
  "queries": ["reddit"],
  "maxResults": 8
}

Dataset row

{
  "recordType": "user",
  "sourceMode": "searchUsers",
  "sourceTarget": "reddit",
  "id": "t2_fc0l0",
  "url": "https://www.reddit.com/user/reddit_exchanges",
  "subreddit": null,
  "author": null,
  "title": null,
  "text": null,
  "createdAt": "2014-02-18T16:18:56.294000+0000",
  "score": null,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": 718,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": "reddit_exchanges",
  "avatarUrl": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_4.png",
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "creationDate": "2014-02-18T16:18:56.294000+0000",
    "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_4.png",
    "id": "t2_fc0l0",
    "karma": 718,
    "name": "reddit_exchanges",
    "nsfw": false,
    "url": "https://www.reddit.com/user/reddit_exchanges"
  }
}

Search comments

Input

{
  "mode": "searchComments",
  "queries": ["python"],
  "maxResults": 8,
  "sort": "top"
}

Dataset row

{
  "recordType": "comment",
  "sourceMode": "searchComments",
  "sourceTarget": "python",
  "id": "t1_jb1bfjd",
  "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/comment/t1_jb1bfjd/",
  "subreddit": null,
  "author": "A_Talking_iPod",
  "title": null,
  "text": "Python programmer meets a statically typed language: 5 injured, 8 dead",
  "createdAt": "2023-03-05T18:00:48.831000+0000",
  "score": 8635,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": null,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": "t3_11iz2ia",
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "author": {
      "creationDate": "2018-08-18T22:57:57.788000+0000",
      "deleted": false,
      "icon": "https://i.redd.it/snoovatar/avatars/0f6419b2-1ceb-4597-b8ab-3521708be3f8-headshot.png",
      "id": "t2_1ztdcs12",
      "karma": 56272,
      "name": "A_Talking_iPod",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/A_Talking_iPod"
    },
    "content": {
      "media": {"height": 0, "mimeType": "", "url": "", "width": 0},
      "text": "Python programmer meets a statically typed language: 5 injured, 8 dead"
    },
    "creationDate": "2023-03-05T18:00:48.831000+0000",
    "editedDate": "",
    "id": "t1_jb1bfjd",
    "post": {
      "author": {
        "deleted": false,
        "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
        "id": "t2_1bn5swxl",
        "name": "ClarityInMadness",
        "nsfw": true,
        "suspended": false,
        "url": "https://www.reddit.com/user/ClarityInMadness"
      },
      "comments": 1364,
      "content": {
        "gallery": null,
        "gif": {"height": 0, "url": "", "width": 0},
        "image": {"height": 1436, "url": "https://i.redd.it/750kdcr9qxla1.png", "width": 2557},
        "link": {"thumbnail": {"height": 0, "url": "", "width": 0}, "url": ""},
        "text": "",
        "video": {"duration": 0, "height": 0, "thumbnail": {"height": 0, "url": "", "width": 0}, "url": "", "width": 0},
        "video_embed": {
          "authorName": "",
          "authorUrl": "",
          "description": "",
          "providerName": "",
          "providerUrl": "",
          "title": "",
          "url": ""
        }
      },
      "creationDate": "2023-03-05T14:59:14.080000+0000",
      "editedDate": "",
      "flair": "Meme",
      "id": "t3_11iz2ia",
      "language": "en",
      "nsfw": false,
      "score": 29082,
      "subreddit": {
        "banner": "https://styles.redditmedia.com/t5_2tex6/styles/bannerBackgroundImage_z6ejudtdz7p41.png?frame=1&auto=webp&s=0daa34d362f627137863e891dfc9207b9593bb68",
        "icon": "https://styles.redditmedia.com/t5_2tex6/styles/communityIcon_70ds7qqgfr8b1.png?width=64&frame=1&auto=webp&s=434c8d27a6a387bace527047834efd165e033d6b",
        "id": "t5_2tex6",
        "name": "ProgrammerHumor",
        "nsfw": false,
        "subscribers": 4775355,
        "title": "memesAndJokesAboutEverythingProgrammingAndCS",
        "type": "PUBLIC",
        "url": "https://www.reddit.com/r/ProgrammerHumor"
      },
      "title": "I've been learning Rust for 3 days and this is my first impression",
      "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/"
    },
    "score": 8635,
    "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/comment/t1_jb1bfjd/"
  }
}

Post details

Input

{
  "mode": "postDetails",
  "startUrls": ["https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/"],
  "maxResults": 1
}

Dataset row

{
  "recordType": "post",
  "sourceMode": "postDetails",
  "sourceTarget": "https://www.reddit.com/comments/1snqpnx/",
  "id": "t3_1snqpnx",
  "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/",
  "subreddit": "learnpython",
  "author": "ResponsibilityOk2747",
  "title": "uv or pip for python package management?",
  "text": "I've only ever used pip but I've been hearing that uv is faster? Is this true? what actually is uv, how does it differ? Any help is appreciated.",
  "createdAt": "2026-04-17T04:32:56.246000+0000",
  "score": 32,
  "commentCount": 35,
  "upvoteRatio": 0.9,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/",
  "media": {
    "link": {
      "thumbnail": {"height": 0, "url": "", "width": 0},
      "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/"
    }
  },
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://preview.redd.it/snoovatar/avatars/a748c6cc-2deb-4eff-923f-68b4ebbb535c-headshot.png?auto=webp&s=03c9cb5a61747bef3e40fcc0efb9719900da9451",
      "id": "t2_9j9snl94",
      "name": "ResponsibilityOk2747",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/ResponsibilityOk2747"
    },
    "comments": 35,
    "content": {
      "gallery": null,
      "gif": {"height": 0, "url": "", "width": 0},
      "image": {"altText": "", "height": 0, "url": "", "width": 0},
      "link": {
        "thumbnail": {"height": 0, "url": "", "width": 0},
        "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/"
      },
      "text": "I've only ever used pip but I've been hearing that uv is faster? Is this true? what actually is uv, how does it differ? Any help is appreciated.",
      "video": {
        "duration": 0,
        "height": 0,
        "thumbnail": {"altText": "", "height": 0, "url": "", "width": 0},
        "url": "",
        "width": 0
      },
      "video_embed": {
        "authorName": "",
        "authorUrl": "",
        "description": "",
        "providerName": "",
        "providerUrl": "",
        "title": "",
        "url": ""
      }
    },
    "contentLanguage": "en",
    "creationDate": "2026-04-17T04:32:56.246000+0000",
    "editedDate": "",
    "flair": "",
    "id": "t3_1snqpnx",
    "nsfw": false,
    "score": 32,
    "shares": 45,
    "subreddit": {
      "banner": "",
      "icon": "https://styles.redditmedia.com/t5_2r8ot/styles/communityIcon_jwr5s7l5ici61.png?width=64&frame=1&auto=webp&s=5e8a6c0fb811bb5d907cb7227e0dd9a116e7a0fb",
      "id": "t5_2r8ot",
      "name": "learnpython",
      "nsfw": false,
      "subscribers": 1063204,
      "title": "Python Education",
      "type": "PUBLIC",
      "url": "https://www.reddit.com/r/learnpython"
    },
    "thumbnail": {"height": 0, "url": "", "width": 0},
    "title": "uv or pip for python package management?",
    "upvoteRatio": 0.9,
    "url": "https://www.reddit.com/r/learnpython/comments/1snqpnx/uv_or_pip_for_python_package_management/"
  }
}

Subreddit details

Input

{
  "mode": "subredditDetails",
  "startUrls": ["https://www.reddit.com/r/Python/"],
  "maxResults": 1
}

Dataset row

{
  "recordType": "subreddit",
  "sourceMode": "subredditDetails",
  "sourceTarget": "https://www.reddit.com/r/python/",
  "id": "t5_2qh0y",
  "url": "https://www.reddit.com/r/Python/",
  "subreddit": "Python",
  "author": null,
  "title": "Python",
  "text": null,
  "createdAt": "2008-01-25T03:14:39.134000+0000",
  "score": null,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": 1521643,
  "activeUsers": 0,
  "description": "The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. \n---\n\nIf you have questions or are new to Python use r/LearnPython",
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": "https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_lctik80p96tg1.png?width=64&frame=1&auto=webp&s=92baaacc951d52b5071629852df033d53cafa5ec",
  "bannerUrl": "https://styles.redditmedia.com/t5_2qh0y/styles/bannerBackgroundImage_cd73kiu1502d1.png?frame=1&auto=webp&s=cb043cb4ba040265a97554d8debbeb2ed419db16",
  "externalUrl": null,
  "media": null,
  "data": {
    "banner": "https://styles.redditmedia.com/t5_2qh0y/styles/bannerBackgroundImage_cd73kiu1502d1.png?frame=1&auto=webp&s=cb043cb4ba040265a97554d8debbeb2ed419db16",
    "creationDate": "2008-01-25T03:14:39.134000+0000",
    "description": "The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. \n---\n\nIf you have questions or are new to Python use r/LearnPython",
    "icon": "https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_lctik80p96tg1.png?width=64&frame=1&auto=webp&s=92baaacc951d52b5071629852df033d53cafa5ec",
    "id": "t5_2qh0y",
    "language": "en",
    "name": "Python",
    "nsfw": false,
    "online": 0,
    "subscribers": 1521643,
    "title": "Python",
    "type": "PUBLIC"
  }
}

User details

Input

{
  "mode": "userDetails",
  "startUrls": ["https://www.reddit.com/user/reddit/"],
  "maxResults": 1
}

Dataset row

{
  "recordType": "user",
  "sourceMode": "userDetails",
  "sourceTarget": "https://www.reddit.com/user/reddit/",
  "id": "t2_1qwk",
  "url": "https://www.reddit.com/user/reddit/",
  "subreddit": null,
  "author": null,
  "title": null,
  "text": null,
  "createdAt": "2005-12-09T05:00:00.000000+0000",
  "score": null,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": 6283184,
  "postKarma": 3141592,
  "commentKarma": 3141592,
  "displayName": null,
  "username": "reddit",
  "avatarUrl": "https://styles.redditmedia.com/t5_hv5dz/styles/profileIcon_gkrjvzit4w8f1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=1dfdea7b742700efd7e9fb71e1c2cd45bfe54623",
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "banner": "",
    "creationDate": "2005-12-09T05:00:00.000000+0000",
    "description": "",
    "icon": "https://styles.redditmedia.com/t5_hv5dz/styles/profileIcon_gkrjvzit4w8f1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=1dfdea7b742700efd7e9fb71e1c2cd45bfe54623",
    "id": "t2_1qwk",
    "karma": {"awards": 0, "comments": 3141592, "posts": 3141592, "total": 6283184},
    "name": "reddit",
    "nsfw": false,
    "socialLinks": null,
    "subscribers": 0,
    "title": "",
    "trophyCount": 14
  }
}

Comment details

Input

{
  "mode": "commentDetails",
  "startUrls": ["https://www.reddit.com/r/ProgrammerHumor/comments/11iz2ia/comment/jb1bfjd/"],
  "maxResults": 1
}

Dataset row

{
  "recordType": "comment",
  "sourceMode": "commentDetails",
  "sourceTarget": "t1_jb1bfjd",
  "id": "t1_jb1bfjd",
  "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/comment/t1_jb1bfjd/",
  "subreddit": "ProgrammerHumor",
  "author": "A_Talking_iPod",
  "title": null,
  "text": "Python programmer meets a statically typed language: 5 injured, 8 dead",
  "createdAt": "2023-03-05T18:00:48.831000+0000",
  "score": 8635,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": null,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": "t3_11iz2ia",
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://preview.redd.it/snoovatar/avatars/0f6419b2-1ceb-4597-b8ab-3521708be3f8-headshot.png?auto=webp&s=c569ace70f8aa67fc27102957ad80701fc3c3686",
      "id": "t2_1ztdcs12",
      "name": "A_Talking_iPod",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/A_Talking_iPod/"
    },
    "content": {
      "media": {"height": 0, "mimeType": "", "url": "", "width": 0},
      "text": "Python programmer meets a statically typed language: 5 injured, 8 dead"
    },
    "creationDate": "2023-03-05T18:00:48.831000+0000",
    "editedDate": "",
    "id": "t1_jb1bfjd",
    "post": {
      "id": "t3_11iz2ia",
      "title": "I've been learning Rust for 3 days and this is my first impression",
      "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/"
    },
    "score": 8635,
    "subreddit": {"id": "t5_2tex6", "name": "ProgrammerHumor", "url": "https://www.reddit.com/r/ProgrammerHumor/"},
    "url": "https://www.reddit.com/r/ProgrammerHumor/comments/t3_11iz2ia/comment/t1_jb1bfjd/"
  }
}

Subreddit posts

Input

{
  "mode": "subredditPosts",
  "startUrls": ["https://www.reddit.com/r/Python/"],
  "maxResults": 8,
  "sort": "new"
}

Dataset row

{
  "recordType": "post",
  "sourceMode": "subredditPosts",
  "sourceTarget": "https://www.reddit.com/r/python/",
  "id": "t3_1xpay57",
  "url": "https://www.reddit.com/r/Python/comments/1xpay57/python_all/",
  "subreddit": "Python",
  "author": "scartfife",
  "title": "PYTHON 🆚 ALL ...",
  "text": "\"If you want to learn programming, don’t start with Python; you should start with another language.\"\n\nThis advice seems ridiculous to me, even though I hear it everywhere. Can someone explain this advice to me... and are they right?",
  "createdAt": "2026-11-06T11:54:32.840000+0000",
  "score": 0,
  "commentCount": 28,
  "upvoteRatio": 0.3,
  "flair": "Discussion",
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://preview.redd.it/snoovatar/avatars/f297d9cc-6a2c-44b2-83ff-a2ec5403426f-headshot.png?auto=webp&s=92b02086bbf010c38bfc4a9666d77e8637de9bc0",
      "id": "t2_2q83nz0ppc",
      "name": "scartfife",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/scartfife"
    },
    "comments": 28,
    "content": {
      "gallery": null,
      "gif": {"height": 0, "url": "", "width": 0},
      "image": {"altText": "", "height": 0, "url": "", "width": 0},
      "link": {"thumbnail": {"height": 0, "url": "", "width": 0}, "url": ""},
      "text": "\"If you want to learn programming, don’t start with Python; you should start with another language.\"\n\nThis advice seems ridiculous to me, even though I hear it everywhere. Can someone explain this advice to me... and are they right?",
      "video": {
        "duration": 0,
        "height": 0,
        "thumbnail": {"altText": "", "height": 0, "url": "", "width": 0},
        "url": "",
        "width": 0
      },
      "video_embed": {
        "authorName": "",
        "authorUrl": "",
        "description": "",
        "providerName": "",
        "providerUrl": "",
        "title": "",
        "url": ""
      }
    },
    "contentLanguage": "en",
    "creationDate": "2026-11-06T11:54:32.840000+0000",
    "editedDate": "",
    "flair": "Discussion",
    "id": "t3_1xpay57",
    "nsfw": false,
    "score": 0,
    "shares": 0,
    "subreddit": {
      "banner": "https://styles.redditmedia.com/t5_2qh0y/styles/bannerBackgroundImage_cd73kiu1502d1.png?frame=1&auto=webp&s=cb043cb4ba040265a97554d8debbeb2ed419db16",
      "icon": "https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_lctik80p96tg1.png?width=64&frame=1&auto=webp&s=92baaacc951d52b5071629852df033d53cafa5ec",
      "id": "t5_2qh0y",
      "name": "Python",
      "nsfw": false,
      "subscribers": 1521640,
      "title": "Python",
      "type": "PUBLIC",
      "url": "https://www.reddit.com/r/Python"
    },
    "thumbnail": {"height": 0, "url": "", "width": 0},
    "title": "PYTHON 🆚 ALL ...",
    "upvoteRatio": 0.3,
    "url": "https://www.reddit.com/r/Python/comments/1xpay57/python_all/"
  }
}

User posts

Input

{
  "mode": "userPosts",
  "startUrls": ["https://www.reddit.com/user/reddit/"],
  "maxResults": 8,
  "sort": "top",
  "timeRange": "all"
}

Dataset row

{
  "recordType": "post",
  "sourceMode": "userPosts",
  "sourceTarget": "https://www.reddit.com/user/reddit/",
  "id": "t3_2jd7wa",
  "url": "https://www.reddit.com/r/blog/comments/2jd7wa/the_alien_has_landed/",
  "subreddit": "blog",
  "author": "reddit",
  "title": "The Alien Has Landed",
  "text": null,
  "createdAt": "2014-10-15T23:28:06.426000+0000",
  "score": 14466,
  "commentCount": 3351,
  "upvoteRatio": 0.7124255952380952,
  "flair": null,
  "nsfw": false,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": null,
  "postId": null,
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": "http://www.redditblog.com/2014/10/the-alien-has-landed.html",
  "media": {
    "link": {
      "thumbnail": {"height": 0, "url": "", "width": 0},
      "url": "http://www.redditblog.com/2014/10/the-alien-has-landed.html"
    }
  },
  "data": {
    "author": {
      "icon": "https://styles.redditmedia.com/t5_hv5dz/styles/profileIcon_gkrjvzit4w8f1.png?frame=1&auto=webp&crop=256%3A256%2Csmart&s=8c592acc3c074e50b86ca3d981df2fbdb7a5b758",
      "id": "t2_1qwk",
      "name": "reddit",
      "nsfw": false,
      "url": "https://www.reddit.com/user/reddit"
    },
    "comments": 3351,
    "content": {
      "gallery": null,
      "gif": {"height": 0, "url": "", "width": 0},
      "image": {"altText": "", "height": 0, "url": "", "width": 0},
      "link": {
        "thumbnail": {"height": 0, "url": "", "width": 0},
        "url": "http://www.redditblog.com/2014/10/the-alien-has-landed.html"
      },
      "text": "",
      "video": {
        "duration": 0,
        "height": 0,
        "thumbnail": {"altText": "", "height": 0, "url": "", "width": 0},
        "url": "",
        "width": 0
      },
      "video_embed": {
        "authorName": "",
        "authorUrl": "",
        "description": "",
        "providerName": "",
        "providerUrl": "",
        "title": "",
        "url": ""
      }
    },
    "contentLanguage": "en",
    "creationDate": "2014-10-15T23:28:06.426000+0000",
    "editedDate": "",
    "flair": "",
    "id": "t3_2jd7wa",
    "nsfw": false,
    "score": 14466,
    "shares": 2,
    "subreddit": {
      "banner": "https://styles.redditmedia.com/t5_2qh49/styles/bannerBackgroundImage_a1c8q84dz5x11.jpg?frame=1&auto=webp&format=pjpg&s=33a0b12c0fe0f9ea1f0ec2e6601c16c689d25837",
      "icon": "https://styles.redditmedia.com/t5_2qh49/styles/communityIcon_357lawpgz5x11.png?width=64&frame=1&auto=webp&s=ed78b0e183d999232ac8817bcf0fb3c6c28cb69a",
      "id": "t5_2qh49",
      "name": "blog",
      "nsfw": false,
      "subscribers": 18750262,
      "title": "Blog",
      "type": "ARCHIVED",
      "url": "https://www.reddit.com/r/blog"
    },
    "thumbnail": {
      "height": 73,
      "url": "https://a.thumbs.redditmedia.com/Mw9UvFty3f-Q9KVGmnacbiE-TxaSnIMCHYdU5RrGbo0.jpg",
      "width": 140
    },
    "title": "The Alien Has Landed",
    "upvoteRatio": 0.7124255952380952,
    "url": "https://www.reddit.com/r/blog/comments/2jd7wa/the_alien_has_landed/"
  }
}

User comments

Input

{
  "mode": "userComments",
  "startUrls": ["https://www.reddit.com/user/reddit/"],
  "maxResults": 8
}

Dataset row

{
  "recordType": "comment",
  "sourceMode": "userComments",
  "sourceTarget": "https://www.reddit.com/user/reddit/",
  "id": "t1_19rgje7yokbk3",
  "url": "https://www.reddit.com/r/Snoo/comments/1xc3c9z/what_should_snoo_be_for_halloween/19rgje7yokbk3/",
  "subreddit": "Snoo",
  "author": "reddit",
  "title": "What should Snoo be for Halloween?",
  "text": "a Snoo chooses. a mascot obeys.",
  "createdAt": "2026-10-22T00:37:10Z",
  "score": 81,
  "commentCount": 297,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": null,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": "t1_19rghtlluy9oj",
  "postId": "t3_1xc3c9z",
  "depth": null,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": {"media": "https://i.redd.it/aibkbaparwwh1.jpeg"},
  "data": {
    "author": {"id": "t2_1qwk", "name": "reddit", "url": "https://www.reddit.com/user/reddit"},
    "comments": 297,
    "content": {"media": "https://i.redd.it/aibkbaparwwh1.jpeg", "text": "a Snoo chooses. a mascot obeys."},
    "creationDate": "2026-10-22T00:37:10Z",
    "id": "t1_19rgje7yokbk3",
    "parentId": "t1_19rghtlluy9oj",
    "postId": "t3_1xc3c9z",
    "score": 81,
    "subreddit": {"id": "t5_2rsvg", "name": "Snoo"},
    "title": "What should Snoo be for Halloween?",
    "url": "https://www.reddit.com/r/Snoo/comments/1xc3c9z/what_should_snoo_be_for_halloween/19rgje7yokbk3/"
  }
}

Post comments

Input

{
  "mode": "postComments",
  "startUrls": ["https://www.reddit.com/comments/1wubcvf/"],
  "maxResults": 8,
  "sort": "confidence"
}

Dataset row

{
  "recordType": "comment",
  "sourceMode": "postComments",
  "sourceTarget": "https://www.reddit.com/comments/1wubcvf/",
  "id": "t1_pd21dxi",
  "url": "https://www.reddit.com/r/redditdev/comments/1wubcvf/moving_data_api_apps_to_the_developer_platform/pd21dxi/",
  "subreddit": "redditdev",
  "author": "boat-botany",
  "title": null,
  "text": "We totally understand the work that goes into migrating. Let our dev rel team know what apps you rely on and we’ll do what we can to help you get migrated over! ",
  "createdAt": "2026-09-30T18:34:55.365000+0000",
  "score": -15,
  "commentCount": null,
  "upvoteRatio": null,
  "flair": null,
  "nsfw": null,
  "spoiler": null,
  "locked": null,
  "archived": null,
  "isEdited": null,
  "parentId": "t1_pd1pln5",
  "postId": "t3_1wubcvf",
  "depth": 1,
  "members": null,
  "activeUsers": null,
  "description": null,
  "karma": null,
  "postKarma": null,
  "commentKarma": null,
  "displayName": null,
  "username": null,
  "avatarUrl": null,
  "bannerUrl": null,
  "externalUrl": null,
  "media": null,
  "data": {
    "author": {
      "deleted": false,
      "icon": "https://preview.redd.it/snoovatar/avatars/9ef0a405-77a8-4115-9650-31034794e19c-headshot.png?auto=webp&s=816e06d6a5361535787a9421dcc799e0cf975d75",
      "id": "t2_1mwohe14wn",
      "name": "boat-botany",
      "nsfw": false,
      "suspended": false,
      "url": "https://www.reddit.com/user/boat-botany"
    },
    "creationDate": "2026-09-30T18:34:55.365000+0000",
    "depth": 1,
    "editedDate": "",
    "id": "t1_pd21dxi",
    "parentId": "t1_pd1pln5",
    "post": {
      "id": "t3_1wubcvf",
      "title": "Moving Data API Apps to the Developer Platform: migration dates and next steps",
      "url": "https://www.reddit.com/r/redditdev/comments/t3_1wubcvf/"
    },
    "score": -15,
    "subreddit": {"id": "t5_2qizd", "name": "redditdev", "url": "https://www.reddit.com/r/redditdev"},
    "text": "We totally understand the work that goes into migrating. Let our dev rel team know what apps you rely on and we’ll do what we can to help you get migrated over! ",
    "url": "https://www.reddit.com/r/redditdev/comments/1wubcvf/moving_data_api_apps_to_the_developer_platform/pd21dxi/"
  }
}

Pay per event

Event Charged when
reddit-post A Reddit post row is saved, including a media search result.
reddit-comment A Reddit comment row is saved.
reddit-profile A Reddit user row is saved.
reddit-subreddit A subreddit row is saved.

See the Pricing tab for current prices and the startup event. Invalid targets, unavailable records, upstream failures and duplicates produce no paid result rows. The run summary reports those outcomes separately.

Limits and practical use

Reddit controls the results available for each query, listing and discussion. Your caps set the maximum the Actor saves. Visibility, pagination and removed content affect what the source returns. Comment depth and parent identifiers are included where available.

After nine consecutive fetch attempts without saving a row, the Actor stops processing the remaining inputs. The limit carries over when the same run resumes. The Run summary marks skipped inputs with no_progress_limit.

Use a specific search query and start with a small result cap. For brand or topic tracking, use Search Posts or Search Comments with New and run it on a schedule. For thread analysis, collect the target post's comments and join rows on postId or parentId.

Media results include public links and metadata.

Reddit scraping API

Start a Reddit data export programmatically with your Apify token.

curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~reddit-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"searchPosts","queries":["python packaging"],"maxResults":30,"maxTotalResults":30}'

Read the run's default Dataset for result rows. Read the RUN_SUMMARY record in its default Key-value store for request and outcome counts.

Frequently asked questions

Do I need a Reddit API key?

Enter public Reddit links or keywords in Apify. There is no Reddit account or API key to configure.

How do I export Reddit comments from a thread?

Select Post Comments and paste the Reddit post URL. Each exported row contains one comment and its available reply relationship. Download the Dataset as CSV or JSON.

How do I scrape Reddit posts by keyword or subreddit?

Use Search Posts with keywords, or choose Subreddit Posts and enter a subreddit link. Select a sort order and set the maximum number of posts to export.

Where do I find failed inputs?

Open the Run summary output. It records invalid inputs, unavailable targets and upstream failures separately from the result data.

Actor input Schema

mode (type: string):

Choose the Reddit search or collection you want to run.

queries (type: array):

For search modes, enter one Reddit search query per line.

startUrls (type: array):

For other modes, paste public Reddit links that match the selected mode. Subreddit and profile links may include a listing tab.

maxResults (type: integer):

Maximum rows saved for each keyword, subreddit, profile, post, or comment. Details modes return up to one row per input.

maxTotalResults (type: integer):

Optional cap across all inputs. Leave empty to use only the per-input limit.

sort (type: string):

Choose a sort order for your mode. The Actor uses the mode's default when the selected sort does not apply. See the README for options by mode.

timeRange (type: string):

Choose a time window for supported post searches and listings. The Actor uses Reddit's usual time window when the selected range does not apply.

includeNsfw (type: boolean):

Allow NSFW content in search modes. Off by default.

Actor input object example

{
  "mode": "searchPosts",
  "queries": [
    "python packaging"
  ],
  "maxResults": 100,
  "sort": "",
  "timeRange": "",
  "includeNsfw": false
}

Actor output Schema

dataset (type: string):

Open the dataset with all result fields in one table.

runSummary (type: string):

See counts for saved results, invalid inputs, unavailable targets and upstream failures.

API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

JavaScript example

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "python packaging"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingmonkey/reddit-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Python example

from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": ["python packaging"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapingmonkey/reddit-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

CLI example

echo '{
  "queries": [
    "python packaging"
  ]
}' |
apify call scrapingmonkey/reddit-scraper --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingmonkey/reddit-scraper"
        }
    }
}

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/DXRDVv4Zx4y9Sxv8t/builds/ay49G5fU3NadzgtBq/openapi.json

Explore projetos relacionados

Carregando…