# Truth Social Posts Scraper: Profiles & Links (`luzivanlt/truth-social-posts-scraper`) Actor

Truth Social posts from any profile timeline or post link, each saved once. $2.50 per 1,000 posts. Text, author, date, likes, reposts, replies, media, hashtags, mentions, polls and link cards; filters for date, text, replies and reposts. No login needed.

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

## Pricing

from $1.75 / 1,000 posts

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

Truth Social posts from any public profile timeline or single post link, saved
newest first with the text, the author, the counts, the media and the post
being reposted. One row per post. No Truth Social account, login or cookie
needed.

Tested end to end on 2026-11-24: 1,000 posts from one profile in one run, and
100 posts from the prefill input in 13 seconds.

### What does this Actor do?

You give it Truth Social profile links, handles or post links. It reads each
profile's timeline from the newest post backwards, saves one row per post, and
stops when it reaches your post limit, the start of your date range, or the
point where the timeline has no more posts to give.

The site serves a profile timeline a page at a time, 20 posts a page, and it
stops answering after a while in one session. This Actor moves to a fresh
connection and keeps reading, so one run reached 1,000 posts back in a single
run on the measured day. A profile that posts many times a day can be deeper
than one run reads; the "Posted on or before" filter continues from where the
last run stopped.

Each post comes with:

- the text, both as readable plain text and exactly as the site sends it
- the author: username, display name, profile link, avatar and banner, bio and
  join date
- when it was posted, and when it was last edited if it ever was
- likes, reposts and replies as the site counted them when the post was read
- every photo, video or audio file with its link, size, aspect ratio, duration
  and alt text
- the hashtags and the accounts it mentions
- the preview card of a link in the post: title, description, site, image
- a poll's options and votes, when the post has one
- for a repost, the original post inside the same row, and for a quote, the
  quoted post inside the same row

### Why use it?

- **Deep timelines in one run.** 1,000 posts back from one profile in 212
  seconds on the measured day, not the newest handful.
- **The counts are the site's own numbers.** Likes, reposts and replies come
  from the post record itself, so they are exact at the moment of reading.
- **Reposts and quotes stay whole.** A repost carries the original post, its
  author and its counts inside the same row, so a filter on the original's
  likes works.
- **Filters that cost nothing.** Date range, text match, replies and reposts
  are applied while the timeline is read; a post left out is never charged.
- **No start fee.** You pay per post saved, nothing for opening a run, and a
  run that finds nothing costs nothing.
- **Export as JSON, CSV or Excel**, or read it through Apify's API and
  integrations.

### How to use it

1. Paste one or more **Profiles or post links**: a handle such as
   `realDonaldTrump`, a profile link such as
   `https://truthsocial.com/@realDonaldTrump`, or a post link.
2. Set the filters you need: **Posted on or after**, **Posted on or before**,
   **Text contains**, **Include replies**, **Include reposts**.
3. Set **Maximum posts** (100 by default, 0 for no limit) and press Start.

A run with no input at all reads the last 20 posts of one public profile, which
takes a few seconds.

#### Links that work

- `https://truthsocial.com/@realDonaldTrump`
- `https://truthsocial.com/@realDonaldTrump/117667276373895254`

A profile link reads that profile's timeline. A post link reads that one post,
whatever profile it belongs to. A handle on its own (`@realDonaldTrump`) works
too. A line that is not a Truth Social handle, profile link or post link stops
the run before anything is read and names the line.

### Input

| **Title** (`key`) | What it does | Default |
| --- | --- | --- |
| **Profiles or post links** (`targets`) | Up to 50 handles, profile links or post links, one per line. A handle written twice is read once. | the sample profile |
| **Posted on or after** (`publishedAfter`) | A date as `YYYY-MM-DD`; earlier posts are left out and never charged. | no start date |
| **Posted on or before** (`publishedBefore`) | A date as `YYYY-MM-DD`; later posts are left out and never charged. | up to now |
| **Text contains** (`containsText`) | Keep only posts whose text contains this word or phrase, case does not matter. | keep every post |
| **Include replies** (`includeReplies`) | Keep the replies the account posted under other people's posts. | on |
| **Include reposts** (`includeReposts`) | Keep reposts (ReTruths), with the original post inside the row. | on |
| **Maximum posts** (`maxItems`) | Stop after this many posts in total; 0 reads as far back as the timeline goes. | 100 |
| **Maximum posts per profile** (`maxItemsPerTarget`) | Stop each profile after this many posts; 0 means no per-profile limit. | 0 |

