GroundsocialDocs

API · Truth Social

GET /truthsocial/profiles/{username}/posts

A Truth Social account’s posts, newest first, paginated, with reply and media filters.

RequestGET /v1/truthsocial/profiles/{username}/posts
Operation idtruthsocial.user.posts
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A Truth Social account’s posts, newest first, paginated, with reply and media filters.

Path parameters

NameTypeRequiredDescription
usernamestringyesUsername with or without the @, a numeric account id, or a profile URL. Example: realDonaldTrump.

Query parameters

NameTypeRequiredDescription
exclude_replies"true" | "false"notrue leaves replies out. One of true, false.
only_media"true" | "false"notrue keeps only posts with images or video. One of true, false.
pinned"true" | "false"notrue returns only the pinned posts. One of true, false.
sincestringnoOnly posts on or after: YYYY-MM-DD or ISO 8601.
untilstringnoOnly posts on or before: YYYY-MM-DD (whole day) or ISO 8601.
afterstringnoCursor: the previous page’s next_max_id.

Responses

StatusMeaningSchema
200A page of posts.TruthSocialStatusesPage
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account or post does not exist or was removed.Error
429Too many requests. Wait for Retry-After seconds.Error
503Truth Social is temporarily unavailable. Retryable; nothing was charged.Error

TruthSocialStatusesPage fields

FieldTypeDescription
dataTruthSocialStatus[]
next_max_idstringPass it as after for older posts; absent on the last page.

Errors use one shape everywhere; see Errors for every code and what to do.