Social networks
Truth Social API
Retrieve public Truth Social profiles, paginated user timelines and individual posts as unchanged source records with derived plain text.
Three authenticated endpoints return the same source records Truth Social serves, plus a plain-text field, a caller-carried cursor and explicit coverage.
API availability: Available
http://localhost:3027Public API: https://api.scrapeatlas.com.Endpoints
/v1/truthsocial/profileGet a Truth Social profile
Retrieve a public Truth Social account by username. The complete source account record is returned unchanged: ID, names, bio, images, follower/following/post counts, verification and every other published field, in source order.
Reference/v1/truthsocial/user/postsGet a Truth Social user’s posts
Retrieve a page of public timeline posts, newest first, excluding replies. Provide handle or user_id and pass next_max_id for the next page. Use trim for compact records.
Reference/v1/truthsocial/postGet a Truth Social post
Retrieve one public post from its URL. The complete source record is returned unchanged with a derived text field; the post ID and author must match the URL.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/truthsocial/profile?handle=Example_User" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- Independent worker on port 3027, TRUTHSOCIAL_API_KEY in x-api-key. No login, persistent cookies, proxy, storage, media download or product dependencies.
- Two concurrent operations, 25-second total deadline, at most three upstream document reads per operation (handle lookup, timeline or post, and one shared transient retry). Challenges, sign-in requirements and throttling are not retried.
- Headed Patchright Chromium with page JavaScript disabled reads only the requested truthsocial.com JSON document; redirect destinations and subresources are blocked. Linux requires Xvfb; readiness checks the browser binary and display.
- Combined 4 MiB decoded JSON per operation, 100,000 parsed nodes, depth 64 and the source page size of 20 posts. Timelines carry the account's own posts in source order.
- Source records are returned unchanged in source order. Only text (derived) and our envelope fields are added; nothing is renamed, defaulted or removed. Restricted accounts answer restricted_page.
- Every response is fetched live; media is returned as URLs.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Missing, duplicate, ambiguous or unsupported parameters, or an unsupported post URL. |
| 401 | unauthorized | Invalid API key. |
| 403 | restricted_page | The record requires a signed-in Truth Social session. |
| 404 | not_found | Unknown account or post. |
| 429 | upstream_rate_limited | Source throttled retrieval. |
| 502 | upstream_challenged | The source edge blocked the request (status challenged). |
| 502 | unsupported_page | Missing, malformed or mismatched source data, including a username or post identity that differs from the request. |
| 502 | response_too_large payload_too_complex | Source exceeds parsing limits. |
| 502 | unsafe_redirect upstream_error request_limit | Bounded retrieval failed. |
| 503 | busy | All slots occupied. |
| 504 | timeout | Total deadline exceeded. |
| 200 | partial | Malformed timeline entries were omitted (malformed_posts_omitted). |