One public Truth Social post by URL: text, author, like, comment and ReTruth counts, media and timestamp.
2 credits/ call
Never more than 18 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/truthsocial.post" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://truthsocial.com/@realDonaldTrump/114315219437063160"}'{
"output": {
"found": true,
"data": {
"username": "<string | null>",
"displayName": "<string | null>",
"likes": "<integer | null>",
"verified": "<boolean | null>", …
}
},
"credits": 2
}Input and output
1 field
https://truthsocial.com/@realDonaldTrum….13 fields
Good to know
Unknown URL? It comes back as not found, not as an error.
Terms of use. Returns a public post with personal data (author name, avatar, 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.