Truth Social

Get a Truth Social user’s posts

Retrieve a page of public timeline posts, newest first, excluding replies unless include_replies is true. Provide handle or user_id and pass next_max_id for the next page. Use trim for compact records. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.

get/v1/truthsocial/user/posts

Request

  • Base URL: https://api.scrapeatlas.com
  • URL: https://api.scrapeatlas.com/v1/truthsocial/user/posts
  • Auth: API key in header x-api-key

Query parameters

handlestring

Public username; mutually exclusive with user_id. Costs one extra upstream read to resolve the account ID.

user_idstring

Account ID string from the profile endpoint; mutually exclusive with handle.

next_max_idstring

Request: cursor from the previous page; returned posts are strictly older than it. Response: ID of the last returned post, or null when the timeline or window has ended.

trim'true' | 'false'

Optional true or false (default false). True returns only id, text, created_at, language, url, replies_count, reblogs_count, favourites_count, upvotes_count, downvotes_count and media_attachments per post.

include_replies'true' | 'false'

Optional true or false (default false). True includes the account's replies.

number
OR
string

Earliest publication time to include, ISO 8601 or Unix seconds.

number
OR
string

Publication time to stop before, ISO 8601 or Unix seconds; later than since.

Response

Inspect the response status and failure or coverage fields.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.