Skip to content

Structured Truth Social data: send handles. Single lookup, 1 credit per successful call.

GET · POST1 credit / successful callSingle lookup
GEThttps://api.scrapier.io/api/v2/truth-social-profile-scraper/Open in Playground

Call GET /api/v2/truth-social-profile-scraper/ with handles. The results are in data.profile. 1 optional parameter refines the call (see Parameters).

Terminal window
curl -G "https://api.scrapier.io/api/v2/truth-social-profile-scraper/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "handles=realDonaldTrump" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
handlesstringyese.g. realDonaldTrumpTruth Social handle. Lookup endpoint -- next_cursor null.
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen 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.
{
"success": true,
"data": {
"handles": "realDonaldTrump",
"profile": {
"input_url": "realDonaldTrump",
"success": true,
"id": "107780257626128497",
"username": "realDonaldTrump",
"display_name": "Donald J. Trump",
"followers_count": 13070373,
"verified": true
},
"next_cursor": null
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.profile.

FieldTypeExampleDescription
handlesstringrealDonaldTrump—
profileobject{…}The results.
next_cursornullnullPass back as cursor for the next page. null on the last page.
profile.input_urlstringrealDonaldTrump—
profile.successbooleantrue—
profile.idstring107780257626128497—
profile.usernamestringrealDonaldTrump—
profile.display_namestringDonald J. Trump—
profile.followers_countinteger13070373—
profile.verifiedbooleantrue—

Returns everything in one call; next_cursor is always null.

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • The response data carries its own success field from the scraper. The outer success is what counts: an HTTP 200 with outer success: true is billed, even if the inner field says otherwise.
  • Truth Social Posts — Structured Truth Social data: send usernames. Cursor-paginated, 1 credit per successful call.
  • Truth Social Single Post — Structured Truth Social data: send urls. Single lookup, 1 credit per successful call.
  • TruthSocial Profile Info — Structured Truth Social data: send handles. Single lookup, 1 credit per successful call.