# Truth Social Scraper | $1.8 / 1k | All-In-One (`fatihtahta/truth-social-scraper`) Actor

The all-in-one Truth Social scraper. Extract detailed data from profiles, posts, replies, and full comment threads using search queries or direct URLs. This enterprise-grade tool delivers clean, structured data for research and analysis. No cookies needed.

- **URL**: https://apify.com/fatihtahta/truth-social-scraper.md
- **Developed by:** [Fatih Tahta](https://apify.com/fatihtahta) (community)
- **Categories:** Social media, Developer tools, News
- **Stats:** 34 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.80 / 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.

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

## Truth Social Scraper | All-In-One | $12 / mo

**Slug:** `fatihtahta/truth-social-scraper-all-in-one`\
**Price:** Subscription-based starting at $12.00 / month

The definitive tool for extracting public data from Truth Social. This all-in-one scraper is built for performance and reliability, allowing you to scrape **user profiles, posts, replies, comments, and search results** without needing any login credentials. Simply choose your mode, provide your targets, and get clean, structured data ready for analysis.

***

### What Can This Truth Social Scraper Do?

- **Scrape Everything on Truth Social:** Extract comprehensive data from user profiles, posts, replies, and comments.
- **Three Powerful Scraping Modes:**
  - **👤 Profile Mode:** Scrape one or more user profiles. Choose to get just the profile data, or dive deep and extract all their posts and/or replies.
  - **💬 Post Mode:** Target a specific post URL to extract its content along with all of its comments.
  - **🔎 Search Mode:** Find posts related to any keyword or hashtag by scraping the search results.
- **Deep Comment Extraction:** When scraping a specific post, the actor can retrieve a full thread of comments, perfect for sentiment analysis or public opinion research.
- **Flexible Content Control:** In Profile Mode, you can specify exactly what you need: just the profile, posts only, replies only, or both posts and replies.
- **✅ No Login Required:** This scraper interacts directly with Truth Social's internal API, bypassing the need for accounts or cookies.
- **Built for Scale & Reliability:** Powered by Apify's enterprise-grade infrastructure and residential proxies, ensuring a high success rate for both small and large-scale scraping jobs.
- **Structured Data Output:** Download your results in clean JSON, CSV, Excel, and other formats, ready for immediate use.

***

### How Do I Use the Truth Social Scraper?

Getting data is a simple, four-step process:

1. **Choose Your Targets**: In the **Input** tab, decide which mode you want to use (Profile, Post, or Search) and fill in the corresponding fields.
2. **Set Your Limits**: (Optional) For each mode, you can specify the maximum number of items (posts, comments, etc.) you want to scrape. Set to `0` to get everything available.
3. **Run the Scraper**: Click the "Start" button and watch the scraper go to work.
4. **Download Your Data**: Once the run is finished, go to the **Storage** tab to view and download your results in your desired format.

***

### What Input Does the Scraper Require?

The scraper is designed for ease of use. You only need to fill out the section that corresponds to the data you want.

*\[Click here to add a screenshot of your clean input UI. It's a great way to show users how easy it is!]*
`![Truth Social Scraper Input UI](URL_TO_YOUR_INPUT_SCREENSHOT.png)`

##### 1. Profile Scraping

- `profileUrls` (array of URLs): A list of direct URLs to user profiles (e.g., `https://truthsocial.com/@realDonaldTrump`).
- `profileContentType` (dropdown): The type of content to scrape for each profile.
- `maxPostsPerProfile` (number, default: `50`): Maximum posts/replies to get per profile.

##### 2. Post Scraping

- `postUrls` (array of strings): A list of direct URLs to specific posts.
- `maxCommentsPerPost` (number, default: `50`): Maximum comments to scrape from each post.

##### 3. Search Scraping

- `searchQueries` (array of strings): A list of keywords or hashtags to search for.
- `maxSearchResults` (number, default: `50`): Maximum posts to return for each search query.

***

### Input and Output Examples

#### Example Input

This example will scrape the profile of `@realDonaldTrump`, extracting up to 100 of his most recent posts and replies.

````json
{
    "profileUrls": [
        { "url": "[https://truthsocial.com/@realDonaldTrump](https://truthsocial.com/@realDonaldTrump)" }
    ],
    "profileContentType": "postsAndReplies",
    "maxPostsPerProfile": 100
}

### Output Example

The dataset will contain different types of items based on your scraping mode.

Example of a Post item (from Profile or Search Mode):

```json
{
  "url": "[https://truthsocial.com/@realDonaldTrump](https://truthsocial.com/@realDonaldTrump)",
  "scrapedAt": "2025-08-22T14:10:00.000Z",
  "displayName": "Donald J. Trump",
  "username": "realDonaldTrump",
  "userId": "107791489442048957",
  "bio": "45th President of the United States of America",
  "followingCount": 5,
  "followerCount": 6580000,
  "joinDate": "2022-02-10T00:00:00.000Z",
  "isVerified": true,
  "website": null,
  "postId": "115070802633295008",
  "postUrl": "[https://truthsocial.com/@realDonaldTrump/posts/115070802633295008](https://truthsocial.com/@realDonaldTrump/posts/115070802633295008)",
  "content": "A new poll just out, the best I have ever had. Thank you—MAKE AMERICA GREAT AGAIN!",
  "timestamp": "2025-08-21T15:30:00.000Z",
  "stats": {
    "replies": 12345,
    "reTruths": 23456,
    "likes": 98765
  },
  "media": [],
  "authorUsername": "realDonaldTrump",
  "authorUserId": "107791489442048957"
}

Example of a Comment item (from Post Mode):

```json
{
  "commentId": "115070912345678901",
  "postId": "115070802633295008",
  "commentUrl": "[https://truthsocial.com/@SomeUser/posts/115070912345678901](https://truthsocial.com/@SomeUser/posts/115070912345678901)",
  "content": "We are with you all the way!",
  "timestamp": "2025-08-21T15:35:10.000Z",
  "stats": {
    "replies": 5,
    "reTruths": 25,
    "likes": 512
  },
  "media": [],
  "authorUsername": "SomeUser",
  "authorUserId": "109876543210987654"
}

### Is It Legal to Scrape Truth Social?
Our scrapers are ethical and do not extract any private user data. They only extract data that is publicly available on Truth Social. We believe that our scrapers, when used for ethical purposes, are safe and legal. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure, consult your lawyers. You can also read our blog post on the legality of web scraping.

### Support
Questions or custom needs? Open an issue on the Issues tab in Apify Console, and it will be solved around the clock.

Happy Scraping!
Fatih



# Actor input Schema

## `profileUrls` (type: `array`):

Provide a list of direct URLs to Truth Social profiles to scrape (e.g., <code>https://truthsocial.com/@username</code>).
## `profileContentType` (type: `string`):

Select the type of content you want to scrape for the specified profiles.
## `maxPostsPerProfile` (type: `integer`):

The maximum number of items (posts or replies) to scrape for each profile. Set to <strong>0</strong> to scrape all available items.
## `postUrls` (type: `array`):

Provide a list of direct URLs to specific Truth Social posts.
## `maxCommentsPerPost` (type: `integer`):

The maximum number of comments to scrape from each post. Set to <strong>0</strong> to scrape all.
## `searchQueries` (type: `array`):

Provide a list of keywords to search for.
## `maxSearchResults` (type: `integer`):

The maximum number of posts to return for each search query. Set to <strong>0</strong> to scrape all.
## `proxyConfiguration` (type: `object`):

Using RESIDENTIAL proxies is highly recommended to avoid getting blocked.

## Actor input object example

```json
{
  "profileContentType": "postsAndReplies",
  "maxPostsPerProfile": 50,
  "maxCommentsPerPost": 50,
  "maxSearchResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
````

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fatihtahta/truth-social-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("fatihtahta/truth-social-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 '{}' |
apify call fatihtahta/truth-social-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fatihtahta/truth-social-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/g4gzAJiG1XDWsIy1a/builds/1MbsvfMb6ad1lDTQf/openapi.json
