API · Truth Social
GET /truthsocial/profiles/{username}
A public Truth Social profile: bio, follower, following and post counts.
| Request | GET /v1/truthsocial/profiles/{username} |
| Operation id | truthsocial.profile.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A public Truth Social profile: bio, follower, following and post counts.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes | Username with or without the @, a numeric account id, or a profile URL. Example: realDonaldTrump. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The account. | TruthSocialAccount |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account or post does not exist or was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Truth Social is temporarily unavailable. Retryable; nothing was charged. | Error |
TruthSocialAccount fields
| 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 |
Errors use one shape everywhere; see Errors for every code and what to do.