Social Media Scraping 2 min read

Best Truth Social API for Tracking Trump's Posts

Want to get Trumps but not sure how? Automatically get them with our unofficial Truth Social API

by
Image of Truth Social Feed and Trumps Silhouette

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.

FAQ

Frequently asked
questions

Can't find what you're looking for? Email me.

Adrian Horning

Written by

Adrian Horning

Founder of ScrapeCreators. I write about social data APIs, scraper reliability, and turning public creator data into useful products.

Connect

ScrapeCreatorsScrapeCreators

Social Media Scraping API
for Developers

Real-time data from TikTok, Instagram, YouTube, X, Facebook, Reddit, and more.

Real-time Data

Fresh, accurate, always up-to-date.

No Proxies

We handle the infrastructure.

Developer First

Simple API. Powerful results.

TikTok logoInstagram logoYouTube logoX logoFacebook logoReddit logo
{200 OK
"platform": "youtube",
"type": "video",
"title": "Never Gonna Give You Up",
"views": 12504321,
"transcript": "We're no strangers to love...",
}
Success124ms
Purple gift box representing 100 free ScrapeCreators credits

Get 100 credits on us - instantly.

No credit card required. Start building for free.

Try the API, on us.

New developers get 100 free credits automatically when they sign up. No credit card required.

Get started free
Trusted by 10,000+ developers
99.9% uptime
Secure API access