User Posts
curl --request GET \
--url https://api.example.com/api/v1/scrape/truthsocial/user/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/truthsocial/user/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/truthsocial/user/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/truthsocial/user/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/truthsocial/user/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/truthsocial/user/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/truthsocial/user/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyTruth Social Scraper
User Posts
Fetches a paginated list of posts from a Truth Social user, returning text, id, created_at, url, content, account info, media_attachments, card link previews, replies_count, reblogs_count, and favourites_count. Supports pagination via next_max_id and a trim option for lighter responses. Only prominent public figures (e.g., Trump, Vance) are accessible without authentication.
GET
/
api
/
v1
/
scrape
/
truthsocial
/
user
/
posts
User Posts
curl --request GET \
--url https://api.example.com/api/v1/scrape/truthsocial/user/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/truthsocial/user/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/truthsocial/user/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/truthsocial/user/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/truthsocial/user/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/truthsocial/user/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/truthsocial/user/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | No | Truth Social username |
user_id | string | No | Truth Social user id. Use this for faster response times. Trumps is 107780257626128497. It is the ‘id’ field in the profile endpoint. |
next_max_id | string | No | Used to paginate to next page |
trim | boolean | No | Set to true for a trimmed down version of the response |
Response Example
{
"success": true,
"data": {
"success": true,
"posts": [
{
"id": "114712957163880045",
"text": "",
"created_at": "2025-06-20T00:53:36.183Z",
"language": null,
"url": "https://truthsocial.com/@realDonaldTrump/114712957163880045",
"replies_count": 58,
"reblogs_count": 165,
"favourites_count": 630,
"upvotes_count": 630,
"downvotes_count": 0,
"media_attachments": [
{
"id": "114712956416948688",
"type": "video",
"url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attachments/files/114/712/956/416/948/688/original/3f067916e3c0c704.mp4",
"preview_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attachments/thumbnails/114/712/956/416/948/688/original/6e823189e7100622.jpg",
"external_video_id": "v6surln",
"remote_url": null,
"preview_remote_url": null,
"text_url": null,
"meta": {
"colors": {
"accent": "#e4e1ec",
"background": "#1d1c22",
"foreground": "#e4e1ec"
},
"original": {
"bitrate": 1682510,
"duration": 138.176,
"frame_rate": "25/1",
"height": 720,
"width": 1280
},
"small": {
"aspect": 1.7783333333333333,
"height": 600,
"size": "1067x600",
"width": 1067
}
},
"description": null,
"blurhash": "UE9%rEt9%ObH_4RibIRjtQWBjbjaNFoft7WB",
"processing": "complete"
}
]
}
],
"next_max_id": "114711182786951532"
}
}
Last modified on September 21, 2026

