Truth Social user posts API
An account’s posts (Truths) and ReTruths, newest first, 20 a page, with filters to leave out replies, keep only media, or get the pinned posts, and a since/until window.
GET /v1/truthsocial/profiles/{username}/posts1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/truthsocial/profiles/realDonaldTrump/posts",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "data": [ { "id": "117672947522305995", "created_at": "2026-11-24T18:58:04.604Z", "in_reply_to_id": null, "in_reply_to_account_id": null, "quote_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "uri": "https://truthsocial.com/@realDonaldTrump/117672947522305995", "url": "https://truthsocial.com/@realDonaldTrump/117672947522305995", "content": "<p>Judge Ana C. Reyes, who was appointed by Crooked Joe Biden, and is handling the East Po…", "account": { "id": "107780257626128497", "username": "realDonaldTrump", "acct": "realDonaldTrump", "display_name": "Donald J. Trump", "locked": false, "bot": false, "created_at": "2022-02-11T16:16:57.705Z", "note": "<p></p>", "url": "https://truthsocial.com/@realDonaldTrump", "avatar": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/…", "header": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/780/257/…", "followers_count": 13206517, "following_count": 67, "statuses_count": 38552, "…": "18 more fields" }, "media_attachments": [], "…": "28 more fields" }, { "id": "117672641177788145", "created_at": "2026-11-24T17:40:10.159Z", "in_reply_to_id": null, "in_reply_to_account_id": null, "quote_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "uri": "https://truthsocial.com/@realDonaldTrump/117672641177788145", "url": "https://truthsocial.com/@realDonaldTrump/117672641177788145", "content": "<p>I am pleased to nominate Jim O’Neill to serve as Judge on the United States District Co…", "account": { "id": "107780257626128497", "username": "realDonaldTrump", "acct": "realDonaldTrump", "display_name": "Donald J. Trump", "locked": false, "bot": false, "created_at": "2022-02-11T16:16:57.705Z", "note": "<p></p>", "url": "https://truthsocial.com/@realDonaldTrump", "avatar": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/…", "header": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/780/257/…", "followers_count": 13206517, "following_count": 67, "statuses_count": 38552, "…": "18 more fields" }, "media_attachments": [], "…": "28 more fields" }, "… 3 more" ], "next_max_id": "117667276373895254"}Parameters
| Name | Type | Description |
|---|---|---|
usernamepath · required | string | Username with or without the @, a numeric account id, or a profile URL. Example: realDonaldTrump. |
exclude_repliesquery | "true" | "false" | true leaves replies out. One of true, false. |
only_mediaquery | "true" | "false" | true keeps only posts with images or video. One of true, false. |
pinnedquery | "true" | "false" | true returns only the pinned posts. One of true, false. |
sincequery | string | Only posts on or after: YYYY-MM-DD or ISO 8601. |
untilquery | string | Only posts on or before: YYYY-MM-DD (whole day) or ISO 8601. |
afterquery | string | Cursor: the previous page’s next_max_id. |
Response fields
200 with a TruthSocialStatusesPage, in Truth Social’s own Mastodon-style Account and Status JSON.
| Field | Type | Description |
|---|---|---|
data | TruthSocialStatus[] | |
next_max_id | string | Pass it as after for older posts; absent on the last page. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of posts. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The account or post does not exist or was removed. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Truth Social is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How do I get the next page?
Pass next_max_id from the response as after.
Can I search Truth Social?
No. Truth Social shows search, trends and replies only to logged-in users, so they are not offered.
Truth Social is a trademark of Trump Media & Technology Group. We are not affiliated with or endorsed by Trump Media & Technology Group.