Truth Social Post Details API
Look up one Truth Social post to retrieve its public content and associated metadata.
/v1/truthsocial/post$0.024440 USD per request
Open API playgroundUse Truth Social Post Details API with Python
On this page
Request example
Send your customer API key in x-api-key. Generate a new Idempotency-Key for each logical request and preserve it with identical input for retries.
JavaScript examples use Node.js with built-in fetch; Python examples use the standard library. Configure SOCIALSCRAPER_API_KEY in the execution environment.
curl --request GET 'https://socialmediascraper.org/v1/truthsocial/post?url=https%3A%2F%2Ftruthsocial.com%2F%40realDonaldTrump%2Fposts%2F114315219437063160' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Idempotency-Key: example-request-0001' \
--header 'x-price-version: 2026-11-23.retail-1'Authentication
x-api-keystringYour customer API key.
Idempotency-Keystring · 8–128A unique identity for one logical request. Reuse it with identical input for a retry.
x-price-version2026-11-23.retail-1Optional price version. A changed version is rejected before billing.
Request parameters
Query string
urlstringRequiredPublic truthsocial content or profile URL to retrieve. Paste the complete URL, including https://.
Example"https://truthsocial.com/@realDonaldTrump/posts/114315219437063160"
download_mediabooleanOptionalRequest media download information with the content result.
Response and fields
The response uses request_id, data and meta. The table below describes the returned data object; keep null values when a source field has no value.
{
"request_id": "example-request-id",
"data": {
"platform": "truthsocial",
"resource": "post",
"id": "123456789",
"url": "https://example.com/public-content",
"title": "Example public content",
"caption": "Example public content",
"published_at": null,
"author": {
"id": "123456789",
"handle": "example",
"display_name": "Example creator",
"verified": null
},
"media": {
"thumbnail_url": null,
"duration_ms": null,
"is_video": null
},
"metrics": {
"views": null,
"likes": 12,
"comments": null,
"shares": null,
"saves": null
}
},
"meta": {
"platform": "truthsocial",
"fetched_at": "2026-11-28T00:00:00.000Z",
"cached": false,
"schema_version": "2026-11-23.2",
"route_version": 1,
"billing": {
"capability": "truthsocial.post",
"version": "2026-11-23.retail-1",
"currency": "USD",
"unit_scale": 1000000000,
"amount_units": 24440000,
"amount_usd": "0.024440000",
"billing_basis": "request"
}
}
}request_idIdentity of this API request. Keep it for status checks and support.dataNormalized result for the selected operation.metaRetrieval, contract, route and billing metadata.data.platformstringSource platform identifier.
data.resourcestringOperation resource identifier.
data.idstringSource identity preserved as text.
data.urlstringPublic source URL for this record.
data.titlestringTitle or display label associated with the record.
data.captionstringPublic caption associated with the content.
data.published_atnullPublication value supplied by the source.
data.authorobjectIdentity fields for the author or account represented by the record.
data.author.idstringSource identity preserved as text.
data.author.handlestringPublic account username or handle.
data.author.display_namestringAccount or creator display name.
data.author.verifiednullSource verification flag when returned.
data.mediaobjectMedia references and properties for the content.
data.media.thumbnail_urlnullPreview image reference for the content.
data.media.duration_msnullMedia duration measured in milliseconds.
data.media.is_videonullWhether the media record is marked as video.
data.metricsobjectAvailable source metrics grouped by measurement.
data.metrics.viewsnullSource-reported views measurement when present.
data.metrics.likesnumberSource-reported likes measurement when present.
data.metrics.commentsnullSource-reported comments measurement when present.
data.metrics.sharesnullSource-reported shares measurement when present.
data.metrics.savesnullSource-reported saves measurement when present.
Pagination
Use the returned record or result set directly, then choose a related operation when your task needs additional data.
Errors and recovery
Read the error code and request_id before deciding how to recover. Retain your original input and request identity when retrying the same operation.
400Review parameter types and identifier-combination rules.
401Check x-api-key and the key in your workspace.
402Check the quoted request price and your available USD balance.
429Wait for Retry-After before retrying with the original request identity.
Track a saved request
If a request outcome is uncertain, read GET /v1/requests/:id using the returned request_id before starting a replacement.
curl "https://socialmediascraper.org/v1/requests/REQUEST_ID" \
-H "x-api-key: YOUR_API_KEY"Price version: 2026-11-23.retail-1. Each additional page is billed as a request. Inspect meta.billing for the amount applied to your request.
Build a workflow with Truth Social Post Details API
Use the selected Truth Social record to enrich a content database or supply source context to an AI agent. Keep the public URL with the content so a reader can open the original reference.
Choose the right input
Review url in the GET input list below. Follow the required-field and identifier-combination rules before adding optional filters.
Work with the returned records
The JSON example below shows this operation’s normalized fields: id, url, title, caption, published_at, author, media, metrics. Keep request_id with stored results for request tracking.