# Reddit Comments Scraper - Threads, Replies, Votes & Authors (`socialscrapers/reddit-comments-scraper`) Actor

Reddit Comments Scraper: export every comment and reply of Reddit posts to CSV, Excel or JSON: text, author, votes, date, depth and parent, including replies hidden behind "more replies". Paste post links or share links. No login or API key. $0.71 per 1,000 comments.

- **URL**: https://apify.com/socialscrapers/reddit-comments-scraper.md
- **Developed by:** [Social Scrapers](https://apify.com/socialscrapers) (community)
- **Categories:** Social media, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.57 / 1,000 comments

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**Reddit Comments Scraper** exports **every comment and reply of Reddit posts**: the comment's text, author, votes, date, how deep it sits in the thread and which comment it answers, including the replies Reddit hides behind "more replies" and "continue this thread". Paste post links (or share links from the Reddit app) and get one row per comment, ready for CSV, Excel or JSON. **No login, no API key**, **$0.71 per 1,000 comments**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does Reddit Comments Scraper do?

- 💬 **Whole threads**: every comment of a post, not just the first page. Reddit folds long threads behind "more replies" links; the scraper opens all of them, as deep as the thread goes.
- ↩️ **Replies with their place in the thread**: each comment carries its `depth` (0 = a direct reply to the post) and its `parentId`, so you can rebuild the conversation tree or keep only top-level comments.
- 🔀 **Reddit's six orders**: Best, Top, New, Controversial, Old or Q\&A. With a comment limit, the order decides which comments you get (the 200 top-voted, the 200 newest…).
- 🔗 **Any post link**: full links, `redd.it` short links, links to a single comment (the whole thread is read), `old.reddit.com` links and share links from the Reddit app (`reddit.com/r/<subreddit>/s/<id>`).
- 📝 **The post too**: each post is saved once, before its comments, with its title, text, votes, comment count, flair and links.
- ✅ **Pay only for what is saved**, and stop at a cost you choose.

### What data can you extract from Reddit comments?

| Field | What it holds |
|---|---|
| `body`, `bodyHtml` | The comment's text, as plain text and as Reddit renders it |
| `author`, `authorId` | Username (`[deleted]` for deleted accounts) and account ID (`t2_…`) |
| `score` | Net votes as Reddit shows them (`null` when the subreddit hides scores) |
| `createdAt` | When it was posted (ISO 8601, UTC) |
| `depth` | 0 for a direct reply to the post, 1 for a reply to that, and so on |
| `parentId` | What it answers: the post (`t3_…`) or another comment (`t1_…`) |
| `isSubmitter` | `true` when the commenter is the post's author |
| `postId`, `postTitle`, `postUrl` | The post the comment belongs to |
| `subreddit`, `subredditId` | Where it was posted |
| `url` | Link to the comment itself |
| `scrapedAt`, `sourceInput` | When it was collected, and from which of your links |

The post's own row has `dataType: "post"` with its `title`, `body`, `score`, `upvoteRatio`, `numComments`, `flair`, `linkUrl`, images and video; comments have `dataType: "comment"`.

### How to scrape Reddit comments

1. Open **Reddit Comments Scraper** and click **Try for free**.
2. Paste one or more **post URLs**, one per line.
3. Set **Max comments per post** (`0` = every comment) and **Sort comments by**.
4. Click **Start**. Comments appear in the **Output** tab while the run goes on.
5. Download them as CSV, Excel, JSON, XML or HTML, or read them through the API. The **Comments** view shows them as a table.

#### How to export Reddit comments to Excel or CSV

Run the scraper on your posts, open the **Comments** view of the results and click **Export**: each row is one comment, with the post it belongs to, so you can sort by votes, filter by depth or group by post.

#### How to get only the top comments of a post

Choose **Top** under **Sort comments by** and set **Max comments per post** to how many you want, for example `100`: you get the 100 highest-voted comments and their place in the thread.

### How much does it cost to scrape Reddit comments?

You pay per result saved; platform usage and proxies are included.

| Result | Price per 1,000 | Silver plan (−10%) | Gold plan (−20%) |
|---|---|---|---|
| Comment (replies included) | **$0.71** | $0.639 | $0.568 |
| Post (saved once, before its comments) | **$1.09** | $0.981 | $0.872 |

Each run also carries a start charge of $0.0025 (one per GB of run memory), and Apify then covers the run's first 5 seconds of compute.

Examples:

- **One post with 2,000 comments**: $1.42 + $0.00109 = **$1.42**.
- **50 posts with 300 comments each** (15,000 comments): $10.65 + $0.05 = **$10.70**.

Apify's free plan includes $5 of platform credit every month, enough for about 7,000 comments. Set a **maximum cost per run** in the run options and the scraper stops cleanly before the first result that would go over it.

### Input example

Every comment of two posts, best first:

```json
{
  "startUrls": [
    "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/",
    "https://www.reddit.com/r/AskReddit/comments/POST_ID/TITLE/"
  ],
  "maxCommentsPerPost": 0,
  "commentSort": "best"
}
```

The 50 newest comments of a post:

```json
{
  "startUrls": ["https://www.reddit.com/r/AskReddit/comments/POST_ID/"],
  "maxCommentsPerPost": 50,
  "commentSort": "new"
}
```

### Output example

A reply to another comment (trimmed):

```json
{
  "dataType": "comment",
  "id": "t1_nz4075k",
  "url": "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/comment/nz4075k/",
  "postId": "t3_1q9v2ks",
  "parentId": "t1_nz2ggbi",
  "body": "Good to hear another vote for the Uplift v3. How’s the stability at full standing height with dual monitors?",
  "author": "<username>",
  "authorId": "t2_<user-id>",
  "subreddit": "StandingDesks",
  "createdAt": "2026-01-12T04:59:23.000Z",
  "score": 1,
  "depth": 1,
  "isSubmitter": true,
  "postTitle": "Best standing desks in 2026 so far?",
  "postUrl": "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/",
  "sourceType": "post",
  "sourceInput": "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/",
  "scrapedAt": "2026-11-13T09:00:00.000Z"
}
```

Every result has the same fields, so exports keep the same columns; a field that does not apply is `null`.

### Use cases

- **Opinion and sentiment analysis**: what people really think of a product, a launch or a news story, in their own words.
- **Customer research**: questions, complaints, workarounds and feature requests under a product's threads.
- **AMA and discussion archives**: keep the full Q\&A of an "Ask Me Anything" or a megathread, replies included.
- **AI and NLP datasets**: real, threaded conversations with votes, depth and parent links for training and evaluation.
- **Community moderation and research**: see how a thread unfolds and who drives it.

### Use Reddit Comments Scraper via API, Python and JavaScript

Run it and get the comments in one call with the [Apify API](https://docs.apify.com/api/v2):

```bash
curl -X POST "https://api.apify.com/v2/acts/socialscrapers~reddit-comments-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://redd.it/1q9v2ks"], "maxCommentsPerPost": 200}'
```

Python, with the [Apify client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("socialscrapers/reddit-comments-scraper").call(run_input={
    "startUrls": ["https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/"],
    "commentSort": "top",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item["dataType"] == "comment":
        print(item["depth"], item["score"], item["body"][:80])
```

JavaScript, with the [Apify client](https://docs.apify.com/api/client/js):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('socialscrapers/reddit-comments-scraper').call({ startUrls: ['https://redd.it/1q9v2ks'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const comments = items.filter((i) => i.dataType === 'comment');
```

You can also schedule runs, send the comments to Google Sheets, Slack or a webhook through Make, Zapier or n8n, or let an AI agent run the scraper through the Apify MCP server.

### Limits

- **Public posts only.** A post in a private, Premium-only or quarantined subreddit cannot be read without an account; the run says so for each link and charges nothing for it.
- **Removed comments.** Reddit counts removed and deleted comments in a post's total but does not show them, so you may get a few fewer comments than the post reports.
- **Post links only.** Subreddit, profile and search links are skipped and named in the log. To collect the comments of a subreddit's posts or of search results, use a subreddit or search scraper with comments turned on.
- **Run timeout.** Shortly before a run's timeout (10% of the run's time, 15 to 90 seconds), the scraper stops starting new work, saves and charges what it collected, and ends as Succeeded with a status message saying so. Raise the timeout to get more.
- **Residential proxy.** Keep the default residential proxy: Reddit refuses most datacenter IPs.

### FAQ

**Do I need a Reddit account or API key?**
No. The scraper reads only what Reddit shows to logged-out visitors.

**Does it get the replies hidden behind "more replies"?**
Yes. With **Max comments per post** at `0`, every "more replies" and "continue this thread" link is opened, so you get the whole thread.

**How do I rebuild the thread?**
Each comment has `parentId`: the post (`t3_…`) for a top-level comment, or the comment it answers (`t1_…`). Comments come in reading order, each before its replies, and `depth` says how far down it sits.

**Can I paste a link to one comment?**
Yes. A link to a single comment reads its whole post's thread.

**Is it legal to scrape Reddit comments?**
The scraper collects only public data that anyone can see without logging in. Reddit's terms and data-protection laws such as the GDPR may still apply to how you use it, especially personal data; ask a lawyer if unsure.

**My run finished with 0 results. What happened?**
The links had nothing public to read (a deleted post, or a private subreddit): the status message names each link and why, and nothing was charged. When nothing in the input can be used at all, the run still ends as Succeeded, with a status message that starts "Nothing to scrape:" and says what to add (a Reddit post link); no results are charged.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Comments Scraper](https://apify.com/socialscrapers/instagram-comments-scraper) | Comments, Likes and Reply Counts |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Amazon Product Scraper](https://apify.com/socialscrapers/amazon-product-scraper) | Search Results, Prices, Ratings, ASINs |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |

# Actor input Schema

## `startUrls` (type: `array`):

Links of Reddit posts, one per line: https://www.reddit.com/r/NAME/comments/ID/TITLE/, a redd.it short link, a link to one of the post's comments (the whole thread is read), or a share link from the Reddit app (reddit.com/r/NAME/s/…). Subreddit, profile and search links are skipped and named in the log.

## `maxCommentsPerPost` (type: `integer`):

Most comments to save for each post, replies included. 0 = every comment, including the replies Reddit folds behind "more replies". Example: 500.

## `commentSort` (type: `string`):

The order comments are collected in, as on Reddit: Best (Reddit's default), Top, New, Controversial, Old or Q\&A. With a comment limit, it decides which comments you get.

## `includeComments` (type: `boolean`):

Always on in this scraper: each post is followed by its comments.

## `postUrlsOnly` (type: `boolean`):

Always on in this scraper: the links must be posts.

## `maxItems` (type: `integer`):

Overall cap on results (posts plus comments) for the whole run. The run stops once it is reached. Leave empty (or 0) for no cap. Example: 10000.

## `proxyConfiguration` (type: `object`):

Keep the default: Apify Proxy with the RESIDENTIAL group. Reddit refuses most datacenter IPs: with another Apify Proxy group, sessions Reddit refuses are retried on RESIDENTIAL (same country).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/"
  ],
  "maxCommentsPerPost": 100,
  "commentSort": "best",
  "includeComments": true,
  "postUrlsOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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

```javascript
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 = {
    "startUrls": [
        "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/"
    ],
    "maxCommentsPerPost": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialscrapers/reddit-comments-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

```python
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 = {
    "startUrls": ["https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/"],
    "maxCommentsPerPost": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("socialscrapers/reddit-comments-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

```bash
echo '{
  "startUrls": [
    "https://www.reddit.com/r/StandingDesks/comments/1q9v2ks/best_standing_desks_in_2026_so_far/"
  ],
  "maxCommentsPerPost": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call socialscrapers/reddit-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialscrapers/reddit-comments-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/1Alfp1MkQyo6Fjpen/builds/a9AxVrsPk4fcfFt3C/openapi.json
