TwitterDown Agent API

AI エージェント向けに、X の公開ポストから動画の直接リンクとメタデータを取得します。

まず 10 回まで無料で解析できます。条件を満たす初回のアカウント連携により、試用枠が合計で最大 100 回の成功した解析まで増えます。

月ごとのウォレット支払いによる解析回数(UTC)成功した解析1回あたりの料金(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

使い方

  1. プルーフ・オブ・ワークの課題を取得し、解いてから登録します。
  2. 登録時に返される API キーとリカバリートークンを保存します。
  3. Bearer キーと Idempotency-Key ヘッダーを使って X の公開ポストを解析します。
  4. 所有者がキーの管理やチャージをできるように、連携リンクを個別に共有します。