# Reddit Post Details Extractor (`datamagnet/reddit-post-details`) Actor

Get detailed information from one or more Reddit post URLs in a clean, easy-to-read format. Ideal for quickly extracting post titles, authors, scores, comments, timestamps, and text content.

- **URL**: https://apify.com/datamagnet/reddit-post-details.md
- **Developed by:** [Datamagnet](https://apify.com/datamagnet) (community)
- **Categories:** Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Reddit Post Details Extractor

Reddit Post Details Extractor is a simple Reddit post scraper and data collector that helps you pull detailed information from one or more Reddit post URLs in a clean, readable format. It is ideal for marketers, researchers, analysts, and content teams who need fast access to Reddit post titles, authors, scores, comments, timestamps, and post text without manual copy-pasting. Whether you are reviewing a single discussion or processing a batch of Reddit links, this extractor makes it easy to collect post details for reporting, research, and content analysis. It is built for non-technical users who want reliable Reddit data extraction with clear results and easy-to-follow run logs.

### Key Features

- Extract detailed information from one Reddit post or many Reddit posts in a single run.
- Collect readable post data such as title, subreddit, author, score, comments, created time, and post text.
- Export results in a clean format that is easy to review, share, and analyze.
- Process bulk Reddit post URLs to save time on repetitive manual work.
- Track progress with clear run logs so you always know what is happening.
- Return a status for each item so you can quickly see which posts were successful or failed.
- Show generic error messages that keep the output simple and easy to understand.

### Use Cases

#### Social Listening
Brand and community teams use this Reddit post extractor to review what people are saying in specific threads. By collecting the post title, subreddit, author, score, comments, and post text, they can quickly spot themes, sentiment, and recurring questions that matter to their audience.

#### Market Research
Researchers and analysts can gather Reddit post details to study how users discuss products, services, or trends. The combination of score, comment count, and post content helps them identify which topics are getting attention and which opinions are driving conversation.

#### Content Planning
Content marketers use the extracted post details to find ideas for articles, videos, newsletters, and social posts. Seeing the subreddit, title, and body text helps them understand what questions people are asking and what language resonates with real users.

#### Competitive Intelligence
Teams monitoring competitors can review Reddit discussions about competing brands, features, or launches. Post metadata and discussion details help them understand what users like, dislike, or compare, which supports better positioning and messaging.

#### Community Management
Community managers can use the output to keep track of important Reddit conversations in their niche. With the author, created time, and comments visible, they can prioritize posts that need a response, escalation, or internal review.

#### Lead and Opportunity Discovery
Sales and partnerships teams can scan Reddit posts for pain points, requests, and buying signals. The post text and comments often reveal needs, frustrations, and product interest that can inform outreach, product ideas, or partnership opportunities.

### Input

| Field | Type | Required | Description | Example |
|---|---|---:|---|---|
| post_url | array | Yes | Paste one or more Reddit post links you want to extract details from. You can add a single link or a list for bulk processing. | ["https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/", "https://www.reddit.com/r/pics/comments/xyz123/example_post_title/", "https://www.reddit.com/r/funny/comments/def456/another_example_post/"] |

### Output

| Field | Type | Description |
|---|---|---|
| status | string | Shows whether the post was processed successfully or if it failed. |
| post_url | string | The Reddit post link that was used for the lookup. |
| title | string | The post title, which helps you quickly understand the topic. |
| subreddit | string | The community where the post was published. |
| author | string | The username of the person who posted it. |
| score | number | The post’s score, which gives a quick sense of popularity. |
| comments | number | The number of comments on the post. |
| created_time | string | When the post was published, shown in a readable time format. |
| post_text | string | The main text content of the post, if the post includes text. |
| metadata | object | Any additional post details that may be available and useful for review. |
| error | string | A simple message shown when a post could not be processed. |

### Sample Output

```json
{
  "status": "success",
  "post_url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/",
  "title": "People who have been to prison, what is it really like?",
  "subreddit": "AskReddit",
  "author": "example_user",
  "score": 12450,
  "comments": 2380,
  "created_time": "2018-12-31T18:45:00Z",
  "post_text": "What was your experience like inside, and what surprised you the most?",
  "metadata": {
    "upvote_ratio": 0.96,
    "permalink": "/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/"
  }
}
````

### How It Works

1. You paste one or more Reddit post URLs into the input field.
2. The actor reviews each link and gathers the available post details.
3. It processes single posts or batches in one run, so you can work faster.
4. The results are organized clearly, with one record for each URL you provided.
5. If a post cannot be processed, you still get a simple status and a generic error message.

### Getting Started

Getting started is easy and does not require coding knowledge. Click **Try for free**, paste one or more Reddit post URLs into the input field, and click **Run**. In a few moments, your results will be ready in a clean format that you can review right away. You can download the output as JSON, CSV, or Excel, depending on how you want to use the data.

### Frequently Asked Questions

#### Do I need technical skills?

No. This actor is designed for business users, researchers, and marketers who want Reddit post details without manual work. You only need to paste the post URLs and run it.

#### How fast does it run?

Speed depends on how many Reddit post URLs you provide and how much detail is available for each one. A single post is usually quick, while a larger batch may take a bit longer.

#### What format is the output?

The results are available in easy-to-use formats such as JSON, CSV, and Excel. That makes it simple to review the data, share it with your team, or import it into your workflow.

#### Is this legal to use?

This tool is intended for lawful data collection and research use. You should always make sure your use of Reddit content follows applicable laws, Reddit’s terms, and your organization’s policies.

#### Can I schedule it to run automatically?

Yes, you can set it up to run on a schedule if you want regular updates. This is useful for ongoing monitoring of Reddit discussions, brand mentions, or topic trends.

# Actor input Schema

## `post_url` (type: `array`):

Paste one or more Reddit post URLs to fetch details for.

## Actor input object example

```json
{
  "post_url": [
    "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/"
  ]
}
```

# 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 = {
    "post_url": [
        "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamagnet/reddit-post-details").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 = { "post_url": ["https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/"] }

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

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

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

```

## CLI example

```bash
echo '{
  "post_url": [
    "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_have_been_to_prison_what_is_it_really/"
  ]
}' |
apify call datamagnet/reddit-post-details --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=datamagnet/reddit-post-details",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Reddit Post Details Extractor",
        "description": "Get detailed information from one or more Reddit post URLs in a clean, easy-to-read format. Ideal for quickly extracting post titles, authors, scores, comments, timestamps, and text content.",
        "version": "0.0",
        "x-build-id": "8tsoZFnpwaedOc9uJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/datamagnet~reddit-post-details/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-datamagnet-reddit-post-details",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/datamagnet~reddit-post-details/runs": {
            "post": {
                "operationId": "runs-sync-datamagnet-reddit-post-details",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/datamagnet~reddit-post-details/run-sync": {
            "post": {
                "operationId": "run-sync-datamagnet-reddit-post-details",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "post_url"
                ],
                "properties": {
                    "post_url": {
                        "title": "Post URL",
                        "type": "array",
                        "description": "Paste one or more Reddit post URLs to fetch details for.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
