# Truth Social Posts Scraper · Profiles & post IDs · $1/1K (`mlg14/truth-scraper`) Actor

Get public Truth Social posts from any profile or by post ID for political monitoring, media analysis and social listening. Returns text, media, engagement counts, account details, replies, quotes and retruths. Incremental mode skips seen posts. $1/1K posts.

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

## Pricing

$1.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.

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

Scrape public Truth Social profile posts, or fetch specific posts by ID or URL, and export Truth Social data to CSV or JSON. This Truth Social API alternative returns post text, media, engagement counts, account information, replies, quotes, and retruths in a consistent dataset ready for monitoring or analysis.

### What data can you extract from Truth Social?

Each dataset item represents one public post. Top-level fields use camelCase so that a CSV export has predictable column names. Some fields are empty when a post has no matching feature: a plain text post has no media URLs, a regular post has no reply target, and a post without a poll has no poll options. Counts describe the public state at collection time and may change later. The account values are a snapshot embedded in each post, which lets you analyze posts without joining a second account dataset.

| Field | Description | Example |
| --- | --- | --- |
| `id` | Unique post ID. | `117337317276437965` |
| `url` | Public post URL. | public post link |
| `uri` | Canonical post URI. | varies by post |
| `createdAt` | Post creation timestamp. | `2026-09-26T12:22:53.480Z` |
| `editedAt` | Last edit timestamp if present. | varies by post |
| `content` | Post text, cleaned when selected. | post text |
| `rawContent` | Original HTML post content. | varies by post |
| `title` | Post title when supplied. | varies by post |
| `visibility` | Post visibility such as public. | `public` |
| `language` | Post language code. | `en` |
| `sensitive` | Whether the post is marked sensitive. | varies by post |
| `spoilerText` | Content warning text. | varies by post |
| `accountId` | Author account ID. | varies by account |
| `username` | Author username. | `realDonaldTrump` |
| `accountAcct` | Full author account handle. | varies by account |
| `accountDisplayName` | Author display name. | varies by account |
| `accountUrl` | Public author profile URL. | varies by account |
| `accountAvatar` | Author avatar URL. | varies by account |
| `accountAvatarStatic` | Static author avatar URL. | varies by account |
| `accountHeader` | Author header image URL. | varies by account |
| `accountHeaderStatic` | Static author header image URL. | varies by account |
| `accountBio` | Plain text author biography. | varies by account |
| `accountCreatedAt` | Author account creation timestamp. | varies by account |
| `accountLastStatusAt` | Date of last account post. | varies by account |
| `accountFollowersCount` | Author follower count. | varies by account |
| `accountFollowingCount` | Author following count. | varies by account |
| `accountStatusesCount` | Total author post count. | varies by account |
| `accountVerified` | Whether the author is verified. | varies by account |
| `accountLocked` | Whether the author account is locked. | varies by account |
| `accountBot` | Whether the author account is marked as a bot. | varies by account |
| `accountDiscoverable` | Whether the author account is discoverable. | varies by account |
| `accountGroup` | Whether the author account is a group. | varies by account |
| `accountLocation` | Author location when public. | varies by account |
| `accountWebsite` | Author website when public. | varies by account |
| `accountFields` | Public custom author profile fields. | varies by account |
| `repliesCount` | Number of replies. | `3771` |
| `reblogsCount` | Number of retruths. | `5213` |
| `favouritesCount` | Number of likes. | `23664` |
| `upvotesCount` | Number of upvotes. | varies by post |
| `downvotesCount` | Number of downvotes. | varies by post |
| `favourited` | Whether the post is liked by the current visitor. | varies by post |
| `reblogged` | Whether the post is retruthed by the current visitor. | varies by post |
| `bookmarked` | Whether the post is bookmarked by the current visitor. | varies by post |
| `pinned` | Whether the post is pinned. | varies by post |
| `muted` | Whether the post is muted by the current visitor. | varies by post |
| `sponsored` | Whether the post is sponsored. | varies by post |
| `inReplyToId` | Parent post ID if this is a reply. | varies by post |
| `inReplyToAccountId` | Parent account ID if this is a reply. | varies by post |
| `inReplyToUrl` | Parent post URL when included. | varies by post |
| `quoteId` | Quoted post ID. | varies by post |
| `quoteUrl` | Quoted post URL when included. | varies by post |
| `quoteContent` | Plain text of quoted post when included. | varies by post |
| `reblogId` | Retruthed post ID. | varies by post |
| `reblogUrl` | Retruthed post URL when included. | varies by post |
| `reblogContent` | Plain text of retruthed post when included. | varies by post |
| `mediaAttachments` | Original public media attachment metadata. | varies by post |
| `mediaUrls` | Direct URLs of attached media. | `[]` |
| `mediaTypes` | Types of attached media. | varies by post |
| `mentions` | Mentioned public accounts. | varies by post |
| `tags` | Post hashtags. | varies by post |
| `emojis` | Custom emojis in the post. | varies by post |
| `cardUrl` | Linked page preview URL. | varies by post |
| `cardTitle` | Linked page preview title. | varies by post |
| `cardDescription` | Linked page preview description. | varies by post |
| `pollId` | Poll ID when present. | varies by post |
| `pollExpiresAt` | Poll expiration timestamp. | varies by post |
| `pollVotesCount` | Total poll votes. | varies by post |
| `pollOptions` | Poll options when present. | varies by post |

