Truth Social user posts by username
scrapecreators.x.v1-truthsocial-user-postsFetches a paginated list of posts from a Truth Social user, returning text, id, created_at, url, content, account info, media_attachments, card link previews, replies_count, reblogs_count, and favourites_count.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-truthsocial-user-posts?handle=realDonaldTrumpPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
trim | 真偽値 | 任意 | Set to true for a trimmed down version of the response | false |
handle | 文字列 | 任意 | Truth Social username | realDonaldTrump |
user_id | 文字列 | 任意 | Truth Social user id. Use this for faster response times. Trumps is 107780257626128497. It is the 'id' field in the profile endpoint. | 107780257626128497 |
next_max_id | 文字列 | 任意 | Used to paginate to next page | 107780257626128497 |
- クエリパラメータ
trim真偽値任意Set to true for a trimmed down version of the response
例:
falsehandle文字列任意Truth Social username
例:
realDonaldTrumpuser_id文字列任意Truth Social user id. Use this for faster response times. Trumps is 107780257626128497. It is the 'id' field in the profile endpoint.
例:
107780257626128497next_max_id文字列任意Used to paginate to next page
例:
107780257626128497
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-truthsocial-user-posts?handle=realDonaldTrump' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-truthsocial-user-posts?handle=realDonaldTrump",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-truthsocial-user-posts?handle=realDonaldTrump", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。