# Truth Social on Onekey > 9 endpoints for Truth Social (0 stable, 9 beta), 2 to 5 credits each. Category: Social networks. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 9 of 9 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/truthsocial Reference (Markdown): https://onekey.dev/docs/api/truthsocial.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 9 mapped Truth Social endpoints return each: - `author.displayName` (string): 8 - `author.id` (string): 8 - `author.username` (string): 8 - `content.createdAt` (ISO 8601 date): 8 - `content.text` (string): 8 - `content.id` (string): 5 - `content.url` (URL): 5 - `engagement.comments` (integer): 5 - `engagement.likes` (integer): 5 - `engagement.shares` (integer): 5 - `author.avatarUrl` (URL): 3 - `author.contentCount` (integer): 3 - `author.followers` (integer): 3 - `author.following` (integer): 3 - `author.url` (URL): 3 - `author.verified` (boolean): 3 - `entity.name` (string): 1 - `entity.url` (URL): 1 - plus 2 platform-specific fields under `ext.` ## Endpoints ### truthsocial.followers Followers of a Truth Social account (numeric id). - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/followers?id=107780257626128497` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Truth Social numeric account id - Fields returned: `author.id`, `author.username`, `author.displayName`, `content.text`, `author.followers`, `author.following`, `author.contentCount`, `author.avatarUrl`, `author.url`, `author.verified`, `content.createdAt` - Reference: https://onekey.dev/docs/api/truthsocial/followers.md ### truthsocial.post A single Truth Social post with engagement counts. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/truthsocial/post?id=114000000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Truth Social post id - Fields returned: `content.id`, `content.text`, `content.url`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/truthsocial/post.md ### truthsocial.post_replies Replies to a Truth Social post. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/post_replies?id=114000000000000000` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Truth Social post id - Fields returned: `content.id`, `content.text`, `content.url`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/truthsocial/post_replies.md ### truthsocial.profile Truth Social profile: display name, bio, followers, following, post count. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/truthsocial/profile?handle=realDonaldTrump` with header `x-api-key: YOUR_API_KEY` - Parameters: - `handle` (string, required): Truth Social username without @ - Fields returned: `author.id`, `author.username`, `author.displayName`, `content.text`, `author.followers`, `author.following`, `author.contentCount`, `author.avatarUrl`, `author.url`, `author.verified`, `content.createdAt` - Reference: https://onekey.dev/docs/api/truthsocial/profile.md ### truthsocial.search_posts Search Truth Social posts by keyword. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/search_posts?q=economy` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `content.id`, `content.text`, `content.url`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/truthsocial/search_posts.md ### truthsocial.search_users Search Truth Social accounts by keyword. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/search_users?q=trump` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `author.id`, `author.username`, `author.displayName`, `content.text`, `author.followers`, `author.following`, `author.contentCount`, `author.avatarUrl`, `author.url`, `author.verified`, `content.createdAt` - Reference: https://onekey.dev/docs/api/truthsocial/search_users.md ### truthsocial.trending_posts Trending posts (truths) on Truth Social. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/trending_posts` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.text`, `content.url`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/truthsocial/trending_posts.md ### truthsocial.trending_tags Trending hashtags on Truth Social. - Price: 5 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/trending_tags` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.name`, `entity.url`, `ext.uses`, `ext.accounts` - Reference: https://onekey.dev/docs/api/truthsocial/trending_tags.md ### truthsocial.user_posts Recent posts (truths) of a Truth Social account (numeric id from profile). - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/truthsocial/user_posts?id=107780257626128497` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Truth Social numeric account id - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.text`, `content.url`, `content.createdAt`, `author.id`, `author.username`, `author.displayName`, `engagement.likes`, `engagement.comments`, `engagement.shares` - Reference: https://onekey.dev/docs/api/truthsocial/user_posts.md ## Sample request ```bash curl "https://api.onekey.dev/v1/truthsocial/profile?handle=realDonaldTrump" \ -H "x-api-key: YOUR_API_KEY" ```