Give at least one handle, profile link or post link unless you want the sample.

```json
{
  "targets": ["https://truthsocial.com/@realDonaldTrump"],
  "publishedAfter": "2026-11-01",
  "includeReposts": true,
  "maxItems": 200
}
```

### Output

One row per post. A row looks like this:

```json
{
  "id": "117667276373895254",
  "url": "https://truthsocial.com/@realDonaldTrump/117667276373895254",
  "createdAt": "2026-11-23T18:55:49.748Z",
  "content": "EXTREME CLIMATE SCIENCE \"BITES THE DUST!\"\nClimate Change activists always described...",
  "likesCount": 19929,
  "repostsCount": 6171,
  "repliesCount": 2750,
  "isReply": false,
  "isRepost": false,
  "account": {
    "id": "107780257626128497",
    "username": "realDonaldTrump",
    "displayName": "Donald J. Trump",
    "url": "https://truthsocial.com/@realDonaldTrump"
  },
  "target": "https://truthsocial.com/@realDonaldTrump",
  "targetType": "handle"
}
```

| Field | What it holds |
| --- | --- |
| `id` | The site's own id for the post, kept as a digit string because the ids are longer than a JavaScript number holds. |
| `createdAt` | When the post was published, ISO 8601 in UTC. |
| `content` | The post's text as readable plain text, paragraphs kept, tags removed. Empty on a post that is only an image or a video. |
| `account` | The author: id, username, display name, profile link, avatar and banner links, bio text, join date, bot and locked flags. |
| `url` | Link to the post on truthsocial.com. |
| `likesCount` | Likes when the post was read. |
| `repostsCount` | Reposts (ReTruths) when the post was read. |
| `repliesCount` | Replies when the post was read. |
| `media` | Every photo, video or audio file: type, file link, preview link, width, height, aspect ratio, duration, alt text and blurhash. Empty when the post carries none. |
| `tags` | The hashtags, without the hash sign. |
| `mentions` | The accounts the post mentions, each with handle and profile link. |
| `card` | The link preview: url, title, description, site name, author, image and dimensions. |
| `poll` | A poll's options with their votes, total votes, closing time and whether it is closed. |
| `reblog` | On a repost, the original post: id, link, date, text, author, counts, media and card. |
| `quote` | On a quote, the quoted post, same shape as `reblog`. |
| `isReply` | True when the account posted this under someone else's post. |
| `isRepost` | True when the row is a repost rather than a post the account wrote. |
| `pinned` | True when the account pinned the post to the top of its profile. |
| `language` | The language the site states, such as `en`. |
| `visibility` | Who can see the post, such as `public`. |
| `sensitive` | True when the author marked the media as sensitive. |
| `spoilerText` | The content warning over the post. |
| `title` | The title some posts carry above the text. |
| `editedAt` | When the post was last edited. |
| `uri` | The post's own identifier link, as the site stores it. |
| `contentHtml` | The text exactly as the site sends it, tags included, for a pipeline that wants the original markup. |
| `inReplyToId` | The id of the post this one replies to. |
| `inReplyToAccountId` | The id of the account this one replies to. |
| `quoteId` | The id of the post this one quotes. |
| `upvotesCount` | Upvotes, when the site reports them separately. Often the same as likes. |
| `downvotesCount` | Downvotes, when the site reports them separately. Often 0. |
| `target` | The profile or post link you gave for this row, exactly as you wrote it. |
| `targetType` | `handle`, `account` or `post`, matching how you wrote the target. |

A row always carries its id, link, date, author and counts. `media`, `tags`,
`mentions`, `card`, `poll`, `reblog` and `quote` are only on the posts that
have them: on 200 posts of one measured profile, 65% carried media, 14% a
quote, 14% mentions and 4% a link preview. `content` is empty on a post that is
only media, 47% of those 200.

### How much does it cost?

You pay for what you get: **$2.50 per 1,000 posts** ($0.0025 a post). Bronze
$2.25, Silver $2.00, Gold $1.75 per 1,000. There is no start fee and no charge
for a run that saves nothing.

- **Charged:** one post saved to your results. A post that appears twice in a
  run is charged once.
