# Truth Social Scraper: Posts, Profiles & Post Links (`apisamurai/truth-social-scraper`) Actor

Truth Social Scraper for Trump Truth Social posts and other prominent public accounts: latest posts with text, likes, reposts, replies, media and link cards, profile details, and single posts by link. No login, date and likes filters, pay only for real rows.

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

## Pricing

from $1.00 / 1,000 post from a profiles

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: Posts, Profiles & Post Links

This Truth Social Scraper gets Trump Truth Social posts and the posts of other prominent public accounts, their profile details, and any single post you link to. Every post comes with plain text (no HTML), date, likes, ReTruths, replies, photos and videos, link previews, hashtags, mentions, reposts and quoted posts. You pay only for real, unique rows, and IDs are always text, so long Truth Social IDs never get rounded.

### Which accounts work

Since 27 August 2025 Truth Social can ask for a sign-in before it shows an account, and it promises open access only for prominent public figures. Known working accounts (tested 20 November 2026): `realDonaldTrump`, `JDVance1` (JD Vance), `WhiteHouse`, `TeamTrump`, `DonaldJTrumpJr`, `EricTrump`, `KariLake` and `DevinNunes`. Smaller public accounts also worked in that test. This Actor never signs in. If Truth Social asks for a sign-in for an account, that input stops with the reason `not viewable without signing in on Truth Social` in the log and the `SUMMARY` record, costs nothing, and the rest of the run goes on.

### What you can use it for

- **Track Trump Truth Social posts** for news alerts, newsletters and market-moving announcements.
- **Archive posts** of prominent public figures with dates and engagement numbers.
- **Measure reach** of a post with likes, ReTruths and replies, and fetch single posts from links you already have.
- **Build AI and NLP datasets** of clean post text with link previews and media links.
- **Monitor on a schedule** with a date filter, and send new posts to Sheets, Slack or a database.

### Why this one

- **Profile row with no extra request:** the profile details come with the first page of posts, so one request gives a profile row and up to 20 posts. The row is billed as one profile event; turn `Add a profile row per username` off if you only want posts.
- **Clean text by default:** HTML is always stripped, where some scrapers keep it unless you switch an option on.
- **Fair limits:** `Max posts per profile` is exact, and filtered, duplicate or not viewable inputs are never charged.
- **Lower price:** $1 per 1,000 posts and $0.005 per run start, against $2 to $5 per 1,000 plus start and finish fees of up to $0.01 each at the most used Truth Social scraper (154 users in the last 30 days).
- **Posts by link** in the same run, with the same fields as profile posts.

### Fair billing

- Only real posts and profiles are charged. No demo, mock or placeholder rows, ever. If the data source sends one, it is dropped and counted in the run summary.
- Same price on every Apify plan, free plan included.
- Free Apify plan: 3 live runs a day, each with one data request (up to 20 posts of 1 profile with its profile row, or 1 post fetched by link), so you can try it. Paid plans have no limit.
- Date, repost and likes filters and limits are enforced by the Actor itself. Posts outside your dates or filters are skipped and not charged.
- Duplicates are never charged. A post found in a profile feed and again by link is saved once.
- Accounts that are not viewable without signing in, missing posts and empty results cost nothing.
- When you hit your spending limit, the run stops cleanly.

### How to use

