Truth Social Scraper
Pricing
from $4.99 / 1,000 results
Truth Social Scraper
Under maintenance📰 Truth Social Scraper collects public profiles, posts, comments & hashtags from Truth Social—complete with timestamps, links & engagement metrics. 📊 Export CSV/JSON for analytics, monitoring & lead gen. ⚡ Perfect for research, newsrooms, brand tracking & sentiment.
Pricing
from $4.99 / 1,000 results
Rating
0.0
(0)
Developer
API Empire
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
Truth Social Scraper (Apify Actor)
Scrapes public Truth Social data via the same Mastodon-compatible API as the standalone truth.py script: account lookup, single statuses, and paginated timelines.
Behavior
- Output: Full status objects (JSON) pushed to the Apify dataset — same shape as Truth Social API responses.
- Runtime: Uses
apify-clientonly for INPUT, dataset rows, and KV state via Actor environment variables (APIFY_TOKEN,ACTOR_DEFAULT_DATASET_ID,ACTOR_DEFAULT_KEY_VALUE_STORE_ID). This avoids the fullapifyPython SDK and its crawlee dependency chain (fewer install conflicts). HTTP uses curl-cffi with Chrome 131 impersonation, same idea astruth.py(Apify’s curl overview); impit is an alternative if you ever swap the HTTP layer. - Proxy: Tries direct first; on block → Apify datacenter (SHADER) → Apify residential with up to 3 residential retries, then locks residential for the rest of the run. Fallback proxy URLs use
APIFY_PROXY_PASSWORDon the Apify platform. - State: Optional incremental mode (
useLastPostId) storeslast_post_id_by_usernamein the default key-value store undertruth_scraper_state.
Input
| Field | Description |
|---|---|
truthSocialUsername | Profile handle to scrape (default example: realDonaldTrump). |
maxPosts | Timeline cap per profile (integer ≥ 5, default 20). |
continueFromLastPostId | Only posts newer than the last saved post ID for that username (KV store). |
onlyFetchReplies | Timeline: replies only (exclude_replies=false). |
onlyFetchPostsWithMedia | Only statuses with media. |
cleanContent | Strip HTML from content (default true). |
startFromPostId | Advanced: 18-digit post ID — older than this (exclusive); not with continueFromLastPostId. |
fetchSinglePostByIdOrUrl | Advanced: list of post URLs/IDs; when set, only those posts are fetched. |
proxyConfiguration | Apify proxy (fallback tiers; direct is tried first). |
Legacy keys still work: urls, singlePostId, useLastPostId, startFromId, onlyReplies, onlyMedia, username.
Use fetchSinglePostByIdOrUrl for single-post mode, or set truthSocialUsername (and optionally urls) for timelines.
Local run
cd Truth-Social-Scraperpip install -r requirements.txtapify run
Configure the actor in the Apify Console (or pass JSON input when running locally with the Apify CLI).
Legal
Collect only from publicly available content. You are responsible for compliance with applicable laws and platform terms.