- **Not charged:** a post left out by a filter, a duplicate, a post link that
  does not exist, a run where the site answers nothing.

A run that reads 1,000 posts costs $2.50. A default run of 100 posts costs
$0.25. A run of two post links costs $0.005.

### How long does a run take?

- 20 posts: a few seconds.
- 100 posts: 12 to 27 seconds on the measured day.
- 200 posts: 30 to 68 seconds.
- 1,000 posts: about 3 and a half minutes when the site is serving at its
  normal pace.

The site's own load decides the pace and the depth more than your settings do.
When it slows down, a run reads fewer posts in the same time and then stops,
keeping and charging only what it read; the run's status says how many. Two
runs of the same size can differ by a factor of four, and a second run later is
the way to read further back.

### Good to know

- **Profile timelines and single posts only.** The site answers a profile's
  posts and one post by its link. Comments, search and follower lists ask for
  a login on truthsocial.com, and a hashtag has no public timeline, so this
  Actor does not sell them.
- **A run reads as far back as the site serves.** 1,000 posts in one run was
  measured; a profile that posts dozens of times a day goes deeper than that.
  Use **Posted on or before** to continue in a second run.
- **A run can stop short when the site slows down.** Everything read is saved
  and charged, and the run's status says how many posts it kept. Run it again
  later to read further back; a run that reads nothing at all saves nothing and
  charges nothing.
- **Counts are a snapshot.** Likes, reposts and replies are what the site said
  when the post was read; they move afterwards.
- **A post that is only an image has empty text.** The media list still
  carries the file, and `contentHtml` shows the markup the site sent.
- **Duplicates inside a run are free.** The same post reached from two targets
  is saved once and charged once. Two separate runs are charged separately.

### FAQ

**Do I need a Truth Social account?** No. Everything this Actor reads is public
and visible to a logged-out visitor.

**Can I watch a profile every day and only get new posts?** Run it on a
schedule with **Posted on or after** set to yesterday, or use the profile's
newest post id as your own marker. Posts already in your dataset from an
earlier run are charged again if a later run reads them again.

**Can I get the comments under a post?** Not yet. The site asks for a login on
that part, so it is not sold.

**Why is a post missing from the middle of a timeline?** A deleted post leaves
a gap, and the site's own page then carries 19 posts instead of 20. The walk
continues from the oldest id it saw, so nothing after the gap is skipped.

**What happens when a handle does not exist?** The target is reported as not
found in the run's summary, the rest of your list is still read, and you are
not charged for it.

# Actor input Schema

## `targets` (type: `array`):

Up to 50 Truth Social handles, profile links or post links, one per line, such as realDonaldTrump or https://truthsocial.com/@realDonaldTrump. A handle written twice is read once. Leave it empty to read the last 20 posts of one public profile.

## `publishedAfter` (type: `string`):

A date written as YYYY-MM-DD, such as 2026-11-01. Posts from earlier days are left out and never charged. Empty means no start date.

## `publishedBefore` (type: `string`):

A date written as YYYY-MM-DD, such as 2026-11-24. Posts from later days are left out and never charged. Empty means up to now.

## `containsText` (type: `string`):

Keep only posts whose text contains this word or phrase, such as climate or tariff. Case does not matter. Empty keeps every post, and posts left out are never charged.

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

Keep the replies the account posted under other people's posts. Turn it off to keep only the account's own top-level posts. On by default.

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

Keep the reposts (ReTruths) in the timeline, with the original post inside the same row. Turn it off to keep only the account's own posts. On by default.

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

Stop the run after this many posts in total. 0 reads as far back as the timeline goes, which for a daily poster can be tens of thousands of posts. Default 100.

## `maxItemsPerTarget` (type: `integer`):

Stop each profile after this many posts. 0 means no per-profile limit. Useful when you read many profiles and want the same depth from each one.

## Actor input object example

```json
{
  "targets": [
    "https://truthsocial.com/@realDonaldTrump"
  ],
  "includeReplies": true,
  "includeReposts": true,
  "maxItems": 100,
  "maxItemsPerTarget": 0
}
```

# Actor output Schema

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

One row per post in the default dataset; open the link for the overview view.

# 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 = {
    "targets": [
        "https://truthsocial.com/@realDonaldTrump"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/truth-social-posts-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 = { "targets": ["https://truthsocial.com/@realDonaldTrump"] }

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

```

## MCP server setup

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