Social Media Scraping

The Best Truth Social API for Tracking Trump’s Posts

@adrian_horning_
2 mins read
Image of Truth Social Feed and Trumps Silhouette

Table of Contents

What Is the Truth Social API?

If you’re trying to monitor Trump’s posts on Truth Social or build anything programmatic with the platform, you’ve probably noticed something frustrating: there’s no official Truth Social API.

That’s where Scrape Creators comes in. We built an unofficial Truth Social API that gives you real-time access to posts, perfect for alerts, automations, dashboards, or just staying ahead of the news cycle.

Why No Official Truth Social API Exists

Truth Social was never designed with developers in mind. There's no public documentation, no API, and no developer portal. As of now, there’s no official way to pull posts, user timelines, or search content via an API.

This is why we built something fast, lightweight, and reliable.

How the Scrape Creators Unoffical API Works

Our API hits Truth Social directly and delivers clean JSON data in a REST format. We handle all the heavy lifting behind the scenes, rotating proxies, bypassing detection, and making sure the data stays fresh and accurate.

You just hit the endpoint, and boom the latest posts are yours.

Use Case: Monitor Trump Posts

Want to get notified the second Trump posts something?

After you sign up for an API key, here's how you would do that:

 async function scrapeTrumpsFeed() {
  try {
    const response = await axios.get(
      `https://api.scrapecreators.com/v1/truthsocial/user/posts?user_id=107780257626128497`,
      {
        headers: {
          "x-api-key": process.env.SCRAPE_CREATORS_API_KEY,
        },
      }
    );
    return response.data;
  } catch (error) {
    console.error("error at scrapeTrumpsFeed", error.message);
  }
}

// Simple script to check for new Trump posts and notify yourself
(async () => {
  while (true) {
    // Get Trump's latest posts from Truth Social
    const trumpsFeed = await scrapeTrumpsFeed();
    const posts = trumpsFeed?.posts || [];

    if (posts.length > 0) {
      const latestPost = posts[0]; // Most recent post

      // Check if this is a new post (in real app, you'd compare with database)
      // const lastKnownPostId = await getLastKnownPostIdFromDatabase();
      // if (latestPost.id !== lastKnownPostId) {

      console.log("🚨 NEW TRUMP POST DETECTED! 🚨");
      console.log(`Post ID: ${latestPost.id}`);
      console.log(`Content: ${latestPost.text}`);
      console.log(`Posted: ${latestPost.created_at}`);

      // In real app, you'd save to database here
      // await savePostToDatabase(latestPost);

      // Send notification (in real app, you'd use email/SMS/webhook)
      // await sendEmailNotification("New Trump post!", latestPost.text);
      // await sendSMSNotification("Trump just posted: " + latestPost.text.substring(0, 100));

      console.log("✅ Notification would be sent here!");
      // }
    } else {
      console.log("No new posts found");
    }
  }
})();

API Features

REST Endpoint

Simple, fast GET requests with optional filters by username or date.

Webhook Support (Coming Soon)

Soon you’ll be able to register a URL and get new posts pushed to you in real time, no polling required.

Clean JSON Response

No HTML parsing, no fluff, just structured, developer-friendly data.

Pay-As-You-Go

Only pay for what you use. No monthly minimums, no surprise charges.

No Rate Limits

We don’t throttle. Use it as fast as your infrastructure allows.

Frequently Asked Questions

Not from Truth Social itself. But Scrape Creators has a public Truth Social API you can read from. You cannot write to the API though.
Using the Scrape Creators Truth Social API
They do not, but Scrape Creators is adding one shortly
Between 600 ms and 3 seconds

Try the ScrapeCreators API

Get 100 free API requests

No credit card required. Instant access.

Start building with real-time social media data in minutes. Join thousands of developers and businesses using ScrapeCreators.