# Truth Social Scraper (`mina_safwat/truth-social-scraper`) Actor

Scrapes posts (truths) and profiles from public Truth Social accounts: text, replies, ReTruths and likes counts, media, link previews, mentions, hashtags and author details.

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

## Pricing

$2.50 / 1,000 rows

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

### What does Truth Social Scraper do?

**Truth Social Scraper** collects **public posts ("truths") and account profiles** from [Truth Social](https://truthsocial.com). Paste account links such as `https://truthsocial.com/@realDonaldTrump` or single post links and get one row per post. Each row has the **full text**, **reply, ReTruth and like counts**, **images and videos**, **link previews**, **mentions and hashtags**, any **quoted or ReTruthed post**, and the **author's follower count and verified badge**.

You don't need an account or cookies. Because it runs on the Apify platform, you get API access, scheduling, integrations (Make, Zapier, Google Sheets, webhooks), automatic proxy rotation and run monitoring.

### Why use Truth Social Scraper?

- **Track political communication**: archive every post from candidates, officials, campaigns and media accounts, with engagement numbers.
- **Research and journalism**: build datasets for content analysis, fact-checking or sentiment studies.
- **Monitor market-moving posts**: schedule a run every few minutes and push new posts to Slack or a webhook.
- **Measure engagement**: compare replies, ReTruths and likes across accounts and over time.

### How to scrape Truth Social posts

1. Click **Try for free** (or **Start**) on this page.
2. In **Truth Social accounts or posts**, paste one or more account links, @handles or post links.
3. Set **Max posts per account**. The newest posts come first.
4. Click **Start**. Results usually arrive within seconds.
5. Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

### Input

You set everything on the **Input** tab.

| Field | Type | Default | What it does |
|---|---|---|---|
| `startUrls` | list | (required) | Account links (`https://truthsocial.com/@name`, `@name` or `name`) and post links (`https://truthsocial.com/@name/posts/123…`, `/posts/123…`, or just the post number). Plain strings or `{"url": "..."}` objects. |
| `maxPostsPerInput` | integer | 100 | Posts to save per account, newest first. Set 0 to save only profiles. |
| `includeReplies` | boolean | false | Also save the account's replies to other posts. |
| `includeReblogs` | boolean | true | Save ReTruths (reposts). The original post sits in `reblogOf`. |
| `includeProfiles` | boolean | true | Add one profile row per account. |
| `proxyConfiguration` | object | off | Leave this off. The Actor uses Apify's US residential proxy by itself. Set it only to override that. |

```json
{
  "startUrls": [
    "https://truthsocial.com/@realDonaldTrump",
    "@TeamTrump",
    "https://truthsocial.com/@realDonaldTrump/posts/117473326850171330"
  ],
  "maxPostsPerInput": 50,
  "includeReplies": false,
  "includeReblogs": true,
  "includeProfiles": true
}
```

### Output

You get one row per post (`"type": "post"`) and, if you leave profiles on, one row per account (`"type": "profile"`). The Output tab has a **Posts** view and an **Account profiles** view. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

A real post row (long values shortened):

```json
{
  "type": "post",
  "id": "117473326850171330",
  "url": "https://truthsocial.com/@realDonaldTrump/117473326850171330",
  "createdAt": "2026-10-20T12:51:54.876Z",
  "text": "Trump border enforcement cuts fiscal, criminal costs of illegal migration that amnesty would restore: https://justthenews.com/politics-policy/immigration-gangs-tren",
  "contentHtml": "<p>Trump border enforcement cuts fiscal, criminal costs of illegal migration that amnesty …",
  "language": "en",
  "repliesCount": 620,
  "reblogsCount": 1437,
  "favouritesCount": 5222,
  "isReply": false,
  "inReplyToId": null,
  "isReblog": false,
  "reblogOf": null,
  "quotedPostId": null,
  "quoteOf": null,
  "media": [],
  "card": {
    "url": "https://justthenews.com/politics-policy/immigration-gangs-tren",
    "title": "Trump border enforcement cuts fiscal, criminal costs of illegal migration that amnesty would restore",
    "description": "The nation has recently seen measurable fiscal and public-safety dividends alrea…",
    "imageUrl": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/078/084/866/original/65144f655c118ebe.jpg",
    "provider": "justthenews.com"
  },
  "mentions": [],
  "tags": [],
  "authorId": "107780257626128497",
  "authorUsername": "realDonaldTrump",
  "authorDisplayName": "Donald J. Trump",
  "authorFollowers": 13124830,
  "authorVerified": true,
  "input": "@realDonaldTrump",
  "scrapedAt": "2026-10-20T15:44:58.681954+00:00"
}
```

A real profile row:

```json
{
  "type": "profile",
  "id": "107821307789811412",
  "url": "https://truthsocial.com/@TeamTrump",
  "username": "TeamTrump",
  "displayName": "Team Trump",
  "bio": "The official Truth Social account of President Donald J. Trump's political operation. This account punches back 47x harder.",
  "website": "www.donaldjtrump.com",
  "followersCount": 1458320,
  "followingCount": 32,
  "statusesCount": 15138,
  "createdAt": "2022-02-18T22:16:32.749Z",
  "lastPostDate": "2025-10-07",
  "verified": true,
  "avatarUrl": "https://static-assets-1.truthsocial.com/…/original/5c04cf25966e79e4.jpeg",
  "headerUrl": "https://static-assets-1.truthsocial.com/…/original/03e349b29df9342b.jpeg",
  "input": "@TeamTrump",
  "scrapedAt": "2026-10-20T15:44:57.227540+00:00"
}
```

### Data fields

#### Post rows

| Field | Description |
|---|---|
| `id`, `url` | Post id and link |
| `createdAt` | When it was posted (ISO 8601, UTC) |
| `text` | Text with HTML removed: full links, line breaks kept. Empty for media-only posts and pure quotes. |
| `contentHtml` | The post's original HTML |
| `language` | Language code from Truth Social, when it has one |
| `repliesCount`, `reblogsCount`, `favouritesCount` | Replies, ReTruths and likes. A ReTruth row has its own counts (usually 0); the original's counts are in `reblogOf`. |
| `isReply`, `inReplyToId` | Whether it is a reply, and to which post |
| `isReblog`, `reblogOf` | Whether it is a ReTruth, plus the original post (id, url, date, text, author, counts, media) |
| `quotedPostId`, `quoteOf` | The quoted post's id and the same details. `quoteOf` is null when the quoted post is no longer available. |
| `media` | Images and videos: `type`, `url`, `previewUrl`, `altText`, `width`, `height`, `durationSeconds` |
| `card` | Link preview: `url`, `title`, `description`, `imageUrl`, `provider` |
| `mentions`, `tags` | Mentioned usernames and hashtags |
| `authorId`, `authorUsername`, `authorDisplayName`, `authorFollowers`, `authorVerified` | Who posted it |
| `input`, `scrapedAt` | The input that produced the row, and when it was read |

#### Profile rows

| Field | Description |
|---|---|
| `id`, `url`, `username`, `displayName` | The account |
| `bio`, `website` | Bio text and website |
| `followersCount`, `followingCount`, `statusesCount` | Followers, following and number of posts |
| `createdAt`, `lastPostDate` | When the account joined (ISO 8601) and the day of its last post |
| `verified` | Verified badge |
| `avatarUrl`, `headerUrl` | Profile and header images |

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

You pay per saved row (post or profile). See the **Pricing** tab for the exact price. Inputs that give nothing, such as a deleted post or an unknown account, are never charged. Platform usage is small: about 1,000 posts take about a minute, because the Actor reads Truth Social's lightweight JSON in pages of 20.

### Tips

- **Monitor an account**: schedule the Actor with a small `maxPostsPerInput` (for example 20). Every run returns the newest posts, so you can drop the ids you already have.
- **Profiles only**: set `maxPostsPerInput` to 0 to get follower counts cheaply.
- **Lower cost**: turn off `includeReblogs` if you only want an account's own words. The Actor then keeps paging past ReTruths. It stops early only after 10 pages in a row (200 posts) without a post of the account's own, and the run's status message says so.
- You can set a maximum cost per run in the run options. The Actor stops cleanly when it reaches that limit.

### FAQ, limitations and support

**Can it scrape hashtags, search results, trends or groups?** No. Truth Social shows these only to logged-in users, and this Actor never logs in. If you paste such links, they are listed in the `FAILED_INPUTS` record and not charged.

**Can it get the replies under a post?** No. Truth Social blocks the conversation view for logged-out visitors. `includeReplies` covers the account's *own* replies only.

**What if an input gives nothing?** Unknown accounts, deleted or private posts, and links that aren't Truth Social are listed with a plain reason in the `FAILED_INPUTS` record of the run's key-value store. The run still succeeds if any input worked. A run fails only when Truth Social or the network refused every input.

**Is it legal to scrape Truth Social?** This Actor reads only data that Truth Social shows publicly to anyone without an account. Posts and profiles can still contain personal data, which laws such as the GDPR and CCPA protect. Collect only what you need, for a legitimate purpose, and check Truth Social's terms and your local law. If you're unsure, ask a lawyer.

**Something broke or you need a field?** Open an issue on the **Issues** tab and we'll take a look. Custom solutions are available on request.

# Actor input Schema

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

One per line. Paste an account (https://truthsocial.com/@realDonaldTrump, @realDonaldTrump or just realDonaldTrump) to get its newest posts, or a post link (https://truthsocial.com/@realDonaldTrump/posts/117473326850171330, or only the post's number) to get that one post. Hashtag, search and group pages are shown only to logged-in users, so they cannot be read; they are listed in the FAILED_INPUTS record.

## `maxPostsPerInput` (type: `integer`):

Stops after this many posts for each account, newest first. Set 0 to save only the profiles. Post links always give their one post.

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

Also save the account's replies to other posts. Off by default, so you get the account's own posts and ReTruths only.

## `includeReblogs` (type: `boolean`):

Save the account's ReTruths (reposts of other people's posts). Each ReTruth row carries the original post, with its author and counts, in reblogOf.

## `includeProfiles` (type: `boolean`):

Adds one row per account with its display name, bio, website, verified badge and follower, following and post counts.

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

Leave this off: Truth Social's Cloudflare refuses most direct and datacenter connections, so the Actor uses Apify's US residential proxy on its own, with a new address for every retry. Turn on Apify Proxy or add your own proxies here only to override that.

## Actor input object example

```json
{
  "startUrls": [
    "https://truthsocial.com/@realDonaldTrump"
  ],
  "maxPostsPerInput": 20,
  "includeReplies": false,
  "includeReblogs": true,
  "includeProfiles": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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://truthsocial.com/@realDonaldTrump"
    ],
    "maxPostsPerInput": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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 = {
    "startUrls": ["https://truthsocial.com/@realDonaldTrump"],
    "maxPostsPerInput": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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 '{
  "startUrls": [
    "https://truthsocial.com/@realDonaldTrump"
  ],
  "maxPostsPerInput": 20
}' |
apify call mina_safwat/truth-social-scraper --silent --output-dataset

```

## MCP server setup

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