Truth Social Post
truthsocial.post.get
One Truth Social post by id or post URL: text, media, counts, language, reply target and the author's profile.
At a glance
- Endpoint ID
truthsocial.post.get- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "truthsocial.post.get", "input": { "post": "https://truthsocial.com/@realDonaldTrump/117400465758567373" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "truthsocial.post.get", "input": { "post": "https://truthsocial.com/@realDonaldTrump/117400465758567373" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "truthsocial.post.get", "input": { "post": "https://truthsocial.com/@realDonaldTrump/117400465758567373" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
post |
string | yes | Numeric id, https://truthsocial.com/@user/posts/<id>, or https://truthsocial.com/@user/<id>. | https://truthsocial.com/@realDonaldTrump/117400… |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "post": { "content": "<p>Chris LaCivita and James Blair are outside consultants. They do not work for me, other than as outside consultants. They most likely hav…", "created_at": "2026-10-07T16:02:22.850Z", "downvotes_count": 0, "edited_at": null, "favourites_count": 14167, "id": "117400465758567373", "in_reply_to_account_id": null, "in_reply_to_id": null, "language": "en", "reblogs_count": 3360, "replies_count": 942, "sensitive": false, "spoiler_text": "", "upvotes_count": 14167, "url": "https://truthsocial.com/@realDonaldTrump/117400465758567373", "visibility": "public", "account": { "display_name": "Donald J. Trump", "followers": 13213611, "username": "realDonaldTrump", "acct": "realDonaldTrump", "avatar_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/780/257/626/128/497/original/454286ac07a6f6e6.jpeg", "id": "107780257626128497", "url": "https://truthsocial.com/@realDonaldTrump", "verified": true }, "media": [] }}
Fields
| Field | Type | Example |
|---|---|---|
post |
object | 18 fields |
post.account |
object | 8 fields |
post.account.acct |
string | realDonaldTrump |
post.account.avatar_url |
string | https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/ac… |
post.account.display_name |
string | Donald J. Trump |
post.account.followers |
integer | 13,213,611 |
post.account.id |
string | 107780257626128497 |
post.account.url |
string | https://truthsocial.com/@realDonaldTrump |
post.account.username |
string | realDonaldTrump |
post.account.verified |
boolean | true |
post.content |
string | <p>Chris LaCivita and James Blair are outside consultants. They… |
post.created_at |
string | 2026-10-07T16:02:22.850Z |
post.downvotes_count |
integer | 0 |
post.edited_at |
null | null |
post.favourites_count |
integer | 14,167 |
post.id |
string | 117400465758567373 |
post.in_reply_to_account_id |
null | null |
post.in_reply_to_id |
null | null |
post.language |
string | en |
post.media |
array | empty in this sample |
post.reblogs_count |
integer | 3360 |
post.replies_count |
integer | 942 |
post.sensitive |
boolean | false |
post.spoiler_text |
string | |
post.upvotes_count |
integer | 14,167 |
post.url |
string | https://truthsocial.com/@realDonaldTrump/117400465758567373 |
post.visibility |
string | public |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Truth Social endpoints
Something missing or unclear? Ask the team that builds the Truth Social endpoints.