`mediaAttachments`, `mentions`, `tags`, `emojis`, `accountFields`, and `pollOptions` retain public list data. Those fields can contain objects; the rest of the record stays flat. For spreadsheet analysis, `mediaUrls` and `mediaTypes` offer simpler lists. Text is cleaned by default, while `rawContent` always preserves the original HTML. When a post has no text, `content` is an empty string; media posts can still carry a video or image URL and full engagement counts.

### How to scrape Truth Social

1. Enter a public username such as `realDonaldTrump`, a handle beginning with `@`, or a profile URL. To fetch specific posts instead, add their IDs or URLs under `singlePostId`.
2. Set `maxPosts` for the number of profile posts you need. The starting value is 20. A profile must have enough public posts available to reach the limit.
3. Choose `onlyMedia` for posts with attachments or `onlyReplies` for replies. Leave both off for ordinary timeline posts. Set `startFromId` to continue older than a known post ID.
4. Run the scraper. Open the dataset to inspect a few rows, then download JSON or CSV for your analysis. Store the post `id` as a stable key when combining several runs.

Specific post mode ignores the profile timeline controls. This is useful when you already have post links from an article, a monitoring list, or an earlier export. Duplicate IDs in one request are fetched once. Invalid IDs fail clearly; unavailable public posts are reported and skipped.

### Input

| Parameter | Type | Default | What it does |
| --- | --- | --- | --- |
| `username` | string | empty | Public username, `@username`, or profile URL. Required for a timeline run. |
| `maxPosts` | integer | `20` | Maximum timeline items to return; at least one. |
| `useLastPostId` | boolean | `false` | Save a per-profile checkpoint and collect only posts newer than it on later runs with the same storage. |
| `onlyReplies` | boolean | `false` | Return reply posts. Otherwise, return posts that are not replies. |
| `onlyMedia` | boolean | `false` | Return only posts with media attachments. |
| `cleanContent` | boolean | `true` | Remove markup from `content`. `rawContent` still contains the original HTML. |
| `startFromId` | string | empty | Return posts older than this numeric ID; the ID itself is excluded. |
| `singlePostId` | string list | empty | Fetch these post IDs or URLs directly, instead of a timeline. |
| `maxPages` | integer | `100` | Upper bound on timeline pages inspected. Each page has at most 20 posts. |
| `proxyConfiguration` | object | automatic | Network routing configuration for public requests. |

A typical profile collection input:

```json
{
  "username": "realDonaldTrump",
  "maxPosts": 40,
  "onlyReplies": false,
  "onlyMedia": false,
  "cleanContent": true
}
```

For direct lookups, use `{"singlePostId":["113847449027767807","https://truthsocial.com/@realDonaldTrump/117337317276437965"]}`. A direct lookup does not need `username`; each ID is resolved independently. `startFromId` and `useLastPostId` cannot be combined, because one moves backward through history and the other checks for new posts.

### Output example

The following is a shortened, real item from a 40-post profile run on September 26, 2026. The actual item also contains the other fields listed above, including empty values for features absent from this post.

```json
{
  "id": "117337317276437965",
  "url": "https://truthsocial.com/@realDonaldTrump/117337317276437965",
  "createdAt": "2026-09-26T12:22:53.480Z",
  "content": "FAKE NEWS SHOULD NOT BE ALLOWED IN THE WHITE HOUSE!!! IT HAS GONE ON FAR TOO LONG, AT A TREMENDOUS COST TO OUR COUNTRY. President DJT",
  "username": "realDonaldTrump",
  "accountDisplayName": "Donald J. Trump",
  "accountVerified": true,
  "repliesCount": 3771,
  "reblogsCount": 5213,
  "favouritesCount": 23664,
  "mediaUrls": [],
  "visibility": "public",
  "language": "en"
}
```

