100 free credits. No credit card required. Get a key

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 failure
import 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

NameTypeDescription
usernamepath · requiredstringUsername 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.

FieldTypeDescription
idstringThe account id, as a decimal string.
usernamestring
acctstring
display_namestring
lockedboolean
botboolean
created_atstringISO 8601.
notestringThe bio, as HTML.
urlstring
avatarstring
headerstring
followers_countinteger
following_countinteger
statuses_countinteger
last_status_atstring | null
verifiedboolean
websitestring | null
Status codes
StatusMeaning
200The account.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account or post does not exist or was removed.
429Too many requests. Wait for Retry-After seconds.
503Truth 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.