Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Twitter Check follow

APIドキュメント
https://api.sandbase.ai/v1/api/twitter/web/check-follow

Check follow on Twitter. Returns the platform data as structured JSON.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 2 件 · 任意 0 件

プレイグラウンド

入力
Source Screen Name
Target Screen Name
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Twitter Check follow API

Checks whether one Twitter account follows another. It needs two screen names: user_name (the source account) and follows (the target account). It returns a boolean and the source username.

Use cases

  • Verify that a customer or partner account follows your brand account before granting a reward.
  • Check follow status between two accounts when you audit a giveaway or campaign.
  • Confirm a relationship between two known accounts without paging through a full follower list.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/check-follow" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_name": "elonmusk", "follows": "NASA"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
followsstringYesTarget Screen Name
user_namestringYesSource Screen Name

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "is_follow": false,
  "username": "elonmusk"
}

Response fields

FieldMeaning
is_followBoolean. true if the user_name account follows the follows account, false if it does not. The sample call for elonmusk and NASA returned false.
usernameThe source screen name the check was run for. It matches the user_name you sent.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
X (Twitter)$0.001 / 回JSON
Twitter$0.001 / 回JSON
Twitter$0.001 / 回JSON
Twitter$0.001 / 回JSON
Twitter$0.001 / 回JSON
Twitter$0.001 / 回JSON

ガイド:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

質問

FAQ

Twitter Check follow API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/twitter/web/check-follow に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Twitter Check follow API の料金はいくらですか?

1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Twitter Check follow API はどのパラメータを受け付けますか?

必須: user_name (string) と follows (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Twitter Check follow API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

X (Twitter) の開発者アカウントまたは API key は必要ですか?

いいえ。Twitter Check follow は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。X (Twitter) の API アクセスを別途申請する必要はありません。