TwitterDown Agent API
从公开的 X 帖子提取视频直链和元数据,供你的 AI 智能体使用。
注册后可免费成功解析 10 次。所有者首次符合条件地认领后,终身试用额度累计最多可成功解析 100 次。
| 每月钱包付费解析次数(UTC) | 每次成功解析的价格(USD) |
|---|---|
| 1–1,000 | $0.02 |
| 1,001–10,000 | $0.01 |
| 10,001+ | $0.005 |
各档价格仅适用于该档内的用量。钱包充值金额为 $5.00, $20.00, $100.00 USD。钱包余额和未使用的试用额度永久有效。
快速配置:将以下内容粘贴给你的智能体
复制下方文本并粘贴到 ChatGPT、Claude 或任意 AI 智能体。文本包含智能体自行注册并开始解析所需的全部信息,无需查阅文档或填写注册表单。
Use the TwitterDown Agent API to download Twitter/X videos for me.
Base URL: https://twitterdown.com
No sign-up form or email is needed. Registration is programmatic:
1. Get a proof-of-work challenge:
POST https://twitterdown.com/api/v1/register/challenge (no body)
It returns { challenge, difficulty, expires_at }. Challenges last 5 minutes.
2. Solve it: find a string "solution" (a decimal counter encoded as a string works)
such that the SHA-256 hash of challenge + ":" + solution starts with
"difficulty" zero bits.
3. Register:
POST https://twitterdown.com/api/v1/register
JSON body: { "challenge": "...", "solution": "..." }
It returns { account_id, api_key, recovery_token, quota_granted: 10 }.
Save api_key and recovery_token securely; they are shown only once.
Registration includes 10 free successful parses that never expire.
4. Parse a public X post:
POST https://twitterdown.com/api/v1/twitter
Headers: Authorization: Bearer <api_key>
Idempotency-Key: <a unique value per parse, 1-128 ASCII chars>
JSON body: { "url": "https://x.com/<user>/status/<id>" }
It returns direct video URLs and metadata. Only successful parses count.
Reusing the same Idempotency-Key replays the stored result without charging
again; if you receive 202, poll the status URL from the response.
Check balance and usage any time:
GET https://twitterdown.com/api/v1/account (same Bearer key).
Pricing, only after the free parses run out and I top up the wallet:
$0.02 per successful parse for the first 1,000 wallet-funded parses per UTC
month, $0.01 each for the next 9,000, then $0.005 each. Failed parses are free.
Balances never expire.
When I ask you to hand the account over to me, get a claim link:
POST https://twitterdown.com/api/v1/claim-token (Bearer key, no body)
It returns { claim_url }. Send that link to me privately and do not open it
yourself. When I open it and confirm, I can manage keys and top up, and the
free trial grows to up to 100 lifetime successful parses.
Full machine-readable spec: https://twitterdown.com/openapi.yaml开始使用
- 请求工作量证明挑战,完成后注册。
- 保存注册时返回的 API 密钥和恢复令牌。
- 使用 Bearer 密钥和 Idempotency-Key 解析一条公开的 X 帖子。
- 私下将认领链接分享给所有者,以便对方管理密钥和充值。