Docs · Post
Post
One post with its text, media, link preview and engagement counts.
https://api.lurkapi.com/v1/truthsocial/postWhen to use this
Use it to read or track a single post: text (HTML and plain), images and videos, link preview, and reply, ReTruth, like and upvote counts. ReTruths carry the original in reblog, quote posts the quoted post in quote.
Pass the post's URL (https://truthsocial.com/@<name>/posts/<id>, /@<name>/<id> or a group post URL) or its numeric id.
Unknown and deleted posts return 404 not_found.
Parameters
All parameters go in the query string.
| Parameter | Description |
|---|---|
urlstringrequired | The post's URL, e.g. https://truthsocial.com/@realDonaldTrump/posts/117351985093810875, or its id.
|
Example request
Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.
curl "https://api.lurkapi.com/v1/truthsocial/post?url=https%3A%2F%2Ftruthsocial.com%2F%40realDonaldTrump%2Fposts%2F117351985093810875" \
-H "x-api-key: YOUR_API_KEY"const params = new URLSearchParams({
url: "https://truthsocial.com/@realDonaldTrump/posts/117351985093810875",
});
const res = await fetch(`https://api.lurkapi.com/v1/truthsocial/post?${params}`, {
headers: { "x-api-key": process.env.LURKAPI_KEY },
});
const data = await res.json();
if (!data.success) throw new Error(`${data.code}: ${data.error}`);
console.log(data.media_attachments);import os
import requests
res = requests.get(
"https://api.lurkapi.com/v1/truthsocial/post",
params={
"url": "https://truthsocial.com/@realDonaldTrump/posts/117351985093810875",
},
headers={"x-api-key": os.environ["LURKAPI_KEY"]},
timeout=60,
)
data = res.json()
if not data["success"]:
raise RuntimeError(f"{data['code']}: {data['error']}")
print(data["media_attachments"])Example response
A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….
Show the example response (2 KB)Hide
{
"success": true,
"credits_remaining": 999983,
"credits_charged": 1,
"id": "117351985093810875",
"created_at": "2026-09-29T02:33:06.613Z",
"url": "https://truthsocial.com/@realDonaldTrump/117351985093810875",
"content": "<p>The Protect College Sport Act just passed in the U.S. Senate by a vot…",
"text": "The Protect College Sport Act just passed in the U.S. Senate by a vote o…",
"title": null,
"language": "en",
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"quote_id": null,
"replies_count": 1050,
"reblogs_count": 4217,
"favourites_count": 18613,
"upvotes_count": 18613,
"downvotes_count": 0,
"edited_at": null,
"media_attachments": [],
"card": null,
"group": null,
"mentions": [],
"tags": [],
"account": {
"id": "107780257626128497",
"username": "realDonaldTrump",
"acct": "realDonaldTrump",
"display_name": "Donald J. Trump",
"url": "https://truthsocial.com/@realDonaldTrump",
"avatar": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/av…",
"verified": true,
"followers_count": 13086928
},
"reblog": null,
"quote": null
}Response fields
Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.
Show all 203 fieldsHide
| Field | Type | Description |
|---|---|---|
| success | true | Always true here; errors have success: false. |
| credits_remaining | number | Your balance after this call. On anonymous playground calls: free tries left today. |
| credits_charged | number | Credits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1). |
| id | string | Post id, e.g. 117351985093810875. |
| created_at | string | Posted at, ISO 8601. |
| url | string | The post on truthsocial.com. |
| content | stringoptional | Post text as HTML. Omitted with trim=true. |
| text | string | Post text, plain. Empty for media-only posts and plain reposts. |
| title | stringnullable | Title, on group posts that have one; else null. |
| language | stringnullable | Language code (e.g. en) when detected; often null. |
| visibility | string | public, or group for posts in a group. |
| sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| spoiler_text | string | Content warning; empty if none. |
| in_reply_to_id | stringnullable | The post this replies to; null if not a reply. |
| in_reply_to_account_id | stringnullable | Author of the post this replies to. |
| quote_id | stringnullable | The quoted post's id; null if not a quote. |
| replies_count | number | Replies. |
| reblogs_count | number | ReTruths (reposts). |
| favourites_count | number | Likes. |
| upvotes_count | numbernullable | Upvotes (Truth Social's likes); null if not reported. |
| downvotes_count | numbernullable | Downvotes; null if not reported. |
| edited_at | stringnullable | Last edit, ISO 8601; null if never edited. |
| media_attachments | object[] | Images and videos, in order. |
| media_attachments[].id | string | Attachment id. |
| media_attachments[].type | string | image, video, gifv, audio or unknown. |
| media_attachments[].url | stringnullable | The file (full-size image or MP4). |
| media_attachments[].preview_url | stringnullable | A smaller image, or the video's thumbnail. |
| media_attachments[].description | stringnullable | Alt text; null if none. |
| media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| media_attachments[].meta.original | objectnullable | Size of the file at url. |
| media_attachments[].meta.original.width | numbernullable | Width in pixels. |
| media_attachments[].meta.original.height | numbernullable | Height in pixels. |
| media_attachments[].meta.original.aspect | numbernullable | Width / height; null when not reported (videos). |
| media_attachments[].meta.original.duration | numbernullable | Length in seconds, for video and audio; else null. |
| media_attachments[].meta.small | objectnullable | Size of the image at preview_url. |
| media_attachments[].meta.small.width | numbernullable | Width in pixels. |
| media_attachments[].meta.small.height | numbernullable | Height in pixels. |
| media_attachments[].meta.small.aspect | numbernullable | Width / height; null when not reported (videos). |
| media_attachments[].meta.small.duration | numbernullable | Length in seconds, for video and audio; else null. |
| card | objectnullable | Link preview for the first link in the post; null if none. |
| card.url | string | The linked page. |
| card.title | stringnullable | Page title. |
| card.description | stringnullable | Page description. |
| card.type | stringnullable | link, video, photo or rich. |
| card.provider_name | stringnullable | Site name, e.g. x.com. |
| card.image | stringnullable | Preview image URL (hosted by Truth Social). |
| group | objectnullable | The group it was posted in; null for ordinary posts. |
| group.id | string | Group id. |
| group.display_name | string | Group name. |
| group.slug | stringnullable | URL name, e.g. republicans. |
| group.url | stringnullable | Group on truthsocial.com. |
| group.members_count | numbernullable | Members. |
| mentions | object[] | Accounts mentioned. |
| mentions[].id | string | Account id. |
| mentions[].username | string | Username without @. |
| mentions[].acct | string | Same as username. |
| mentions[].url | string | Profile on truthsocial.com. |
| tags | object[] | Hashtags used. |
| tags[].name | string | Hashtag without #. |
| tags[].url | string | Hashtag page on truthsocial.com. |
| account | object | The author. |
| account.id | string | Account id. |
| account.username | string | Username without @. |
| account.acct | string | Same as username. |
| account.display_name | string | Display name. |
| account.url | string | Profile on truthsocial.com. |
| account.avatar | stringnullable | Profile picture URL; null if none. |
| account.verified | boolean | Has the verified badge. |
| account.followers_count | number | Followers. |
| reblog | objectnullable | On a ReTruth (repost): the original post. null otherwise. |
| reblog.id | string | Post id, e.g. 117351985093810875. |
| reblog.created_at | string | Posted at, ISO 8601. |
| reblog.url | string | The post on truthsocial.com. |
| reblog.content | stringoptional | Post text as HTML. Omitted with trim=true. |
| reblog.text | string | Post text, plain. Empty for media-only posts and plain reposts. |
| reblog.title | stringnullable | Title, on group posts that have one; else null. |
| reblog.language | stringnullable | Language code (e.g. en) when detected; often null. |
| reblog.visibility | string | public, or group for posts in a group. |
| reblog.sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| reblog.spoiler_text | string | Content warning; empty if none. |
| reblog.in_reply_to_id | stringnullable | The post this replies to; null if not a reply. |
| reblog.in_reply_to_account_id | stringnullable | Author of the post this replies to. |
| reblog.quote_id | stringnullable | The quoted post's id; null if not a quote. |
| reblog.replies_count | number | Replies. |
| reblog.reblogs_count | number | ReTruths (reposts). |
| reblog.favourites_count | number | Likes. |
| reblog.upvotes_count | numbernullable | Upvotes (Truth Social's likes); null if not reported. |
| reblog.downvotes_count | numbernullable | Downvotes; null if not reported. |
| reblog.edited_at | stringnullable | Last edit, ISO 8601; null if never edited. |
| reblog.media_attachments | object[] | Images and videos, in order. |
| reblog.media_attachments[].id | string | Attachment id. |
| reblog.media_attachments[].type | string | image, video, gifv, audio or unknown. |
| reblog.media_attachments[].url | stringnullable | The file (full-size image or MP4). |
| reblog.media_attachments[].preview_url | stringnullable | A smaller image, or the video's thumbnail. |
| reblog.media_attachments[].description | stringnullable | Alt text; null if none. |
| reblog.media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| reblog.media_attachments[].meta.original | objectnullable | Size of the file at url. |
| reblog.media_attachments[].meta.original.width | numbernullable | Width in pixels. |
| reblog.media_attachments[].meta.original.height | numbernullable | Height in pixels. |
| reblog.media_attachments[].meta.original.aspect | numbernullable | Width / height; null when not reported (videos). |
| reblog.media_attachments[].meta.original.duration | numbernullable | Length in seconds, for video and audio; else null. |
| reblog.media_attachments[].meta.small | objectnullable | Size of the image at preview_url. |
| reblog.media_attachments[].meta.small.width | numbernullable | Width in pixels. |
| reblog.media_attachments[].meta.small.height | numbernullable | Height in pixels. |
| reblog.media_attachments[].meta.small.aspect | numbernullable | Width / height; null when not reported (videos). |
| reblog.media_attachments[].meta.small.duration | numbernullable | Length in seconds, for video and audio; else null. |
| reblog.card | objectnullable | Link preview for the first link in the post; null if none. |
| reblog.card.url | string | The linked page. |
| reblog.card.title | stringnullable | Page title. |
| reblog.card.description | stringnullable | Page description. |
| reblog.card.type | stringnullable | link, video, photo or rich. |
| reblog.card.provider_name | stringnullable | Site name, e.g. x.com. |
| reblog.card.image | stringnullable | Preview image URL (hosted by Truth Social). |
| reblog.group | objectnullable | The group it was posted in; null for ordinary posts. |
| reblog.group.id | string | Group id. |
| reblog.group.display_name | string | Group name. |
| reblog.group.slug | stringnullable | URL name, e.g. republicans. |
| reblog.group.url | stringnullable | Group on truthsocial.com. |
| reblog.group.members_count | numbernullable | Members. |
| reblog.mentions | object[] | Accounts mentioned. |
| reblog.mentions[].id | string | Account id. |
| reblog.mentions[].username | string | Username without @. |
| reblog.mentions[].acct | string | Same as username. |
| reblog.mentions[].url | string | Profile on truthsocial.com. |
| reblog.tags | object[] | Hashtags used. |
| reblog.tags[].name | string | Hashtag without #. |
| reblog.tags[].url | string | Hashtag page on truthsocial.com. |
| reblog.account | object | The author. |
| reblog.account.id | string | Account id. |
| reblog.account.username | string | Username without @. |
| reblog.account.acct | string | Same as username. |
| reblog.account.display_name | string | Display name. |
| reblog.account.url | string | Profile on truthsocial.com. |
| reblog.account.avatar | stringnullable | Profile picture URL; null if none. |
| reblog.account.verified | boolean | Has the verified badge. |
| reblog.account.followers_count | number | Followers. |
| quote | objectnullable | On a quote post: the quoted post. null otherwise. |
| quote.id | string | Post id, e.g. 117351985093810875. |
| quote.created_at | string | Posted at, ISO 8601. |
| quote.url | string | The post on truthsocial.com. |
| quote.content | stringoptional | Post text as HTML. Omitted with trim=true. |
| quote.text | string | Post text, plain. Empty for media-only posts and plain reposts. |
| quote.title | stringnullable | Title, on group posts that have one; else null. |
| quote.language | stringnullable | Language code (e.g. en) when detected; often null. |
| quote.visibility | string | public, or group for posts in a group. |
| quote.sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| quote.spoiler_text | string | Content warning; empty if none. |
| quote.in_reply_to_id | stringnullable | The post this replies to; null if not a reply. |
| quote.in_reply_to_account_id | stringnullable | Author of the post this replies to. |
| quote.quote_id | stringnullable | The quoted post's id; null if not a quote. |
| quote.replies_count | number | Replies. |
| quote.reblogs_count | number | ReTruths (reposts). |
| quote.favourites_count | number | Likes. |
| quote.upvotes_count | numbernullable | Upvotes (Truth Social's likes); null if not reported. |
| quote.downvotes_count | numbernullable | Downvotes; null if not reported. |
| quote.edited_at | stringnullable | Last edit, ISO 8601; null if never edited. |
| quote.media_attachments | object[] | Images and videos, in order. |
| quote.media_attachments[].id | string | Attachment id. |
| quote.media_attachments[].type | string | image, video, gifv, audio or unknown. |
| quote.media_attachments[].url | stringnullable | The file (full-size image or MP4). |
| quote.media_attachments[].preview_url | stringnullable | A smaller image, or the video's thumbnail. |
| quote.media_attachments[].description | stringnullable | Alt text; null if none. |
| quote.media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| quote.media_attachments[].meta.original | objectnullable | Size of the file at url. |
| quote.media_attachments[].meta.original.width | numbernullable | Width in pixels. |
| quote.media_attachments[].meta.original.height | numbernullable | Height in pixels. |
| quote.media_attachments[].meta.original.aspect | numbernullable | Width / height; null when not reported (videos). |
| quote.media_attachments[].meta.original.duration | numbernullable | Length in seconds, for video and audio; else null. |
| quote.media_attachments[].meta.small | objectnullable | Size of the image at preview_url. |
| quote.media_attachments[].meta.small.width | numbernullable | Width in pixels. |
| quote.media_attachments[].meta.small.height | numbernullable | Height in pixels. |
| quote.media_attachments[].meta.small.aspect | numbernullable | Width / height; null when not reported (videos). |
| quote.media_attachments[].meta.small.duration | numbernullable | Length in seconds, for video and audio; else null. |
| quote.card | objectnullable | Link preview for the first link in the post; null if none. |
| quote.card.url | string | The linked page. |
| quote.card.title | stringnullable | Page title. |
| quote.card.description | stringnullable | Page description. |
| quote.card.type | stringnullable | link, video, photo or rich. |
| quote.card.provider_name | stringnullable | Site name, e.g. x.com. |
| quote.card.image | stringnullable | Preview image URL (hosted by Truth Social). |
| quote.group | objectnullable | The group it was posted in; null for ordinary posts. |
| quote.group.id | string | Group id. |
| quote.group.display_name | string | Group name. |
| quote.group.slug | stringnullable | URL name, e.g. republicans. |
| quote.group.url | stringnullable | Group on truthsocial.com. |
| quote.group.members_count | numbernullable | Members. |
| quote.mentions | object[] | Accounts mentioned. |
| quote.mentions[].id | string | Account id. |
| quote.mentions[].username | string | Username without @. |
| quote.mentions[].acct | string | Same as username. |
| quote.mentions[].url | string | Profile on truthsocial.com. |
| quote.tags | object[] | Hashtags used. |
| quote.tags[].name | string | Hashtag without #. |
| quote.tags[].url | string | Hashtag page on truthsocial.com. |
| quote.account | object | The author. |
| quote.account.id | string | Account id. |
| quote.account.username | string | Username without @. |
| quote.account.acct | string | Same as username. |
| quote.account.display_name | string | Display name. |
| quote.account.url | string | Profile on truthsocial.com. |
| quote.account.avatar | stringnullable | Profile picture URL; null if none. |
| quote.account.verified | boolean | Has the verified badge. |
| quote.account.followers_count | number | Followers. |
Caching and freshness
Responses are cached for up to 5 minutes, so a repeat call within that window can return the same data. It still costs 1 credit.
Errors
Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.
| Status | Code | Meaning |
|---|---|---|
| 401 | missing_api_key | No API key. Send it in the x-api-key header. |
| 401 | invalid_api_key | The key is unknown or was revoked. |
| 402 | insufficient_credits | Not enough credits for this call. Buy a pack or wait for tomorrow's top-up. |
| 403 | not_public | The platform confirmed this account or content isn't available to logged-out visitors. Use a publicly visible target. Charged when the platform was checked. |
| 404 | not_found | The endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked. |
| 405 | method_not_allowed | Endpoints take GET with query params. |
| 429 | rate_limited | Too many calls at once. Wait for the retry-after seconds, then retry. |
| 500 | internal_error | Something broke on our side. Retry; 5xx errors are free. |
| 502 | upstream_error | The platform didn't give a usable answer. Retry; 5xx errors are free. |
| 503 | upstream_busy | All our connections to the platform are busy. Retry in a few seconds; 5xx errors are free. |
| 504 | upstream_timeout | The platform took over 30 seconds to answer. Retry; timeouts are free. |
Use it in Claude
Once LurkAPI is connected to Claude, this endpoint is the truthsocial_post tool. Ask in plain English, for example:
Use LurkAPI's truthsocial_post with url "https://truthsocial.com/@realDonaldTrump/posts/117351985093810875" and summarize what you find.Claude calls truthsocial_post with arguments like these, and each call costs 1 credit:
{
"url": "https://truthsocial.com/@realDonaldTrump/posts/117351985093810875"
}Tool results skip nulls and empty lists to save tokens.