Truth Social profile API
A public Truth Social account by username: display name, bio, avatar, header, follower, following and post counts, join date, verification and website, as Truth Social’s own Mastodon-style Account.
GET /v1/truthsocial/profiles/{username}1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/truthsocial/profiles/realDonaldTrump",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "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/626/128/497/original/454286ac0…", "header": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/780/257/626/128/497/original/ba3b910ba…", "followers_count": 13206517, "following_count": 67, "statuses_count": 38552, "last_status_at": "2026-11-24", "verified": true, "website": "www.DonaldJTrump.com", "discoverable": false, "group": false, "avatar_static": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/626/128/497/original/454286ac0…", "header_static": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/780/257/626/128/497/original/ba3b910ba…", "location": "", "accepting_messages": false, "chats_onboarded": true, "…": "12 more fields"}Parameters
| Name | Type | Description |
|---|---|---|
usernamepath · required | string | Username with or without the @, a numeric account id, or a profile URL. Example: realDonaldTrump. |
Response fields
200 with a TruthSocialAccount, in Truth Social’s own Mastodon-style Account and Status JSON.
| Field | Type | Description |
|---|---|---|
id | string | The account id, as a decimal string. |
username | string | |
acct | string | |
display_name | string | |
locked | boolean | |
bot | boolean | |
created_at | string | ISO 8601. |
note | string | The bio, as HTML. |
url | string | |
avatar | string | |
header | string | |
followers_count | integer | |
following_count | integer | |
statuses_count | integer | |
last_status_at | string | null | |
verified | boolean | |
website | string | null |
Status codes
| Status | Meaning |
|---|---|
200 | The account. |
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
Truth Social is a trademark of Trump Media & Technology Group. We are not affiliated with or endorsed by Trump Media & Technology Group.