### Use cases

- **Public statement monitoring:** Collect the latest posts from a known account each morning, keep IDs for deduplication, and review new statements in order. A saved checkpoint supports regular monitoring when the run uses the same storage.
- **Media cataloging:** Set `onlyMedia` and use `mediaUrls`, `mediaTypes`, and `mediaAttachments` to index public videos and images. Empty post text is normal for many media-only entries.
- **Engagement research:** Compare likes, retruths, replies, and votes across posts in a defined time window. Save the collection timestamp because those numbers can continue to grow.
- **Conversation analysis:** Select `onlyReplies` to study public replies made by a profile. Use `inReplyToId` and `inReplyToAccountId` to connect a reply to its parent where the parent is available.
- **Editorial verification:** Fetch a small list of cited post URLs and record the exact IDs, timestamps, text, and media metadata visible at collection time. This is useful when a link is quoted in a report.
- **Profile history:** Page backward with `startFromId` to assemble historical batches. Preserve the last returned ID before requesting the next batch, and deduplicate by ID when combining files.

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

The current price is **$1.00 per 1,000 delivered posts**, or **$0.001 per result**. A run with 40 results costs about $0.04, 1,000 results about $1.00, and 5,000 results about $5.00. These examples describe delivered dataset items, not attempted pages or unavailable direct IDs. Platform usage is included under this result pricing. The number delivered may be smaller than `maxPosts` when a profile has fewer public posts, a filter is selective, a checkpoint has already been reached, or the page limit stops the run.

### Tips for best results

Use a profile URL when spelling is uncertain; the scraper extracts its handle. For repeated monitoring, keep the same storage and set `useLastPostId` only after deciding what the initial run should establish as the baseline. A checkpoint is stored separately for each normalized username. On later runs, the scraper stops at the saved post ID, so a quiet account can correctly return no items.

For older history, record the oldest ID in a batch, then pass it as `startFromId` for the next batch. The requested ID is excluded, which avoids a duplicate boundary item. Timeline pages contain up to 20 posts. A `maxPosts` value of 40 normally needs at least two timeline pages, plus one account lookup. The request may inspect more pages if filtering removes many posts.

Set `onlyMedia` to narrow the public timeline at the source and then verify that each delivered post has an attachment. `onlyReplies` checks the reply relationship on each returned post. Many accounts rarely post replies, so a request for 100 replies can finish with far fewer items even after reading many pages. Increase `maxPages` if you need to inspect a longer history. If you do not need the original markup, keep `cleanContent` enabled and read `content`; the raw HTML remains available for audit or custom parsing.

### Limits

Only publicly accessible posts and accounts are collected. A deleted, private, restricted, or otherwise unavailable post can be absent. An inaccessible profile or blocked data endpoint fails the run instead of producing a misleading empty dataset. Page size is capped at 20 by the public status endpoint. `maxPages` prevents a highly selective filter from scanning without bound; increasing it allows more history but also more requests and time.

Incremental tracking uses the newest encountered ID for each profile. If a later run reaches its item cap or page cap before it encounters the previous checkpoint, the checkpoint is left in place to avoid skipping unseen posts. That can cause the next run to repeat recent results. Increase `maxPosts` or `maxPages` and deduplicate by `id` when a monitored account has posted unusually often. Changing filters between incremental runs can also alter which posts are returned; maintain separate storage for different monitoring recipes if each must have its own checkpoint.

Public endpoint behavior and access rules can change. The run starts with a low-cost datacenter route and switches to a residential route after repeated access blocks. In testing, the datacenter route received HTTP 403 for the JSON endpoints, while a residential route returned public data. This routing can affect runtime and platform resource use, even though the result price remains tied to delivered rows.

### Use in automated workflows

Example request: “Collect the latest 40 public posts from `realDonaldTrump`, return cleaned content, and show the ten posts with the most retruths.” Another request: “Fetch these five post URLs, keep the original HTML, and list every media URL alongside its post ID.” Both work directly with the described input and dataset fields without needing to inspect page markup.

### FAQ

#### Is it legal to collect these posts?

The actor is designed for public data. Your use still needs to respect applicable law, the site's terms, privacy rights, and any obligations that apply to your project. Avoid misuse of personal data. If a post or account is not public, this actor does not provide access to it.

#### Do I need to configure network settings?

Usually no. The actor starts with its standard network route and escalates when public JSON requests are blocked. Custom routing can be supplied if your account has a specific network requirement. Access conditions can change by region and over time, so check run logs if an account that worked earlier becomes unavailable.

#### How fast is a run?

