# Truth Social Scraper — Posts, Profiles & Engagement (`hipersoft/truth-social-scraper`) Actor

Scrape public Truth Social posts from any profile: full text, likes, reposts, replies, media, hashtags, links and author stats. Add usernames or post URLs, filter by date, replies and media. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/hipersoft/truth-social-scraper.md
- **Developed by:** [Hipersoft](https://apify.com/hipersoft) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002 / post

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

## Truth Social Scraper — Posts, Profiles & Engagement

**Collect public Truth Social posts at scale.** Give the Truth Social Scraper a list of profiles — or individual post links — and get back every post's **full text, likes, reposts (ReTruths), replies, upvotes, media, hashtags, mentions, link previews and polls**, together with the **author's follower count, verification and bio**. Filter by date, include or skip replies and reposts, and export the results as **JSON, CSV, Excel or XML**.

![Truth Social Scraper input — configure the options in the Apify Console](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/truth-social-scraper-input.png)

### What does Truth Social Scraper do?

Truth Social is where a growing share of political news breaks first. This actor turns any public Truth Social profile into a clean, structured dataset you can analyze, monitor or feed into your own tools:

- **Profile posts** — the newest posts from any public profile, or the full history.
- **Single posts** — paste post URLs to fetch their latest engagement numbers.
- **Engagement metrics** — likes, reposts, replies, upvotes and downvotes for every post.
- **Media and links** — image and video URLs, link-preview cards and poll results.
- **Author stats** — followers, following, total posts, verification, bio and website.
- **Smart filters** — only posts newer than a date, with or without replies and reposts, or media-only posts.

### Who uses Truth Social data?

- **Journalists and newsrooms** tracking statements from politicians and public figures as they happen.
- **Political researchers and analysts** studying messaging, topics and audience response over time.
- **Market and trading teams** watching posts that move stocks, sectors or crypto.
- **PR and communications teams** monitoring mentions of a brand, company or person.
- **Data scientists** building datasets for sentiment analysis, NLP and LLM pipelines.

### How to scrape Truth Social

1. Open the actor and add one or more **profiles** (for example `realDonaldTrump` or `https://truthsocial.com/@WhiteHouse`).
2. Optionally add **post URLs**, set **Max posts per profile**, or pick a **"newer than" date**.
3. Click **Start**. Posts appear in the dataset as they are collected.
4. Download the results as JSON, CSV, Excel or XML, or connect them to your app.

### Input

```json
{
  "usernames": ["realDonaldTrump", "https://truthsocial.com/@DonaldJTrumpJr"],
  "postUrls": ["https://truthsocial.com/@realDonaldTrump/117592400791406646"],
  "maxPostsPerProfile": 50,
  "newerThan": "2026-11-01",
  "includeReplies": false,
  "includeReposts": true,
  "onlyWithMedia": false
}
```

| Field | Type | Description |
| --- | --- | --- |
| `usernames` | array | Usernames or profile URLs to collect posts from. |
| `postUrls` | array | Individual post URLs or IDs to fetch. |
| `maxPostsPerProfile` | integer | Newest posts per profile. 0 = whole history. |
| `newerThan` | string | Only posts published after this date. |
| `includeReplies` | boolean | Also collect replies. Default `false`. |
| `includeReposts` | boolean | Also collect reposts (ReTruths). Default `true`. |
| `onlyWithMedia` | boolean | Only posts with images or videos. |
| `maxItems` | integer | Overall cap across all inputs. 0 = no cap. |

### Output

![Truth Social Scraper output — the results as a clean dataset](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/truth-social-scraper-output.png)

Each post is one row. Example (shortened):

```json
{
  "postId": "117592400791406646",
  "url": "https://truthsocial.com/@realDonaldTrump/117592400791406646",
  "createdAt": "2026-11-10T13:33:59.029Z",
  "text": "Pete Hegseth gets an “A” PLUS, PLUS, PLUS for his defense ...",
  "language": "en",
  "repliesCount": 1044,
  "repostsCount": 1812,
  "likesCount": 6518,
  "upvotesCount": 6518,
  "downvotesCount": 0,
  "isReply": false,
  "isRepost": false,
  "isPinned": false,
  "hashtags": [],
  "mentions": [],
  "media": [],
  "mediaCount": 0,
  "linkCard": null,
  "poll": null,
  "authorUsername": "realDonaldTrump",
  "authorDisplayName": "Donald J. Trump",
  "authorFollowers": 13186679,
  "authorVerified": true,
  "author": {
    "username": "realDonaldTrump",
    "followersCount": 13186679,
    "followingCount": 72,
    "postsCount": 38375,
    "verified": true,
    "profileUrl": "https://truthsocial.com/@realDonaldTrump"
  },
  "scrapedAt": "2026-11-10T14:24:27.402Z"
}
```

#### Data fields

| Group | Fields |
| --- | --- |
| Post | `postId`, `url`, `createdAt`, `editedAt`, `text`, `language`, `isPinned`, `sensitive` |
| Engagement | `likesCount`, `repostsCount`, `repliesCount`, `upvotesCount`, `downvotesCount` |
| Context | `isReply`, `inReplyToId`, `isRepost`, `repostOf`, `quotedPostId` |
| Content | `hashtags`, `mentions`, `media` (type, url, preview), `mediaCount`, `linkCard`, `poll` |
| Author | `authorUsername`, `authorDisplayName`, `authorFollowers`, `authorVerified`, `author` (bio, avatar, followers, following, posts, website, joined) |

### Monitoring Truth Social posts daily

Set **"Only posts newer than"** to yesterday's date and schedule the actor to run every few hours or once a day. Each run returns only fresh posts, so you can push them to Slack, Google Sheets, a database or a webhook without duplicates piling up.

### How much does it cost to scrape Truth Social?

You pay per post collected. Rows that fail to load are never charged. Your Apify plan's discount applies automatically, and you can set a **maximum cost per run** in the run options — the actor stops cleanly when it's reached.

### FAQ

**Can I scrape a profile's full history?** Yes — set *Max posts per profile* to 0 and the actor pages back through the whole timeline.

**Does it include reposts?** Yes, by default. Reposted posts return the original post's text, stats and author, with `isRepost: true` and a `repostOf` reference.

**Can I search Truth Social by keyword?** Collect posts from the profiles you care about, then filter the `text` and `hashtags` fields — or export to a spreadsheet and search there.

**Is it legal to scrape Truth Social?** The actor collects only publicly visible posts and profile information. Make sure your use complies with applicable laws and the platform's terms, especially when processing personal data.

**Can I automate it?** Yes — schedule runs or trigger them from your own app via [integrations on the Apify platform](https://apify.com/integrations) and the [Apify API](https://docs.apify.com/api/v2).

### Related Actors

Explore more data tools from the same author:

- [Bluesky Scraper — Posts, Profiles & Followers](https://apify.com/hipersoft/bluesky-scraper)
- [Mastodon Scraper — Hashtags & Account Posts](https://apify.com/hipersoft/mastodon-scraper)
- [Reddit Scraper — Posts & Comments by Subreddit, Keyword or User](https://apify.com/hipersoft/reddit-scraper)
- [Google News Scraper — Headlines by Keyword & Topic](https://apify.com/hipersoft/google-news-scraper)

Plug the results straight into your stack with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier) or any of Apify's [integrations](https://apify.com/integrations).

# Actor input Schema

## `usernames` (type: `array`):

Truth Social usernames or profile URLs to collect posts from, one per line. Examples: realDonaldTrump, @DonaldJTrumpJr, https://truthsocial.com/@WhiteHouse.

## `postUrls` (type: `array`):

Optional. Individual Truth Social post URLs (or post IDs) to fetch with full engagement stats.

## `maxPostsPerProfile` (type: `integer`):

How many of the newest posts to collect from each profile. Set 0 for no limit (the whole history).

## `newerThan` (type: `string`):

Optional date (YYYY-MM-DD or a full ISO timestamp). Collection stops at the first post older than this date — handy for daily monitoring.

## `includeReplies` (type: `boolean`):

Also collect posts that are replies to other posts.

## `includeReposts` (type: `boolean`):

Also collect posts the profile reposted from others. The original post's text, stats and author are returned.

## `onlyWithMedia` (type: `boolean`):

Collect only posts that contain images or videos.

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

Overall cap across all profiles and URLs. Leave at 0 for no overall cap.

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

Residential proxy is on by default for reliable results. You can switch to your own proxies if you prefer.

## Actor input object example

```json
{
  "usernames": [
    "realDonaldTrump",
    "https://truthsocial.com/@DonaldJTrumpJr"
  ],
  "postUrls": [
    "https://truthsocial.com/@realDonaldTrump/117592400791406646"
  ],
  "maxPostsPerProfile": 20,
  "newerThan": "2026-11-01",
  "includeReplies": false,
  "includeReposts": true,
  "onlyWithMedia": false,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

The collected posts as dataset items.

# 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 = {
    "usernames": [
        "realDonaldTrump"
    ],
    "maxPostsPerProfile": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/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 = {
    "usernames": ["realDonaldTrump"],
    "maxPostsPerProfile": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/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 '{
  "usernames": [
    "realDonaldTrump"
  ],
  "maxPostsPerProfile": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hipersoft/truth-social-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/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/HO1xDgTDgCxTgby9u/builds/azE4iVuDew0PZ7I7z/openapi.json
