Docs · User posts
User posts
An account's latest posts and ReTruths, newest first, 20 per page.
https://api.lurkapi.com /v1/truthsocial/user/postsWhen to use this
Use it to monitor an account: every post with text, media, link previews and reply, ReTruth and like counts. Replies are left out; ReTruths are included, with the original post in reblog.
Pass handle or user_id (from profile). user_id skips a lookup, but both cost the same.
Pagination. Pass the response's next_max_id back as next_max_id (with the same account) for older posts. It's null once a page comes back empty.
Unknown accounts return 404 not_found. Accounts hidden from logged-out visitors return 403 not_public. When Truth Social doesn't say whether an account is hidden or missing, you get 404 not_found. Prominent accounts and most other public ones are visible.
Example request
Copy one and replace YOUR_API_KEY with your API key (get one free). The code versions read the key from the LURKAPI_API_KEY environment variable instead.
curl "https://api.lurkapi.com/v1/truthsocial/user/posts?handle=realDonaldTrump" \
-H "x-api-key: YOUR_API_KEY"Paste it into a terminal, with your key in place of YOUR_API_KEY.
const params = new URLSearchParams({
handle: "realDonaldTrump",
});
const res = await fetch(`https://api.lurkapi.com/v1/truthsocial/user/posts?${params}`, {
headers: { "x-api-key": process.env.LURKAPI_API_KEY },
});
const data = await res.json();
if (!data.success) throw new Error(`${data.code}: ${data.error}`);
console.log(data.posts);Node 18+. Save it as lurk.mjs and run node lurk.mjs. It reads your key from LURKAPI_API_KEY.
import os
import requests
res = requests.get(
"https://api.lurkapi.com/v1/truthsocial/user/posts",
params={
"handle": "realDonaldTrump",
},
headers={"x-api-key": os.environ["LURKAPI_API_KEY"]},
timeout=60,
)
data = res.json()
if not data["success"]:
raise RuntimeError(f"{data['code']}: {data['error']}")
print(data["posts"])Run pip install requests, save it as lurk.py and run python lurk.py. It reads your key from LURKAPI_API_KEY.
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
"time"
)
func main() {
params := url.Values{}
params.Set("handle", "realDonaldTrump")
req, _ := http.NewRequest("GET", "https://api.lurkapi.com/v1/truthsocial/user/posts?"+params.Encode(), nil)
req.Header.Set("x-api-key", os.Getenv("LURKAPI_API_KEY"))
client := &http.Client{Timeout: 60 * time.Second}
res, err := client.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var data map[string]any
if err := json.NewDecoder(res.Body).Decode(&data); err != nil {
panic(err)
}
if data["success"] != true {
panic(fmt.Sprintf("%v: %v", data["code"], data["error"]))
}
out, _ := json.MarshalIndent(data["posts"], "", " ")
fmt.Println(string(out))
}Save it as main.go and run go run main.go. It reads your key from LURKAPI_API_KEY.
<?php
$params = http_build_query([
'handle' => 'realDonaldTrump',
]);
$context = stream_context_create(['http' => [
'header' => 'x-api-key: ' . getenv('LURKAPI_API_KEY'),
'timeout' => 60,
'ignore_errors' => true,
]]);
$body = file_get_contents('https://api.lurkapi.com/v1/truthsocial/user/posts?' . $params, false, $context);
$data = json_decode($body, true);
if (!$data['success']) {
throw new Exception("{$data['code']}: {$data['error']}");
}
print_r($data['posts']);Save it as lurk.php and run php lurk.php. It reads your key from LURKAPI_API_KEY.
require 'json'
require 'net/http'
uri = URI('https://api.lurkapi.com/v1/truthsocial/user/posts')
uri.query = URI.encode_www_form(
'handle' => 'realDonaldTrump',
)
req = Net::HTTP::Get.new(uri)
req['x-api-key'] = ENV.fetch('LURKAPI_API_KEY')
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', read_timeout: 60) do |http|
http.request(req)
end
data = JSON.parse(res.body)
raise "#{data['code']}: #{data['error']}" unless data['success']
puts JSON.pretty_generate(data['posts'])Save it as lurk.rb and run ruby lurk.rb. It reads your key from LURKAPI_API_KEY.
Parameters
Add them to the URL after a ?, as in ?handle=realDonaldTrump. Join several with &.
| Parameter | Description |
|---|---|
handlestringoptional | Username (e.g. realDonaldTrump), @username or profile URL. Required unless you pass user_id.
|
user_idstringoptional | Numeric account id from profile, e.g. 107780257626128497. Used instead of handle when both are given. |
next_max_idstringoptional | The next_max_id from the previous response, to get older posts. |
trimbooleanoptional | true omits each post's HTML content (plain text stays) for a smaller response.
|
Example response
A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with ….
Show the example response (4 KB)Hide
{
"success": true,
"credits_remaining": 999988,
"credits_charged": 1,
"posts": [
{
"id": "117357090030899348",
"created_at": "2026-09-30T00:11:21.773Z",
"url": "https://truthsocial.com/@realDonaldTrump/117357090030899348",
"content": "<p></p>",
"text": "",
"title": null,
"language": null,
"visibility": "public",
"sensitive": false,
"spoiler_text": "",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"quote_id": null,
"replies_count": 1313,
"reblogs_count": 2788,
"favourites_count": 9614,
"upvotes_count": 9614,
"downvotes_count": 0,
"edited_at": null,
"media_attachments": [
{
"id": "117357089273579505",
"type": "image",
"url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attac…",
"preview_url": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attac…",
"description": null,
"meta": {
"original": {
"width": 794,
"height": 1294,
"aspect": 0.6136012364760433,
"duration": null
},
"small": {
"width": 626,
"height": 1021,
"aspect": 0.6131243878550441,
"duration": null
}
}
}
],
"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
},
{
"id": "117356339820644146",
"created_at": "2026-09-29T21:00:34.470Z",
"url": "https://truthsocial.com/@realDonaldTrump/117356339820644146",
"content": "<p>Iran Has Lost Control of the Strait: <a href=\"https://x.com/Burggrabe…",
"text": "Iran Has Lost Control of the Strait: https://x.com/BurggrabenH/status/2104361288000221497",
"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": 727,
"reblogs_count": 2628,
"favourites_count": 10171,
"upvotes_count": 10171,
"downvotes_count": 0,
"edited_at": null,
"media_attachments": [],
"card": {
"url": "https://x.com/BurggrabenH/status/2104361288000221497",
"title": "Alexander Stahel 🌻 (@BurggrabenH) on X",
"description": "Iran Has Lost Control of The Strait",
"type": "link",
"provider_name": "x.com",
"image": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/cache/previ…"
},
"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
}
],
"next_max_id": "117356339820644146"
}Response fields
Every field in a successful response, and what it means. A name with [] belongs to each item of a list: posts[].id is the id of every item in posts. null means there's no value.
Show all 272 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). |
| posts | object[] | Posts and ReTruths, newest first. |
| posts[].id | string | Post id, e.g. 117351985093810875. |
| posts[].created_at | string | Posted at, ISO 8601. |
| posts[].url | string | The post on truthsocial.com. |
| posts[].content | stringmay be missing | Post text as HTML, as Truth Social sends it: a quote post's starts with a hidden .quote-inline link to the quoted post, and a ReTruth's reads RT @author (Mastodon clients hide or skip both). Omitted with trim=true. |
| posts[].text | string | Post text, plain, as Truth Social shows it (a quote's link to the quoted post left out). Empty for media-only posts and ReTruths. |
| posts[].title | stringcan be null | Title, on group posts that have one; else null. |
| posts[].language | stringcan be null | Language code (e.g. en) when detected; often null. |
| posts[].visibility | string | public, or group for posts in a group. |
| posts[].sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| posts[].spoiler_text | string | Content warning; empty if none. |
| posts[].in_reply_to_id | stringcan be null | The post this replies to; null if not a reply. |
| posts[].in_reply_to_account_id | stringcan be null | Author of the post this replies to. |
| posts[].quote_id | stringcan be null | The quoted post's id; null if not a quote. |
| posts[].replies_count | number | Replies. |
| posts[].reblogs_count | number | ReTruths (reposts). |
| posts[].favourites_count | number | Likes. |
| posts[].upvotes_count | numbercan be null | Upvotes (Truth Social's likes); null if not reported. |
| posts[].downvotes_count | numbercan be null | Downvotes; null if not reported. |
| posts[].edited_at | stringcan be null | Last edit, ISO 8601; null if never edited. |
| posts[].media_attachments | object[] | Images and videos, in order. |
| posts[].media_attachments[].id | string | Attachment id. |
| posts[].media_attachments[].type | string | image, video, gifv, audio or unknown. |
| posts[].media_attachments[].url | stringcan be null | The file (full-size image or MP4). |
| posts[].media_attachments[].preview_url | stringcan be null | A smaller image, or the video's thumbnail. |
| posts[].media_attachments[].description | stringcan be null | Alt text; null if none. |
| posts[].media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| posts[].media_attachments[].meta.original | objectcan be null | Size of the file at url. |
| posts[].media_attachments[].meta.original.width | numbercan be null | Width in pixels. |
| posts[].media_attachments[].meta.original.height | numbercan be null | Height in pixels. |
| posts[].media_attachments[].meta.original.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].media_attachments[].meta.original.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].media_attachments[].meta.small | objectcan be null | Size of the image at preview_url. |
| posts[].media_attachments[].meta.small.width | numbercan be null | Width in pixels. |
| posts[].media_attachments[].meta.small.height | numbercan be null | Height in pixels. |
| posts[].media_attachments[].meta.small.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].media_attachments[].meta.small.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].card | objectcan be null | Link preview for the first link in the post; null if none. |
| posts[].card.url | string | The linked page. |
| posts[].card.title | stringcan be null | Page title. |
| posts[].card.description | stringcan be null | Page description. |
| posts[].card.type | stringcan be null | link, video, photo or rich. |
| posts[].card.provider_name | stringcan be null | Site name, e.g. x.com. |
| posts[].card.image | stringcan be null | Preview image URL (hosted by Truth Social). |
| posts[].group | objectcan be null | The group it was posted in; null for ordinary posts. |
| posts[].group.id | string | Group id. |
| posts[].group.display_name | string | Group name. |
| posts[].group.slug | stringcan be null | URL name, e.g. republicans. |
| posts[].group.url | stringcan be null | Group on truthsocial.com. |
| posts[].group.members_count | numbercan be null | Members. |
| posts[].mentions | object[] | Accounts mentioned; quote posts also list the quoted post's author. |
| posts[].mentions[].id | string | Account id. |
| posts[].mentions[].username | string | Username without @. |
| posts[].mentions[].acct | string | Same as username. |
| posts[].mentions[].url | string | Profile on truthsocial.com. |
| posts[].tags | object[] | Hashtags used. |
| posts[].tags[].name | string | Hashtag without #. |
| posts[].tags[].url | string | Hashtag page on truthsocial.com. |
| posts[].account | object | The author. |
| posts[].account.id | string | Account id. |
| posts[].account.username | string | Username without @. |
| posts[].account.acct | string | Same as username. |
| posts[].account.display_name | string | Display name. |
| posts[].account.url | string | Profile on truthsocial.com. |
| posts[].account.avatar | stringcan be null | Profile picture URL; null if none. |
| posts[].account.verified | boolean | Has the verified badge. |
| posts[].account.followers_count | number | Followers. |
| posts[].reblog | objectcan be null | On a ReTruth (repost): the original post with its text and counts (the outer post's counts are the ReTruth's own), and the post it quotes in reblog.quote. null otherwise. |
| posts[].reblog.id | string | Post id, e.g. 117351985093810875. |
| posts[].reblog.created_at | string | Posted at, ISO 8601. |
| posts[].reblog.url | string | The post on truthsocial.com. |
| posts[].reblog.content | stringmay be missing | Post text as HTML, as Truth Social sends it: a quote post's starts with a hidden .quote-inline link to the quoted post, and a ReTruth's reads RT @author (Mastodon clients hide or skip both). Omitted with trim=true. |
| posts[].reblog.text | string | Post text, plain, as Truth Social shows it (a quote's link to the quoted post left out). Empty for media-only posts and ReTruths. |
| posts[].reblog.title | stringcan be null | Title, on group posts that have one; else null. |
| posts[].reblog.language | stringcan be null | Language code (e.g. en) when detected; often null. |
| posts[].reblog.visibility | string | public, or group for posts in a group. |
| posts[].reblog.sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| posts[].reblog.spoiler_text | string | Content warning; empty if none. |
| posts[].reblog.in_reply_to_id | stringcan be null | The post this replies to; null if not a reply. |
| posts[].reblog.in_reply_to_account_id | stringcan be null | Author of the post this replies to. |
| posts[].reblog.quote_id | stringcan be null | The quoted post's id; null if not a quote. |
| posts[].reblog.replies_count | number | Replies. |
| posts[].reblog.reblogs_count | number | ReTruths (reposts). |
| posts[].reblog.favourites_count | number | Likes. |
| posts[].reblog.upvotes_count | numbercan be null | Upvotes (Truth Social's likes); null if not reported. |
| posts[].reblog.downvotes_count | numbercan be null | Downvotes; null if not reported. |
| posts[].reblog.edited_at | stringcan be null | Last edit, ISO 8601; null if never edited. |
| posts[].reblog.media_attachments | object[] | Images and videos, in order. |
| posts[].reblog.media_attachments[].id | string | Attachment id. |
| posts[].reblog.media_attachments[].type | string | image, video, gifv, audio or unknown. |
| posts[].reblog.media_attachments[].url | stringcan be null | The file (full-size image or MP4). |
| posts[].reblog.media_attachments[].preview_url | stringcan be null | A smaller image, or the video's thumbnail. |
| posts[].reblog.media_attachments[].description | stringcan be null | Alt text; null if none. |
| posts[].reblog.media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| posts[].reblog.media_attachments[].meta.original | objectcan be null | Size of the file at url. |
| posts[].reblog.media_attachments[].meta.original.width | numbercan be null | Width in pixels. |
| posts[].reblog.media_attachments[].meta.original.height | numbercan be null | Height in pixels. |
| posts[].reblog.media_attachments[].meta.original.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].reblog.media_attachments[].meta.original.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].reblog.media_attachments[].meta.small | objectcan be null | Size of the image at preview_url. |
| posts[].reblog.media_attachments[].meta.small.width | numbercan be null | Width in pixels. |
| posts[].reblog.media_attachments[].meta.small.height | numbercan be null | Height in pixels. |
| posts[].reblog.media_attachments[].meta.small.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].reblog.media_attachments[].meta.small.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].reblog.card | objectcan be null | Link preview for the first link in the post; null if none. |
| posts[].reblog.card.url | string | The linked page. |
| posts[].reblog.card.title | stringcan be null | Page title. |
| posts[].reblog.card.description | stringcan be null | Page description. |
| posts[].reblog.card.type | stringcan be null | link, video, photo or rich. |
| posts[].reblog.card.provider_name | stringcan be null | Site name, e.g. x.com. |
| posts[].reblog.card.image | stringcan be null | Preview image URL (hosted by Truth Social). |
| posts[].reblog.group | objectcan be null | The group it was posted in; null for ordinary posts. |
| posts[].reblog.group.id | string | Group id. |
| posts[].reblog.group.display_name | string | Group name. |
| posts[].reblog.group.slug | stringcan be null | URL name, e.g. republicans. |
| posts[].reblog.group.url | stringcan be null | Group on truthsocial.com. |
| posts[].reblog.group.members_count | numbercan be null | Members. |
| posts[].reblog.mentions | object[] | Accounts mentioned; quote posts also list the quoted post's author. |
| posts[].reblog.mentions[].id | string | Account id. |
| posts[].reblog.mentions[].username | string | Username without @. |
| posts[].reblog.mentions[].acct | string | Same as username. |
| posts[].reblog.mentions[].url | string | Profile on truthsocial.com. |
| posts[].reblog.tags | object[] | Hashtags used. |
| posts[].reblog.tags[].name | string | Hashtag without #. |
| posts[].reblog.tags[].url | string | Hashtag page on truthsocial.com. |
| posts[].reblog.account | object | The author. |
| posts[].reblog.account.id | string | Account id. |
| posts[].reblog.account.username | string | Username without @. |
| posts[].reblog.account.acct | string | Same as username. |
| posts[].reblog.account.display_name | string | Display name. |
| posts[].reblog.account.url | string | Profile on truthsocial.com. |
| posts[].reblog.account.avatar | stringcan be null | Profile picture URL; null if none. |
| posts[].reblog.account.verified | boolean | Has the verified badge. |
| posts[].reblog.account.followers_count | number | Followers. |
| posts[].reblog.quote | objectcan be null | On a quote post: the quoted post. null otherwise. |
| posts[].reblog.quote.id | string | Post id, e.g. 117351985093810875. |
| posts[].reblog.quote.created_at | string | Posted at, ISO 8601. |
| posts[].reblog.quote.url | string | The post on truthsocial.com. |
| posts[].reblog.quote.content | stringmay be missing | Post text as HTML, as Truth Social sends it: a quote post's starts with a hidden .quote-inline link to the quoted post, and a ReTruth's reads RT @author (Mastodon clients hide or skip both). Omitted with trim=true. |
| posts[].reblog.quote.text | string | Post text, plain, as Truth Social shows it (a quote's link to the quoted post left out). Empty for media-only posts and ReTruths. |
| posts[].reblog.quote.title | stringcan be null | Title, on group posts that have one; else null. |
| posts[].reblog.quote.language | stringcan be null | Language code (e.g. en) when detected; often null. |
| posts[].reblog.quote.visibility | string | public, or group for posts in a group. |
| posts[].reblog.quote.sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| posts[].reblog.quote.spoiler_text | string | Content warning; empty if none. |
| posts[].reblog.quote.in_reply_to_id | stringcan be null | The post this replies to; null if not a reply. |
| posts[].reblog.quote.in_reply_to_account_id | stringcan be null | Author of the post this replies to. |
| posts[].reblog.quote.quote_id | stringcan be null | The quoted post's id; null if not a quote. |
| posts[].reblog.quote.replies_count | number | Replies. |
| posts[].reblog.quote.reblogs_count | number | ReTruths (reposts). |
| posts[].reblog.quote.favourites_count | number | Likes. |
| posts[].reblog.quote.upvotes_count | numbercan be null | Upvotes (Truth Social's likes); null if not reported. |
| posts[].reblog.quote.downvotes_count | numbercan be null | Downvotes; null if not reported. |
| posts[].reblog.quote.edited_at | stringcan be null | Last edit, ISO 8601; null if never edited. |
| posts[].reblog.quote.media_attachments | object[] | Images and videos, in order. |
| posts[].reblog.quote.media_attachments[].id | string | Attachment id. |
| posts[].reblog.quote.media_attachments[].type | string | image, video, gifv, audio or unknown. |
| posts[].reblog.quote.media_attachments[].url | stringcan be null | The file (full-size image or MP4). |
| posts[].reblog.quote.media_attachments[].preview_url | stringcan be null | A smaller image, or the video's thumbnail. |
| posts[].reblog.quote.media_attachments[].description | stringcan be null | Alt text; null if none. |
| posts[].reblog.quote.media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| posts[].reblog.quote.media_attachments[].meta.original | objectcan be null | Size of the file at url. |
| posts[].reblog.quote.media_attachments[].meta.original.width | numbercan be null | Width in pixels. |
| posts[].reblog.quote.media_attachments[].meta.original.height | numbercan be null | Height in pixels. |
| posts[].reblog.quote.media_attachments[].meta.original.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].reblog.quote.media_attachments[].meta.original.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].reblog.quote.media_attachments[].meta.small | objectcan be null | Size of the image at preview_url. |
| posts[].reblog.quote.media_attachments[].meta.small.width | numbercan be null | Width in pixels. |
| posts[].reblog.quote.media_attachments[].meta.small.height | numbercan be null | Height in pixels. |
| posts[].reblog.quote.media_attachments[].meta.small.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].reblog.quote.media_attachments[].meta.small.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].reblog.quote.card | objectcan be null | Link preview for the first link in the post; null if none. |
| posts[].reblog.quote.card.url | string | The linked page. |
| posts[].reblog.quote.card.title | stringcan be null | Page title. |
| posts[].reblog.quote.card.description | stringcan be null | Page description. |
| posts[].reblog.quote.card.type | stringcan be null | link, video, photo or rich. |
| posts[].reblog.quote.card.provider_name | stringcan be null | Site name, e.g. x.com. |
| posts[].reblog.quote.card.image | stringcan be null | Preview image URL (hosted by Truth Social). |
| posts[].reblog.quote.group | objectcan be null | The group it was posted in; null for ordinary posts. |
| posts[].reblog.quote.group.id | string | Group id. |
| posts[].reblog.quote.group.display_name | string | Group name. |
| posts[].reblog.quote.group.slug | stringcan be null | URL name, e.g. republicans. |
| posts[].reblog.quote.group.url | stringcan be null | Group on truthsocial.com. |
| posts[].reblog.quote.group.members_count | numbercan be null | Members. |
| posts[].reblog.quote.mentions | object[] | Accounts mentioned; quote posts also list the quoted post's author. |
| posts[].reblog.quote.mentions[].id | string | Account id. |
| posts[].reblog.quote.mentions[].username | string | Username without @. |
| posts[].reblog.quote.mentions[].acct | string | Same as username. |
| posts[].reblog.quote.mentions[].url | string | Profile on truthsocial.com. |
| posts[].reblog.quote.tags | object[] | Hashtags used. |
| posts[].reblog.quote.tags[].name | string | Hashtag without #. |
| posts[].reblog.quote.tags[].url | string | Hashtag page on truthsocial.com. |
| posts[].reblog.quote.account | object | The author. |
| posts[].reblog.quote.account.id | string | Account id. |
| posts[].reblog.quote.account.username | string | Username without @. |
| posts[].reblog.quote.account.acct | string | Same as username. |
| posts[].reblog.quote.account.display_name | string | Display name. |
| posts[].reblog.quote.account.url | string | Profile on truthsocial.com. |
| posts[].reblog.quote.account.avatar | stringcan be null | Profile picture URL; null if none. |
| posts[].reblog.quote.account.verified | boolean | Has the verified badge. |
| posts[].reblog.quote.account.followers_count | number | Followers. |
| posts[].quote | objectcan be null | On a quote post: the quoted post. null otherwise. |
| posts[].quote.id | string | Post id, e.g. 117351985093810875. |
| posts[].quote.created_at | string | Posted at, ISO 8601. |
| posts[].quote.url | string | The post on truthsocial.com. |
| posts[].quote.content | stringmay be missing | Post text as HTML, as Truth Social sends it: a quote post's starts with a hidden .quote-inline link to the quoted post, and a ReTruth's reads RT @author (Mastodon clients hide or skip both). Omitted with trim=true. |
| posts[].quote.text | string | Post text, plain, as Truth Social shows it (a quote's link to the quoted post left out). Empty for media-only posts and ReTruths. |
| posts[].quote.title | stringcan be null | Title, on group posts that have one; else null. |
| posts[].quote.language | stringcan be null | Language code (e.g. en) when detected; often null. |
| posts[].quote.visibility | string | public, or group for posts in a group. |
| posts[].quote.sensitive | boolean | Marked sensitive (media hidden behind a warning). |
| posts[].quote.spoiler_text | string | Content warning; empty if none. |
| posts[].quote.in_reply_to_id | stringcan be null | The post this replies to; null if not a reply. |
| posts[].quote.in_reply_to_account_id | stringcan be null | Author of the post this replies to. |
| posts[].quote.quote_id | stringcan be null | The quoted post's id; null if not a quote. |
| posts[].quote.replies_count | number | Replies. |
| posts[].quote.reblogs_count | number | ReTruths (reposts). |
| posts[].quote.favourites_count | number | Likes. |
| posts[].quote.upvotes_count | numbercan be null | Upvotes (Truth Social's likes); null if not reported. |
| posts[].quote.downvotes_count | numbercan be null | Downvotes; null if not reported. |
| posts[].quote.edited_at | stringcan be null | Last edit, ISO 8601; null if never edited. |
| posts[].quote.media_attachments | object[] | Images and videos, in order. |
| posts[].quote.media_attachments[].id | string | Attachment id. |
| posts[].quote.media_attachments[].type | string | image, video, gifv, audio or unknown. |
| posts[].quote.media_attachments[].url | stringcan be null | The file (full-size image or MP4). |
| posts[].quote.media_attachments[].preview_url | stringcan be null | A smaller image, or the video's thumbnail. |
| posts[].quote.media_attachments[].description | stringcan be null | Alt text; null if none. |
| posts[].quote.media_attachments[].meta | object | Sizes, as Mastodon reports them. |
| posts[].quote.media_attachments[].meta.original | objectcan be null | Size of the file at url. |
| posts[].quote.media_attachments[].meta.original.width | numbercan be null | Width in pixels. |
| posts[].quote.media_attachments[].meta.original.height | numbercan be null | Height in pixels. |
| posts[].quote.media_attachments[].meta.original.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].quote.media_attachments[].meta.original.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].quote.media_attachments[].meta.small | objectcan be null | Size of the image at preview_url. |
| posts[].quote.media_attachments[].meta.small.width | numbercan be null | Width in pixels. |
| posts[].quote.media_attachments[].meta.small.height | numbercan be null | Height in pixels. |
| posts[].quote.media_attachments[].meta.small.aspect | numbercan be null | Width / height; null when not reported (videos). |
| posts[].quote.media_attachments[].meta.small.duration | numbercan be null | Length in seconds, for video and audio; else null. |
| posts[].quote.card | objectcan be null | Link preview for the first link in the post; null if none. |
| posts[].quote.card.url | string | The linked page. |
| posts[].quote.card.title | stringcan be null | Page title. |
| posts[].quote.card.description | stringcan be null | Page description. |
| posts[].quote.card.type | stringcan be null | link, video, photo or rich. |
| posts[].quote.card.provider_name | stringcan be null | Site name, e.g. x.com. |
| posts[].quote.card.image | stringcan be null | Preview image URL (hosted by Truth Social). |
| posts[].quote.group | objectcan be null | The group it was posted in; null for ordinary posts. |
| posts[].quote.group.id | string | Group id. |
| posts[].quote.group.display_name | string | Group name. |
| posts[].quote.group.slug | stringcan be null | URL name, e.g. republicans. |
| posts[].quote.group.url | stringcan be null | Group on truthsocial.com. |
| posts[].quote.group.members_count | numbercan be null | Members. |
| posts[].quote.mentions | object[] | Accounts mentioned; quote posts also list the quoted post's author. |
| posts[].quote.mentions[].id | string | Account id. |
| posts[].quote.mentions[].username | string | Username without @. |
| posts[].quote.mentions[].acct | string | Same as username. |
| posts[].quote.mentions[].url | string | Profile on truthsocial.com. |
| posts[].quote.tags | object[] | Hashtags used. |
| posts[].quote.tags[].name | string | Hashtag without #. |
| posts[].quote.tags[].url | string | Hashtag page on truthsocial.com. |
| posts[].quote.account | object | The author. |
| posts[].quote.account.id | string | Account id. |
| posts[].quote.account.username | string | Username without @. |
| posts[].quote.account.acct | string | Same as username. |
| posts[].quote.account.display_name | string | Display name. |
| posts[].quote.account.url | string | Profile on truthsocial.com. |
| posts[].quote.account.avatar | stringcan be null | Profile picture URL; null if none. |
| posts[].quote.account.verified | boolean | Has the verified badge. |
| posts[].quote.account.followers_count | number | Followers. |
| next_max_id | stringcan be null | Pass as next_max_id for older posts. null when this page is empty. |
Cost and freshness
Each call costs 1 credit. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are 5xx errors. A not_found is charged, since the platform was checked. How charging works.
Answers are cached for up to 2 minutes. A repeat call within that time can return the same data, and costs the same.
Errors
A failed call returns success: false, an error message, a code your program can check, and a docs link. These are the errors this endpoint can return. All error codes.
| Status | Code | Meaning |
|---|---|---|
| 401 | missing_api_key | No API key was sent. Put it in the x-api-key header. |
| 401 | invalid_api_key | This key doesn't exist or was revoked. |
| 402 | insufficient_credits | Not enough credits for this call. Buy a pack, or wait for tomorrow's free top-up. |
| 402 | over_max_credits | This call would cost more than the max_credits you set. The error says what it needs; raise max_credits to allow it. Not charged. |
| 403 | account_suspended | This account is suspended. Email support@lurkapi.com. Not charged. |
| 403 | not_public | The platform shows this account or post only to people who are logged in. Try a public one. Charged, since the platform was checked. |
| 404 | not_found | What you asked for (a post, an ad, a subreddit) doesn't exist, or there's no endpoint at that path. Charged if the platform was checked. |
| 405 | method_not_allowed | Endpoints only take GET, with parameters in the URL. |
| 429 | rate_limited | Too many calls in a short time. Wait as many seconds as the retry-after header says, then retry. |
| 500 | internal_error | Something broke on our side. Retry. Not charged. |
| 502 | upstream_error | The platform didn't send a usable answer. Retry. Not charged. |
| 503 | upstream_busy | All our connections to the platform are busy. Retry in a few seconds. Not charged. |
| 504 | upstream_timeout | The platform took over 30 seconds to answer (90 for web pages). Retry. Not charged. |
Use it in Claude
Connect LurkAPI to Claude and ask in plain English. This endpoint is the truthsocial_user_posts tool. For example:
Use LurkAPI's truthsocial_user_posts tool with handle "realDonaldTrump", then summarize what you find.Claude calls truthsocial_user_posts with arguments like these, and each call costs 1 credit:
{"handle": "realDonaldTrump"}To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts. Its _note gives the offset for the next part, and later parts are free for 15 minutes. Pass trim=false for the full response.
From the blog
All posts
· 5 min read
Best Reddit scrapers in 2026: price and speed compared
LurkAPI is the best Reddit scraper: 1,000 subreddit posts for $0.04, a feed in 0.92 s, and search and comment threads on the same key.

· 5 min read
Instagram MCP server for Claude and ChatGPT
Claude can’t read Instagram on its own. Add one MCP URL and it reads any public account’s posts, reels and comments, 1 credit a call, no Meta app.

· 5 min read
Best Threads scrapers in 2026: what 1,000 posts cost
LurkAPI is the best Threads scraper: 1,000 posts for $0.06, a page in about 1.2 s, and pages back to an account's first post.