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

Truth Social scraper: collect public profiles and posts from Truth Social by username or profile URL. Get post text, date, language, replies, ReTruths and likes counts, media, link previews, mentions and hashtags, plus follower counts and bio. No login.

- **URL**: https://apify.com/anyxsolutions/truth-social-scraper.md
- **Developed by:** [Anyx Solutions](https://apify.com/anyxsolutions) (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 results

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

![banner](https://anyx.solutions/banners/truth-social-scraper.png)

## Truth Social Scraper

**Public Truth Social profiles and posts as clean, structured data.**

Give this scraper a list of Truth Social usernames or profile URLs and it returns each account's profile and its posts, newest first, as far back as you ask: text, date, language, replies, ReTruths and likes counts, photos and videos, link previews, mentions and hashtags. It collects public profiles and posts only and needs no login. It suits researchers, journalists, analysts and monitoring tools that follow political and public-figure posting.

### ⚡ Quick start

```json
{
  "usernames": ["realDonaldTrump"],
  "maxItems": 20
}
```

### 🧩 Input

| Field                | Type    | Required | Default                                                                              | Description                                                                                                                                                                                                                                 |
| -------------------- | ------- | -------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `usernames`          | array   | no\*      | —                                                                                    | Usernames to scrape, one per line, without the @, e.g. `realDonaldTrump`.                                                                                                                                                                   |
| `startUrls`          | array   | no\*      | —                                                                                    | Profile addresses, e.g. `https://truthsocial.com/@realDonaldTrump`, or single post addresses, e.g. `https://truthsocial.com/@realDonaldTrump/posts/117661447235607485`. Combined with `usernames`; an account listed twice is scraped once. |
| `maxItems`           | integer | no       | `5`                                                                                  | Maximum posts per profile, newest first. The profile item is extra and does not count towards it. A post address always returns that one post.                                                                                              |
| `includeReplies`     | boolean | no       | `false`                                                                              | Also return the replies the profile has written to other accounts, not only its own posts.                                                                                                                                                  |
| `includeProfile`     | boolean | no       | `true`                                                                               | Return one profile item per account, before its posts.                                                                                                                                                                                      |
| `proxyConfiguration` | object  | no       | `{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"CA"}` | Proxy settings. Truth Social challenges datacenter and direct connections, so residential proxies in Canada are the default.                                                                                                                |

\* Provide `usernames`, `startUrls`, or both.

### 📤 Output

Each account becomes one `profile` item (unless `includeProfile` is off), followed by its `post` items, newest first. Every item has an `itemType` of `profile` or `post`, and fields that do not apply to a type are left out of it. Fields a post does not carry are returned as `null` rather than omitted. A ReTruth is a post item with `isRepost` set: its date and author are the reposting account's, and its text, media and counts come from the original post, which `repostOf` names. A quote post, which carries its own words, names the post it quotes in `quoteOf`.

#### Fields

| Field            | Type    | Description                                                                                                  |
| ---------------- | ------- | ------------------------------------------------------------------------------------------------------------ |
| `itemType`       | string  | `profile` or `post`.                                                                                         |
| `id`             | string  | Truth Social's id for the profile or the post.                                                               |
| `url`            | string  | Address of the profile or the post on truthsocial.com.                                                       |
| `createdAt`      | string  | When the post was made, or the account was created, ISO 8601.                                                |
| `scrapedAt`      | string  | When the item was collected, ISO 8601.                                                                       |
| `username`       | string  | Profile items: the account's username, without the @.                                                        |
| `displayName`    | string  | Profile items: the name shown on the profile.                                                                |
| `bio`            | string  | Profile items: the profile description as plain text.                                                        |
| `location`       | string  | Profile items: the location the profile lists. `null` when it lists none.                                    |
| `website`        | string  | Profile items: the website the profile lists. `null` when it lists none.                                     |
| `followersCount` | integer | Profile items: number of followers.                                                                          |
| `followingCount` | integer | Profile items: number of accounts the profile follows.                                                       |
| `postsCount`     | integer | Profile items: number of posts the account has made in total.                                                |
| `lastPostAt`     | string  | Profile items: date of the account's latest post.                                                            |
| `avatarUrl`      | string  | Profile items: address of the profile picture.                                                               |
| `headerUrl`      | string  | Profile items: address of the profile banner image.                                                          |
| `verified`       | boolean | Profile items: whether the account carries the verified badge.                                               |
| `text`           | string  | Post items: the post as plain text, with line breaks kept. `null` for a post with no text.                   |
| `contentHtml`    | string  | Post items: the post as the site's HTML.                                                                     |
| `language`       | string  | Post items: language code of the post, e.g. `en`. `null` when the site does not set one.                     |
| `replyToId`      | string  | Post items: id of the post this one answers. `null` for a post that is not a reply.                          |
| `isRepost`       | boolean | Post items: `true` for a ReTruth.                                                                            |
| `repostOf`       | object  | Post items: for a ReTruth, the original post's `id`, `url` and `author`. `null` otherwise.                   |
| `quoteOf`        | object  | Post items: for a quote post, the quoted post's `id`, `url`, `text` and `author`. `null` otherwise.          |
| `repliesCount`   | integer | Post items: number of replies.                                                                               |
| `repostsCount`   | integer | Post items: number of ReTruths.                                                                              |
| `likesCount`     | integer | Post items: number of likes.                                                                                 |
| `media`          | array   | Post items: attached photos and videos, each with `type`, `url`, `previewUrl` and `description`.             |
| `card`           | object  | Post items: the link preview, with `url`, `title`, `description` and `image`. `null` when the post has none. |
| `mentions`       | array   | Post items: accounts tagged in the post, each with `id`, `username` and `url`.                               |
| `hashtags`       | array   | Post items: hashtags used in the post, without the #.                                                        |
| `author`         | object  | Post items: who made the post, with `id`, `username` and `displayName`.                                      |

<details><summary>Example output</summary>

```json
[
  {
    "id": "108040237637233828",
    "username": "DonaldJTrumpJr",
    "displayName": "Donald Trump Jr.",
    "url": "https://truthsocial.com/@DonaldJTrumpJr",
    "bio": "Meme War General\nPronouns: Your Hero",
    "location": null,
    "website": "https://rumble.com/c/DonaldJTrumpJr",
    "followersCount": 7697565,
    "followingCount": 281,
    "postsCount": 2376,
    "avatarUrl": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/108/040/237/637/233/828/original/473f3f02a60b79cb.jpeg",
    "headerUrl": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/108/040/237/637/233/828/original/b6381807975bf0df.jpeg",
    "createdAt": "2022-03-29T14:13:16.834Z",
    "lastPostAt": "2026-08-13",
    "verified": true,
    "scrapedAt": "2026-11-22T20:57:36.289Z",
    "itemType": "profile"
  },
  {
    "id": "117089890175973447",
    "url": "https://truthsocial.com/@DonaldJTrumpJr/117089890175973447",
    "createdAt": "2026-08-13T19:38:55.546Z",
    "text": "My triggered podcast coming up 6 pm ET with @jimbanks see you on rumble!!!\nhttps://rumble.com/v7e4ius-birth-tourism-exposed-interview-with-sen-jim-banks-triggered-ep.367.html",
    "contentHtml": "<p>My triggered podcast coming up 6 pm ET with <span class=\"h-card\"><a href=\"https://truthsocial.com/@jimbanks\" class=\"u-url mention\">@<span>jimbanks</span></a></span> see you on rumble!!!<br/><a href=\"https://rumble.com/v7e4ius-birth-tourism-exposed-interview-with-sen-jim-banks-triggered-ep.367.html\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">rumble.com/v7e4ius-birth-touri</span><span class=\"invisible\">sm-exposed-interview-with-sen-jim-banks-triggered-ep.367.html</span></a></p>",
    "language": "en",
    "replyToId": null,
    "isRepost": false,
    "repostOf": null,
    "quoteOf": null,
    "repliesCount": 300,
    "repostsCount": 252,
    "likesCount": 983,
    "media": [],
    "card": {
      "url": "https://rumble.com/v7e4ius-birth-tourism-exposed-interview-with-sen-jim-banks-triggered-ep.367.html",
      "title": "Birth Tourism Exposed, Interview with Sen Jim Banks | Triggered Ep.367",
      "description": null,
      "image": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/075/398/922/original/2c2ea61177d8bbe7.jpg"
    },
    "mentions": [
      {
        "id": "107814657015361373",
        "username": "jimbanks",
        "url": "https://truthsocial.com/@jimbanks"
      }
    ],
    "hashtags": [],
    "author": {
      "id": "108040237637233828",
      "username": "DonaldJTrumpJr",
      "displayName": "Donald Trump Jr."
    },
    "scrapedAt": "2026-11-22T20:57:40.659Z",
    "itemType": "post"
  }
]
```

</details>

### 💡 Use cases

- Follow what a public figure, party, agency or campaign posts, and when, without checking the site by hand.
- Build a dataset of political posting for research: language, volume over time, replies, ReTruths and likes.
- Feed a newsroom or media-monitoring tool with new posts from the accounts you track.
- Compare how many followers an account has and how much engagement its posts get.

### ❓ FAQ

- **Do I need a Truth Social account?** No. The scraper collects public profiles and posts without logging in.
- **How many posts can I get per profile?** Up to `maxItems`, newest first, so a larger `maxItems` goes further back. A whole account history can be collected: one account's full run of 2,376 posts came back in a single run.
- **Can it search Truth Social or collect a hashtag or the trending list?** No. Search, hashtag and trending pages return no data to a visitor who is not logged in, and this scraper does not log in. Give it the accounts you want instead.
- **Are replies included?** Not by default. Turn on `includeReplies` to also get the replies an account has written to other posts; they carry a `replyToId`. The replies other people wrote under a post are not collected.
- **Can I scrape a single post?** Yes. Put its address, e.g. `https://truthsocial.com/@realDonaldTrump/posts/117661447235607485`, in `startUrls`. You get that post as one item.
- **Why is `text` empty on some posts?** A post made of only a photo or video has no text. Its attachments are in `media`.
- **Do I need a proxy?** Yes. Truth Social challenges ordinary datacenter and direct connections, so this scraper uses Apify's residential proxies, exiting in Canada, by default. Canada was challenged least in our tests and some countries are challenged far more often, so change the country only if you have a reason to.
- **What happens when a request is challenged?** The scraper retries on a fresh connection, several times over. If a profile cannot be read at all it is skipped and named in the log, and a run that collects nothing fails with a clear error rather than reporting zero posts.

### 🔗 More scrapers by Anyx

- [X (Twitter) Scraper](https://apify.com/anyxsolutions/x-twitter-scraper)
- [Threads Scraper](https://apify.com/anyxsolutions/threads-scraper)
- [Bluesky Scraper](https://apify.com/anyxsolutions/bluesky-scraper)
- [Mastodon Scraper](https://apify.com/anyxsolutions/mastodon-scraper)
- [Reddit Scraper](https://apify.com/anyxsolutions/reddit-scraper)

### 🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.

- Email: tantosthor@gmail.com

# Actor input Schema

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

Usernames to scrape, one per line, without the @, for example realDonaldTrump. Each account returns its profile and its most recent posts.

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

Addresses to scrape: a profile, for example https://truthsocial.com/@realDonaldTrump, or a single post, for example https://truthsocial.com/@realDonaldTrump/posts/117661447235607485. They are combined with the usernames above, and an account listed twice is scraped once.

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

Maximum number of posts to return for each profile, newest first. The profile item is extra and does not count towards this limit. A post address always returns that one post.

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

Also return the replies the profile has written to other accounts, not only its own posts. Replies are marked by a non-empty replyToId.

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

Return one profile item per account, with its follower, following and post counts, bio, avatar and join date, before its posts.

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

Apify proxy settings. Truth Social challenges datacenter and direct connections, so residential Apify Proxy sessions are used by default, exiting in Canada, which was challenged least in testing. Pick another country if you prefer.

## Actor input object example

```json
{
  "usernames": [
    "realDonaldTrump",
    "DonaldJTrumpJr"
  ],
  "maxItems": 5,
  "includeReplies": false,
  "includeProfile": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CA"
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "usernames": [
        "realDonaldTrump",
        "DonaldJTrumpJr"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("anyxsolutions/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",
        "DonaldJTrumpJr",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("anyxsolutions/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",
    "DonaldJTrumpJr"
  ]
}' |
apify call anyxsolutions/truth-social-scraper --silent --output-dataset

```

## MCP server setup

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