1. Open the [Truth Social Scraper](https://apify.com/apisamurai/truth-social-scraper) page and click **Try for free** (you sign in to your Apify account).
2. Add usernames or profile links under **Profiles**, or post links under **Post links**.
3. Set **Max posts per profile**, and optionally dates, min likes and **Exclude reposts**.
4. Click **Start**. Rows appear in the **Output** tab while the run works.
5. Export the dataset as JSON, CSV or Excel, or check the `SUMMARY` record in the key-value store.

### Input

| Field | What it does |
|---|---|
| Profiles | Usernames or links: `realDonaldTrump`, `@realDonaldTrump`, `https://truthsocial.com/@realDonaldTrump`. |
| Add a profile row per username | On by default. One row with the profile's details, usually at no extra request. |
| Max posts per profile | Default 20, newest first, exact. `0` gives profile rows only. |
| Post links | Single posts, e.g. `https://truthsocial.com/@realDonaldTrump/posts/114315219437063160`. |
| Max rows for the whole run | Optional hard cap on all rows. |
| Posted on or after / on or before | Inclusive, UTC. Relative dates like `7 days` work. |
| Exclude reposts (ReTruths) | Skip posts that only repost someone else's post. |
| Min likes | Skip posts below this number. |

```json
{
  "profiles": ["realDonaldTrump"],
  "maxPostsPerProfile": 100,
  "postedAfter": "7 days",
  "excludeReposts": true
}
```

### Output

One row per post or profile; `type` tells them apart. Field names never change between runs. Real output (20 November 2026, shortened):

```json
{
  "type": "post",
  "id": "117646011072437950",
  "url": "https://truthsocial.com/@realDonaldTrump/posts/117646011072437950",
  "text": "How Pete Hegseth and Stephen Miller Have Partnered on Key Issues in Trump’s Administration: https://www.breitbart.com/politics/2026/11/11/...",
  "createdAt": "2026-11-20T00:47:46.998Z",
  "author": { "id": "107780257626128497", "username": "realDonaldTrump", "displayName": "Donald J. Trump", "verified": true },
  "repliesCount": 1289,
  "repostsCount": 3852,
  "likesCount": 15490,
  "media": [],
  "linkCard": {
    "url": "https://www.breitbart.com/politics/2026/11/11/how-pete-hegseth-and-stephen-miller-have-partnered-on-key-issues-in-trumps-administration/",
    "title": "How Pete Hegseth and Stephen Miller Have Partnered on Key Issues in Trump's Administration",
    "description": "Newly minted White House Chief of Staff Stephen Miller and Secretary of War Pete Hegseth have partnered on...",
    "image": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/079/133/413/original/f3b5fafb471e6d3d.jpeg"
  },
  "isRepost": false,
  "repostOf": null,
  "inReplyToId": null,
  "mentions": [],
  "hashtags": [],
  "quotedPostUrl": null,
  "sourceProfile": "realDonaldTrump",
  "scrapedAt": "2026-11-20T18:49:53.808Z"
}
```

A photo post has `"media": [{ "type": "image", "url": ".../original/c87f9270cf1aeac9.jpg", "previewUrl": ".../small/c87f9270cf1aeac9.jpg", "width": 877, "height": 1171 }]` and `"text": null` when it has no words.

`media` items have `type`, `url`, `previewUrl`, `width` and `height`. For a repost, `text`, `media`, `linkCard` and the counts are those of the original post, and `repostOf` gives the original's `id`, `url` and `author`. Profile rows have `type: "profile"`, `id`, `username`, `displayName`, `bio` (plain text), `url`, `avatarUrl`, `headerUrl`, `followersCount`, `followingCount`, `postsCount`, `verified`, `website`, `createdAt`. Missing values are `null`, never a fake 0.

Each run also writes a `SUMMARY` record to the key-value store. For every input it lists rows delivered, rows skipped by dates or filters, duplicates, and why it stopped (`limit reached`, `no more results`, `not viewable without signing in on Truth Social`, `not found or deleted`, `temporary error`, `spending limit`, `free plan limit` or `data source unavailable`).

### Pricing

$1 per 1,000 posts from profiles; $6.50 per 1,000 posts fetched by link; $6.50 per 1,000 profiles; $0.005 per run start

### Integrations

- **Apify API:** start a run and get the rows in one call with `POST https://api.apify.com/v2/acts/apisamurai~truth-social-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>` and the input as JSON in the body.
- **Python and JavaScript clients** (`apify-client`): `client.actor("apisamurai/truth-social-scraper").call(run_input={...})`.
- **Zapier, Make and n8n** to send new posts to Google Sheets, Slack, a CRM or a database.
- **MCP for AI agents:** connect the Apify MCP server to Claude, ChatGPT or another MCP client and the agent can run this Actor as a tool.
- **Schedules and webhooks** in Apify Console for daily or hourly runs.

### FAQ

**Which accounts work?**
Accounts Truth Social shows without signing in. Since 27 August 2025 it promises that only for prominent public figures, such as `realDonaldTrump`, `JDVance1` (JD Vance) and `WhiteHouse`, though smaller public accounts also worked in our 20 November 2026 test. An account that needs a sign-in stops with `not viewable without signing in on Truth Social`, costs nothing, and the run still succeeds. An account name that does not exist stops with `not found or deleted`.

**Do I need a Truth Social account?**
No. You only need an Apify account. You never enter credentials, cookies or a session.

**Which input formats work?**
Usernames, @handles, profile links and post links (`/@user/posts/ID`, `/@user/ID` or `/users/user/statuses/ID`), one per line or comma separated. Links pasted with quotes, backticks or as markdown are cleaned, and a link in the wrong field still works. Inputs written for other Truth Social scrapers also work: `username`, `usernames`, `startUrls`, `singlePostId`, `maxPosts`, `maxPostsPerUser`, `postsNewerThan`, `includeReposts` and `maxItems`. A post ID on its own is not enough: paste the full link.

**Can I search Truth Social by keyword or hashtag?**
No. This Actor does not offer keyword, hashtag or trending search. Add profiles or post links instead. Keywords and search links are skipped with a log line and cost nothing.

**Does it get replies or comments under a post?**
No. It gets the posts an account published (its own replies included, marked with `inReplyToId`), not the replies other people wrote under them.

**How far back can I go?**
Posts are read newest first. A profile stops at the first page that brings no new post matching your dates or filters, so no requests are spent on empty pages. For old posts, use their links under **Post links**.

**Why did I get fewer results than I asked for?**
Open the `SUMMARY` record. It says for each input why it stopped: no more posts, posts skipped by your dates or filters, duplicates, an account that is not viewable without signing in, the spending limit or the free plan limit.

**Is it legal to scrape Truth Social?**
The Actor collects only public data. You are responsible for how you use it: follow the Truth Social terms and the laws where you live, and take care with personal data (for example under GDPR). This is not legal advice.

# Actor input Schema

## `profiles` (type: `array`):

Get the latest posts of these accounts. Usernames or profile links: realDonaldTrump, @realDonaldTrump or https://truthsocial.com/@realDonaldTrump. One per line. Known to work: realDonaldTrump, JDVance1 (JD Vance), WhiteHouse. Since August 2025 Truth Social can ask for a sign-in before it shows an account; such accounts stop with a clear reason and cost nothing.

## `includeProfile` (type: `boolean`):

On: also save one row with each profile's details (name, bio, followers, following, posts count, verified, website, join date). It usually comes with the posts at no extra request.

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

Maximum posts saved for each profile, newest first. Enforced exactly. Set 0 to get profile rows only.

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

Fetch these posts directly, e.g. https://truthsocial.com/@realDonaldTrump/posts/114315219437063160. One per line.

## `maxTotalItems` (type: `integer`):

Optional hard cap on all rows (posts and profiles) across the run. Leave empty for no total cap.

## `postedAfter` (type: `string`):

Only posts published on or after this day (UTC). Also accepts relative dates such as 7 days. Posts outside the range are skipped and not charged.

## `postedBefore` (type: `string`):

Only posts published on or before this day (UTC, the whole day is included). A profile stops at the first page with no matching post, so use this for recent windows.

## `excludeReposts` (type: `boolean`):

On: skip posts that only repost someone else's post. Skipped posts are not charged.

## `minLikes` (type: `integer`):

Skip posts with fewer likes. Skipped posts are not charged.

## Actor input object example

```json
{
  "profiles": [
    "realDonaldTrump"
  ],
  "includeProfile": true,
  "maxPostsPerProfile": 10,
  "excludeReposts": false
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "profiles": [
        "realDonaldTrump"
    ],
    "maxPostsPerProfile": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("apisamurai/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 = {
    "profiles": ["realDonaldTrump"],
    "maxPostsPerProfile": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("apisamurai/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 '{
  "profiles": [
    "realDonaldTrump"
  ],
  "maxPostsPerProfile": 10
}' |
apify call apisamurai/truth-social-scraper --silent --output-dataset

```

## MCP server setup

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