# Download Trump's Truth Social Archive for AI and Research

**Use case:** 

Build an archive of Donald Trump's Truth Social posts: collect hundreds or thousands of posts with full text, timestamps, media URLs and engagement counts in one run, ready for AI analysis, LLM datasets, research or fact-checking. Export as JSON, CSV or Excel.

## Input

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

## Output

```json
{
  "id": {
    "label": "Post ID",
    "format": "text"
  },
  "created_at": {
    "label": "Created At",
    "format": "date"
  },
  "in_reply_to_id": {
    "label": "Reply To ID",
    "format": "text"
  },
  "quote_id": {
    "label": "Quote ID",
    "format": "text"
  },
  "in_reply_to_account_id": {
    "label": "Reply To Account ID",
    "format": "text"
  },
  "sensitive": {
    "label": "Sensitive Content",
    "format": "boolean"
  },
  "spoiler_text": {
    "label": "Spoiler Text",
    "format": "text"
  },
  "visibility": {
    "label": "Visibility",
    "format": "text"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "uri": {
    "label": "URI",
    "format": "link"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "content": {
    "label": "Content",
    "format": "text"
  },
  "account.id": {
    "label": "Account ID",
    "format": "text"
  },
  "account.username": {
    "label": "Username",
    "format": "text"
  },
  "account.acct": {
    "label": "Account",
    "format": "text"
  },
  "account.display_name": {
    "label": "Display Name",
    "format": "text"
  },
  "account.locked": {
    "label": "Account Locked",
    "format": "boolean"
  },
  "account.bot": {
    "label": "Bot Account",
    "format": "boolean"
  },
  "account.discoverable": {
    "label": "Discoverable",
    "format": "boolean"
  },
  "account.group": {
    "label": "Group Account",
    "format": "boolean"
  },
  "account.created_at": {
    "label": "Account Created At",
    "format": "date"
  },
  "account.note": {
    "label": "Bio",
    "format": "text"
  },
  "account.url": {
    "label": "Profile URL",
    "format": "link"
  },
  "account.avatar": {
    "label": "Avatar",
    "format": "image"
  },
  "account.avatar_static": {
    "label": "Static Avatar",
    "format": "image"
  },
  "account.header": {
    "label": "Header Image",
    "format": "image"
  },
  "account.header_static": {
    "label": "Static Header Image",
    "format": "image"
  },
  "account.followers_count": {
    "label": "Followers Count",
    "format": "number"
  },
  "account.following_count": {
    "label": "Following Count",
    "format": "number"
  },
  "account.statuses_count": {
    "label": "Posts Count",
    "format": "number"
  },
  "account.last_status_at": {
    "label": "Last Post At",
    "format": "date"
  },
  "account.verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "account.location": {
    "label": "Location",
    "format": "text"
  },
  "account.website": {
    "label": "Website",
    "format": "link"
  },
  "account.unauth_visibility": {
    "label": "Unauthenticated Visibility",
    "format": "text"
  },
  "account.chats_onboarded": {
    "label": "Chats Onboarded",
    "format": "boolean"
  },
  "account.feeds_onboarded": {
    "label": "Feeds Onboarded",
    "format": "boolean"
  },
  "account.accepting_messages": {
    "label": "Accepts Messages",
    "format": "boolean"
  },
  "account.show_nonmember_group_statuses": {
    "label": "Show Non-member Group Posts",
    "format": "boolean"
  },
  "account.emojis": {
    "label": "Custom Emojis",
    "format": "array"
  },
  "account.fields": {
    "label": "Profile Fields",
    "format": "array"
  },
  "account.tv_onboarded": {
    "label": "TV Onboarded",
    "format": "boolean"
  },
  "account.tv_account": {
    "label": "TV Account",
    "format": "boolean"
  },
  "media_attachments": {
    "label": "Media Attachments",
    "format": "array"
  },
  "mentions": {
    "label": "Mentions",
    "format": "array"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "card": {
    "label": "Card",
    "format": "object"
  },
  "group": {
    "label": "Group",
    "format": "object"
  },
  "quote": {
    "label": "Quote",
    "format": "object"
  },
  "in_reply_to": {
    "label": "Reply To",
    "format": "object"
  },
  "reblog": {
    "label": "Reblog",
    "format": "object"
  },
  "sponsored": {
    "label": "Sponsored",
    "format": "boolean"
  },
  "replies_count": {
    "label": "Replies Count",
    "format": "number"
  },
  "reblogs_count": {
    "label": "Reblogs Count",
    "format": "number"
  },
  "favourites_count": {
    "label": "Favourites Count",
    "format": "number"
  },
  "favourited": {
    "label": "Favorited",
    "format": "boolean"
  },
  "reblogged": {
    "label": "Reblogged",
    "format": "boolean"
  },
  "muted": {
    "label": "Muted",
    "format": "boolean"
  },
  "pinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "bookmarked": {
    "label": "Bookmarked",
    "format": "boolean"
  },
  "poll": {
    "label": "Poll",
    "format": "object"
  },
  "emojis": {
    "label": "Emojis",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Truth Social Scraper Actor is ready to run with the inputs already set for "Download Trump's Truth Social Archive for AI and Research". [Sign up or log in](https://console.apify.com/create-task-from-example/crOhafPHp1mxNODiA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download Trump's Truth Social Archive for AI and Research" task

The Truth Social Scraper Actor will start running based on the input automatically. You can also change all the input fields, like truth social username, maximum number of posts, and more, to match your specific use case.

### 3. Receive the "Download Trump's Truth Social Archive for AI and Research" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as post id, created at, reply to id, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Download Trump's Truth Social Archive for AI and Research" task via API](https://apify.com/muhammetakkurtt/truth-social-scraper.md).

## FAQ

### How do I download all of Trump's Truth Social posts?

Set Max posts to the number you need, such as 1,000, and run this task. To go further back, set Start from ID to the oldest post ID you collected and run it again.

### Can I use this Truth Social archive for AI or LLM projects?

Yes. Export the archive as JSON or CSV with clean text, timestamps and engagement counts, ready for embeddings, RAG pipelines, sentiment or topic analysis.

### How far back does one run go?

It depends on how often the account posts. Trump often posts dozens of times a day, so 1,000 posts can cover a few weeks; chain runs with Start from ID for older posts.

### Does the archive include deleted posts?

No. It collects posts that are live on Truth Social when the run happens. To keep posts that might be deleted later, schedule a run soon after new posts appear.

### Can I archive other Truth Social accounts?

Yes. Change the username to any public account, such as DonaldJTrumpJr, and the task builds an archive of that account's posts in the same format.

## About this Actor

This example demonstrates how to use [Truth Social Scraper](https://apify.com/muhammetakkurtt/truth-social-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/muhammetakkurtt/truth-social-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/muhammetakkurtt/truth-social-scraper.md

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`).
