360 Secure SkillHub
360 安全技能中心

Truth Social Api

该 Skill 通过 ScraperSocial API 按已知句柄读取 Truth Social 公开账号资料和用户帖子,输出统一 JSON,支持分页及字段、格式参数;仅只读公开数据,不提供关键词搜索或发布互动。

分类:数据
nikhonit
nikhonit
热度 9.22
最近更新 2026-10-09 14:47:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add nikhonit/scrapersocial-truth-social
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
truth-social-api
version
1.0.4
description
Truth Social data toolkit via ScraperSocial — public profiles and user post timelines as clean JSON.
license
MIT-0
author
ScraperSocial
homepage
https://scrapersocial.com
repository
https://github.com/nikhonit/social-media-api-skills
tags
["truth-social","social-media","api","mcp"]
allowed-tools
Bash(node:*)
metadata
{"openclaw":{"primaryEnv":"SCRAPERSOCIAL_KEY","homepage":"https://scrapersocial.com","requires":{"env":["SCRAPERSOCIAL_KEY"]},"network":{"allow":["api.scrapersocial.com"]},"shell":{"only":"scripts/*.js"}}}

Truth Social API skill

Read public Truth Social data as clean JSON. This Truth Social API skill has two endpoints: a public profile and a user's posts, at 2 credits each. Coverage of this network by mainstream data tools is thin, which matters for anyone doing balanced media monitoring rather than monitoring only the platforms that are easy to read.

This skill wraps 2 live Truth Social endpoints from the ScraperSocial API. Public data only, returned as clean JSON.

When to use this skill

  • You are doing cross-platform media or discourse monitoring and need this network represented.
  • You are tracking what a specific public account posts.
  • A user pastes a Truth Social link and asks what the account is.

Do not use this skill when

  • You need search. There is no search endpoint here — you need a known handle. Profile and posts only.
  • You need to post or interact. Read-only.
  • You need private accounts. Public data only.

Setup

export SCRAPERSOCIAL_KEY=sk_live_...   # https://scrapersocial.com/app/keys

Signing up at scrapersocial.com/signup includes 100 free credits, no card required.

Permissions and scope

These scripts do exactly three things and nothing else: read one environment variable (SCRAPERSOCIAL_KEY), send HTTPS requests to https://api.scrapersocial.com (the host is a constant in the code, not configurable), and print JSON. They run as node scripts/<name>.js with no other shell use, no file writes and no persistence. call_endpoint.js accepts only the 2 documented /v1/truthsocial/ paths in the table below and refuses anything else before a request is made.

Scripts

Script What it does Input Credits
get_profile.js Get Truth Social profile. handle 2 credits
get_user_posts.js List Truth Social user posts. handle 2 credits per post
call_endpoint.js Call any /v1/truthsocial/ endpoint directly path + params varies

Every script also accepts --limit, --cursor, --fields, --format and --fresh. --limit is clamped to 50: above that the API returns an async job instead of data.

Example

node skills/truth-social-api/scripts/get_profile.js <truthsocial-handle>

Every response uses the same envelope:

{ "data": {}, "meta": { "count": 20, "next_cursor": "..." }, "request_id": "a18e4ef88ad4b00b" }

meta appears on paginated endpoints only. Keep request_id — support traces calls with it.

Endpoints

Endpoint Input Returns Credits Paginated
/v1/truthsocial/profile handle profile 2 credits no
/v1/truthsocial/user-posts handle post 2 credits per post yes

Costs shown per item for paginated endpoints, per call otherwise. Failed calls are not charged.

FAQ

What can I get from Truth Social?

Two endpoints: get_profile.js for a public profile and get_user_posts.js for that account's posts, 2 credits each.

Can I search Truth Social by keyword?

No. This API covers profile and posts only, so you need the handle up front.

Is this an official Truth Social API?

No. ScraperSocial is independent and not affiliated with Truth Social or TMTG. It returns publicly available data only.

Links

Disclaimer

ScraperSocial is an independent product and is not affiliated with, endorsed by, or sponsored by any platform named in this repository. All product names, logos and brands are property of their respective owners. These skills return only publicly available data.