# Truth Social Scraper & Monitor: Trump Posts, Keyword Alerts (`scrapemint/truth-social-monitor`) Actor

Posts from Donald Trump's and any public Truth Social account: full text, time, likes, reposts, replies, media and links, flagged for your keywords, $cashtags and market topics (tariffs, Fed, China, oil, crypto). Schedule it to get only new posts.

- **URL**: https://apify.com/scrapemint/truth-social-monitor.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (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 $3.00 / 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.

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 & Monitor: Trump Posts, Keyword Alerts

**Every post from Donald Trump's Truth Social account, or any public account, as clean rows, the moment you poll.** Built for people who trade on, report on or research what gets posted:

- **The post:** full text, time, edited time, link to the post
- **Engagement:** likes, reposts (ReTruths) and replies
- **Media and links:** images and videos, and the link card (URL, title, description)
- **Context:** repost of whom, quote of which post, reply or not, hashtags, mentions
- **Flags:** your **keywords**, **$cashtags**, and built-in **market topics**: tariffs, China, Fed and rates, oil and energy, crypto, stocks, sanctions and war, economy

Turn on **Only posts since the last run** and schedule it every few minutes: each run returns just the new posts, ready for a webhook, Slack or a trading alert.

### What you get

`postId`, `account`, `displayName`, `createdAt`, `editedAt`, `text`, `url`, `isRepost`, `repostOf`, `isReply`, `quoteOf`, `replies`, `reposts`, `likes`, `media`, `link`, `hashtags`, `mentions`, `cashtags`, `marketTopics`, `matchedKeywords`, `language`, `scrapedAt`

### Example input

Trump's latest 50 posts:

```json
{
  "accounts": ["realDonaldTrump"],
  "maxPostsPerAccount": 50
}
```

Scheduled alert: only new posts, only when they mention tariffs or named companies:

```json
{
  "accounts": ["realDonaldTrump"],
  "onlyNew": true,
  "keywords": ["tariff", "Tesla", "Intel", "Apple", "Bitcoin"],
  "onlyMatching": true
}
```

### Example output

```json
{
  "postId": "117502572828225324",
  "account": "realDonaldTrump",
  "displayName": "Donald J. Trump",
  "createdAt": "2026-10-25T16:49:33.086Z",
  "text": "FoxNews is spending far too much time putting on the OPPONENTS of Republican Party Candidates, people that love our Country, and have Great Policies and Ideas...",
  "url": "https://truthsocial.com/@realDonaldTrump/117502572828225324",
  "isRepost": false,
  "isReply": false,
  "replies": 1126,
  "reposts": 1642,
  "likes": 5304,
  "media": [],
  "link": null,
  "cashtags": [],
  "marketTopics": [],
  "matchedKeywords": [],
  "language": "en"
}
```

### Uses

- **Trading and prediction markets:** react to market-moving posts on tariffs, the Fed, companies or crypto
- **Newsrooms:** a feed of every post with engagement, for live blogs and fact-checking
- **Research:** a dataset of posts with timestamps and engagement for analysis
- **Pair it with** [Polymarket Market Monitor](https://apify.com/scrapemint/polymarket-market-monitor) or [Kalshi Prediction Market Scraper](https://apify.com/scrapemint/kalshi-prediction-market-scraper) to watch the markets those posts move

### Notes

- `marketTopics` and `matchedKeywords` are word matches on the post text and link title, not sentiment analysis.
- The newest post seen per account is kept in a key-value store named `truth-social-monitor-state` in your own account.
- Engagement counts are as of the moment the post was read.

### Pricing

- **$0.003** per post
- **$0.001** per account checked in a run, so a scheduled poll that finds nothing new costs $0.001
- No start fee.

# Actor input Schema

## `accounts` (type: `array`):

Truth Social usernames or profile URLs, e.g. realDonaldTrump, https://truthsocial.com/@JDVance.

## `maxPostsPerAccount` (type: `integer`):

Newest first.

## `onlyNew` (type: `boolean`):

For schedules (e.g. every 5 minutes): return only posts newer than the newest one the previous run saw. State lives in your named key-value store truth-social-monitor-state.

## `keywords` (type: `array`):

Words or names to look for, e.g. Tesla, tariff, Bitcoin, Intel. Matches go in matchedKeywords.

## `onlyMatching` (type: `boolean`):

Skip posts with no keyword match. Skipped posts are not charged.

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

The account's replies to other posts.

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

Posts the account reposted from others.

## Actor input object example

```json
{
  "accounts": [
    "realDonaldTrump"
  ],
  "maxPostsPerAccount": 20,
  "onlyNew": false,
  "onlyMatching": false,
  "includeReplies": false,
  "includeReposts": true
}
```

# Actor output Schema

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

Account, time, text, likes, reposts, replies, media, link, cashtags, market topics and matched keywords.

## `summary` (type: `string`):

Posts per account and the newest post id seen.

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

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/truth-social-monitor").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 = { "accounts": ["realDonaldTrump"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapemint/truth-social-monitor"
        }
    }
}
```

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/50aeVhj1cgbYqwOSE/builds/vCruxJctssarW8Dgr/openapi.json
