Recent posts of a public Truth Social account, newest first, with engagement counts and media, paged by cursor.
2 credits/ call
Never more than 88 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/truthsocial.user_posts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"realDonaldTrump","limit":20}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"posts": [
{
"username": "<string | null>",
"displayName": "<string | null>",
"likes": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 2
}Input and output
3 fields
realDonaldTrump.20.13 fields
Good to know
One page per call. Send nextCursor back as cursor to read the next page.
Unknown handle? It comes back as not found, not as an error.
Terms of use. Returns public posts with personal data (author names, avatars, text). Callers need a lawful basis under GDPR/CCPA and must honour deletion requests.
More from Truth Social. Same key, same credits.
The same key and credits work for every API.