Truth Social profile posts API
  1. Docs
  2. Truth Social
  3. Truth Social profile posts API

Truth Social profile posts API

A paged list of the account's own posts (ReTruths are left out), newest first.

GET /v1/truthsocial/profile/posts

GET /v1/truthsocial/profile/posts

A paged list of the account's own posts (ReTruths are left out), newest first. A numeric id (the profile's id) saves a lookup call.

  • Cost: 1 credit
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
handlestringone ofUsername, with or without the leading @. Also accepted as username.
idstringone ofTruth Social user id (the id from the profile). Also accepted as user_id.

Send at least one of handle, id. If you send several, the first listed is used and the rest are ignored.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

1curl -G "https://api.socialscrape.dev/v1/truthsocial/profile/posts" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3  --data-urlencode "handle=realDonaldTrump"

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 1,4  "credits_remaining": 4999,5  "cached": false,6  "cached_at": null,7  "request_id": "req_5b2ed67ef35fade8df57609f",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "post",13        "platform": "truthsocial",14        "id": "117526608599642271",15        "url": "https://truthsocial.com/@realDonaldTrump/117526608599642271",16        "type": "link",17        "author": {18          "id": "107780257626128497",19          "handle": "realDonaldTrump",20          "name": "Donald J. Trump",21          "url": "https://truthsocial.com/@realDonaldTrump",22          "avatar_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/626/128/497/original/454286ac07a6f6e6.jpeg",23          "verified": true24        },25        "title": null,26        "text": "Congressman Troy Downing is doing a truly fantastic job representing the incredible people of Montana’s 2nd Congressional District!\n\nTroy bravely served our Great Country in the U.S. Air Force as a Combat Veteran and, in Congress, he is fig...",27        "published_at": "2026-10-29T22:42:09.852000Z",28        "duration_seconds": null,29        "language": "en",30        "hashtags": null,31        "mentions": null,32        "stats": {33          "views": null,34          "likes": 2747,35          "comments": 281,36          "shares": 745,37          "saves": null,38          "dislikes": null39        },40        "media": {41          "thumbnail_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/072/390/266/original/da2f8e8e5f86edb6.jpg",42          "video_url": null,43          "audio_url": null,44          "image_urls": null,45          "width": null,46          "height": null47        },48        "song": null,49        "location": null,50        "is_pinned": false,51        "is_sponsored": false,52        "extra": {53          "card": {54            "description": "Election Day in Montana is almost here, and it’s time to make your voice heard. Make a plan to vote!",55            "image": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/072/390/266/original/da2f8e8e5f86edb6.jpg",56            "provider_name": "swampthevoteusa.com",57            "title": "MONTANA: MAKE A PLAN TO VOTE!",58            "url": "https://swampthevoteusa.com/montana/"59          },60          "downvotes": 0,61          "links": [62            "https://swampthevoteusa.com/montana/"63          ],64          "upvotes": 2747,65          "visibility": "public"66        }67      },68      {69        "object": "post",70        "platform": "truthsocial",71        "id": "117526606999074581",72        "url": "https://truthsocial.com/@realDonaldTrump/117526606999074581",73        "type": "link",74        "author": {75          "id": "107780257626128497",76          "handle": "realDonaldTrump",77          "name": "Donald J. Trump",78          "url": "https://truthsocial.com/@realDonaldTrump",79          "avatar_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/626/128/497/original/454286ac07a6f6e6.jpeg",80          "verified": true81        },82        "title": null,83        "text": "Aaron Flint will be a tremendous Congressman for the amazing people of Montana’s 1st Congressional District!\n\nA Fifth Generation Montanan, and distinguished Combat Veteran, Aaron has dedicated his life to serving his Great State and Country...",84        "published_at": "2026-10-29T22:41:45.431000Z",85        "duration_seconds": null,86        "language": "en",87        "hashtags": null,88        "mentions": null,89        "stats": {90          "views": null,91          "likes": 2411,92          "comments": 84,93          "shares": 625,94          "saves": null,95          "dislikes": null96        },97        "media": {98          "thumbnail_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/072/390/266/original/da2f8e8e5f86edb6.jpg",99          "video_url": null,100          "audio_url": null,101          "image_urls": null,102          "width": null,103          "height": null104        },105        "song": null,106        "location": null,107        "is_pinned": false,108        "is_sponsored": false,109        "extra": {110          "card": {111            "description": "Election Day in Montana is almost here, and it’s time to make your voice heard. Make a plan to vote!",112            "image": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/preview_cards/images/072/390/266/original/da2f8e8e5f86edb6.jpg",113            "provider_name": "swampthevoteusa.com",114            "title": "MONTANA: MAKE A PLAN TO VOTE!",115            "url": "https://swampthevoteusa.com/montana/"116          },117          "downvotes": 0,118          "links": [119            "https://swampthevoteusa.com/montana/"120          ],121          "upvotes": 2411,122          "visibility": "public"123        }124      }125    ],126    "cursor": "117525723707964253",127    "has_more": true,128    "parent": null129  },130  "cursor": "117525723707964253",131  "has_more": true132}

Response#

A list of Post objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.

Also served at#

These paths answer the same request, so code written for other APIs keeps working: /v1/truthsocial/user/posts. See Switching from ScrapeCreators.