In the verification run, 40 posts were delivered from two status pages after account lookup. Actual time depends on access blocks, route switching, page count, and filters. A short direct-ID request needs one lookup per distinct ID; a rare-reply search may scan many 20-post pages before producing a few results.

#### Can I schedule monitoring without duplicates?

Yes, use `useLastPostId` with the same storage across runs. The initial run establishes a per-profile checkpoint. Later runs return posts newer than that checkpoint. If a run stops before the old checkpoint, recent posts may repeat so unseen posts are not silently skipped. Downstream deduplication by `id` is recommended.

#### Can I export to a spreadsheet?

Yes. Download the default dataset as CSV for a flat row view or JSON when you need complete list fields. `mediaUrls` and `mediaTypes` are particularly useful for simple spreadsheet columns. The original `mediaAttachments`, `mentions`, and poll fields retain richer metadata in JSON.

#### Why is `content` empty on some posts?

Some posts contain only an image or video and have empty HTML text. Inspect `mediaUrls` and `mediaAttachments`. A retruth can also point to substantive content in `reblogContent`. This reflects the public response rather than an inferred caption.

#### Can I get a post from its URL without a username?

Yes. Put one or more public post URLs in `singlePostId`. The actor extracts each numeric ID and fetches its public detail directly. The post's own author details appear in the resulting item. Timeline controls are ignored in this mode.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/truth-scraper`

The actor returns one dataset item per Truth Social post (id, url, content, media, engagement counts, account details, replies, quotes, retruths). Keep results bounded with a small `maxItems`-style limit so a run finishes quickly.

**Prompt 1:** "Get the latest 20 Truth Social posts from realDonaldTrump."

```json
{
  "username": "realDonaldTrump",
  "maxPosts": 20
}
```

**Prompt 2:** "Fetch this Truth Social post and show its engagement counts."

```json
{
  "singlePostId": [
    "117337317276437965"
  ]
}
```

**Prompt 3:** "List recent media posts from realDonaldTrump on Truth Social."

```json
{
  "username": "realDonaldTrump",
  "onlyMedia": true,
  "maxPosts": 20
}
```

### Integrations

Use the dataset API, scheduled runs, and webhooks to move results into a database, spreadsheet, reporting workflow, or alert system. JSON retains media and mention objects; CSV is convenient for counts, dates, and text analysis. When maintaining a database, make `id` the unique key and record the time each row was collected so changing counts remain interpretable.

### Support

Open an issue on the Issues tab; we reply within 24 hours and add fields on request. Include a public profile or post URL, the input used, and the run result when reporting a missing field or access problem.

# Actor input Schema

## `username` (type: `string`):

Public Truth Social username, @username or profile URL. Example: realDonaldTrump. Leave empty when using singlePostId.

## `maxPosts` (type: `integer`):

Maximum posts returned from the profile timeline. Example: 20. Use a small number for quick samples; filters may read more pages.

## `useLastPostId` (type: `boolean`):

Remember the newest post ID per username and stop there on later runs with the same storage. Allowed values: true or false. Example: true. Use it for monitoring; cannot be combined with startFromId.

## `onlyReplies` (type: `boolean`):

Return only posts that reply to another post. Allowed values: true or false. Example: true. Leave false to get regular posts (non-replies).

## `onlyMedia` (type: `boolean`):

Return only posts with images, video or other media. Allowed values: true or false. Example: true to catalog media. Leave false for all posts.

## `cleanContent` (type: `boolean`):

Strip HTML from the content field; the original markup stays in rawContent. Allowed values: true or false. Example: true. Leave true for readable text.

## `startFromId` (type: `string`):

Fetch posts older than this post ID (the ID itself is excluded), 15 to 20 digits. Example: 117337317276437965. Use it to page back through history.

## `singlePostId` (type: `array`):

Fetch these specific posts directly, as numeric IDs or post URLs. Example: \["117337317276437965"]. Overrides the timeline settings; leave empty for a profile run.

## `maxPages` (type: `integer`):

Safety cap on timeline requests, up to 20 posts each. Example: 5. Raise it only when filters remove many posts.

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

Network route for public requests. Example: {"useApifyProxy": true}. Starts with datacenter and escalates on blocks; keep the default.

## Actor input object example

```json
{
  "username": "realDonaldTrump",
  "maxPosts": 20,
  "useLastPostId": false,
  "onlyReplies": false,
  "onlyMedia": false,
  "cleanContent": true,
  "maxPages": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

Public posts in the default dataset.

# 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 = {
    "username": "realDonaldTrump"
};

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

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

```

## MCP server setup

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