TruthSocial Profile Info
Structured Truth Social data: send handles. Single lookup, 1 credit per successful call.
GET · POST1 credit / successful callSingle lookup
Overview
Section titled “Overview”Call GET /api/v2/truthsocial-profile-info/ with handles. The results are in data.profile. 6 optional parameters refine the call (see Parameters).
Request
Section titled “Request”curl -G "https://api.scrapier.io/api/v2/truthsocial-profile-info/" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "handles=realDonaldTrump" \ --max-time 210const params = new URLSearchParams({ handles: "realDonaldTrump" });
const res = await fetch(`https://api.scrapier.io/api/v2/truthsocial-profile-info/?${params}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000),});const body = await res.json();if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
console.log(body.data.profile);import requests
resp = requests.get( "https://api.scrapier.io/api/v2/truthsocial-profile-info/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"handles": "realDonaldTrump"}, timeout=210,)body = resp.json()if not resp.ok: raise RuntimeError(body.get("error") or body.get("detail"))
print(body["data"]["profile"])curl -X POST "https://api.scrapier.io/api/v2/truthsocial-profile-info/" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"handles":"realDonaldTrump"}' \ --max-time 210Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
X-API-Key header | string | yes | — | Your API key from the dashboard. |
handles | string | yes | e.g. realDonaldTrump | The Truth Social account: "realDonaldTrump", "@realDonaldTrump", a profile URL (https://truthsocial.com/@realDonaldTrump, a /<status id> tail or the /users/<name> form is fine) or [email protected]; case does not matter -> ONE profile record: the public Account entity verbatim (id, username, display_name, note / bio, avatar / header, followers_count, following_count, statuses_count, created_at, verified, premium, website ...), likes_count (likes received) and computed{engagement_rate, language, content_category}. Single lookup: next_cursor is always null. An unknown / suspended / moved account answers a status record (not_found | account_suspended | moved | invalid_input) + status_note. |
cursor | string | no | — | Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page. |
compute_metrics | boolean | no | true | true (default) = sample the latest feed_sample original truths for computed.language / engagement_rate / content_category. false = profile only (1 request; engagement_rate / language null, category from the bio).locked in cursor |
feed_sample | integer | no | 20 | Original truths sampled for the computed block (1..100, default 20 = one statuses page). locked in cursor |
count_likes | boolean | no | true | true (default) = walk the status history (~20 a call) and sum favourites_count -> likes_count (likes received). false = likes_count null. locked in cursor |
likes_max_posts | integer | no | 100 | Cap on the likes walk in statuses seen (default 100 = 5 pages). Capped at 600 (30 pages, ~20 s proxied) plus a 60 s wall-clock budget on the walk: past either likes_count is a lower bound (stats.likes_count_complete false + warning). Cloudflare allows ~6 statuses calls / minute / IP - proxied the walk hops to a fresh US exit, direct it sleeps. locked in cursor |
statuses_per_minute | integer | no | 6 | Statuses requests per minute the scraper paces itself to (default 6). locked in cursor |
Advanced
| Name | Type | Default | Description |
|---|---|---|---|
use_proxy | boolean | true | Route the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise. |
raw_data | boolean | false | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes. |
Response
Section titled “Response”{ "success": true, "data": { "handles": "@truthsocial", "profile": { "input_handle": "@truthsocial", "handle": "truthsocial", "account_id": "107759501782461327", "status": "ok", "status_note": null, "http_status": 200, "id": "107759501782461327", "username": "truthsocial", "acct": "truthsocial", "display_name": "Truth Social — $DJT", "locked": false, "bot": false, "discoverable": null, "group": false, "created_at": "2022-02-08T00:18:27.696Z", "note": "<p>Official page of TRUTH Social.</p>", "url": "https://truthsocial.com/@truthsocial", "avatar": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/759/501/782/461/327/original/4bea7f408ea74952.jpeg", "avatar_static": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/avatars/107/759/501/782/461/327/original/4bea7f408ea74952.jpeg", "header": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/759/501/782/461/327/original/238a02dff6f7342d.jpeg", "header_static": "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/accounts/headers/107/759/501/782/461/327/original/238a02dff6f7342d.jpeg", "followers_count": 6682749, "following_count": 5, "statuses_count": 1369, "last_status_at": "2026-09-10", "verified": true, "location": "", "website": "https://truthsocial.com", "accepting_messages": true, "chats_onboarded": true, "feeds_onboarded": true, "tv_onboarded": true, "bookmarks_onboarded": false, "show_nonmember_group_statuses": true, "pleroma": { "accepts_chat_messages": true }, "tv_account": false, "receive_only_follow_mentions": false, "group_reactions_onboarded": true, "premium": true, "accepted_status_edit_prompt": true, "emojis": [], "fields": [], "bio": "Official page of TRUTH Social.", "likes_count": null, "computed": { "engagement_rate": 0.0491, "language": "en", "content_category": "business" }, "partial": false, "warnings": [], "stats": { "requests": 4, "retries": 0, "api_calls": 4, "rotations": 0, "proxy": true, "ratelimit_remaining": 299, "statuses_pages": 3, "statuses_seen": 42, "posts_sampled": 12, "feed_sample": 20, "language_source": "post_text+language_tag", "category_keywords": [ "ceo", "company", "financial" ] }, "duration_ms": 2629, "scraped_at": "2026-09-22T10:44:51.302Z" }, "next_cursor": null }}Bad input. The exact message varies by endpoint.
{ "success": false, "error": "…"}Balance below the endpoint’s price.
{ "error": "Insufficient credits. Buy more to scrape more.", "balance": 1, "required": 2}Invalid or unknown API key.
{ "detail": "Authentication service unavailable or invalid API key."}Throttled — wait for Retry-After.
{ "detail": "Request was throttled. Expected available in N seconds."}Sample from the live catalog; arrays trimmed to 3 items. Results are in data.profile.
Response fields
Section titled “Response fields”| Field | Type | Example | Description |
|---|---|---|---|
handles | string | @truthsocial | — |
profile | object | {…} | The results. |
next_cursor | null | null | Pass back as cursor for the next page. null on the last page. |
profile.input_handle | string | @truthsocial | — |
profile.handle | string | truthsocial | — |
profile.account_id | string | 107759501782461327 | — |
profile.status | string | ok | — |
profile.status_note | null | null | — |
profile.http_status | integer | 200 | — |
profile.id | string | 107759501782461327 | — |
profile.username | string | truthsocial | — |
profile.acct | string | truthsocial | — |
profile.display_name | string | Truth Social — $DJT | — |
profile.locked | boolean | false | — |
profile.bot | boolean | false | — |
profile.discoverable | null | null | — |
profile.group | boolean | false | — |
profile.created_at | string | 2022-02-08T00:18:27.696Z | — |
profile.note | string | <p>Official page of TRUTH Social.</p> | — |
profile.url | string | https://truthsocial.com/@truthsocial | — |
profile.avatar | string | https://static-assets-1.truthsocial.com/tmtg:… | — |
profile.avatar_static | string | https://static-assets-1.truthsocial.com/tmtg:… | — |
profile.header | string | https://static-assets-1.truthsocial.com/tmtg:… | — |
profile.header_static | string | https://static-assets-1.truthsocial.com/tmtg:… | — |
profile.followers_count | integer | 6682749 | — |
profile.following_count | integer | 5 | — |
profile.statuses_count | integer | 1369 | — |
profile.last_status_at | string | 2026-09-10 | — |
profile.verified | boolean | true | — |
profile.location | string | — | |
profile.website | string | https://truthsocial.com | — |
profile.accepting_messages | boolean | true | — |
profile.chats_onboarded | boolean | true | — |
profile.feeds_onboarded | boolean | true | — |
profile.tv_onboarded | boolean | true | — |
profile.bookmarks_onboarded | boolean | false | — |
profile.show_nonmember_group_statuses | boolean | true | — |
profile.pleroma | object | {…} | — |
profile.tv_account | boolean | false | — |
profile.receive_only_follow_mentions | boolean | false | — |
profile.group_reactions_onboarded | boolean | true | — |
profile.premium | boolean | true | — |
profile.accepted_status_edit_prompt | boolean | true | — |
profile.emojis | array | [] | — |
profile.fields | array | [] | — |
profile.bio | string | Official page of TRUTH Social. | — |
profile.likes_count | null | null | — |
profile.computed | object | {…} | — |
profile.partial | boolean | false | — |
profile.warnings | array | [] | — |
profile.stats | object | {…} | — |
profile.duration_ms | integer | 2629 | — |
profile.scraped_at | string | 2026-09-22T10:44:51.302Z | — |
Pagination
Section titled “Pagination”Returns everything in one call; next_cursor is always null.
Errors
Section titled “Errors”Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.
| Status | Meaning | Retry? | Charged? |
|---|---|---|---|
400 | Bad or missing input. | No — fix the params | No |
401 / 403 | Missing, invalid or revoked API key. | No — fix the key | No |
402 | Out of credits (body has balance). | No — top up | No |
404 | Unknown endpoint slug. | No — check the slug | No |
429 / 503 | Busy or throttled. | Yes — after Retry-After | No |
5xx | Target site or upstream failure, or timeout. | Yes — with backoff | No |
- Nothing special: send the inputs, read the result.
Related
Section titled “Related”- Truth Social Posts — Structured Truth Social data: send
usernames. Cursor-paginated, 1 credit per successful call. - Truth Social Profile Info — Structured Truth Social data: send
handles. Single lookup, 1 credit per successful call. - Truth Social Single Post — Structured Truth Social data: send
urls. Single lookup, 1 credit per successful call.