user_namestringzorunlu
Source Screen Name
https://api.sandbase.ai/v1/api/twitter/web/check-followCheck follow on Twitter. Returns the platform data as structured JSON.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
follows | string | Yes | Target Screen Name |
user_name | string | Yes | Source Screen Name |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"is_follow": false,
"username": "elonmusk"
}
| Field | Meaning |
|---|---|
is_follow | Boolean. true if the user_name account follows the follows account, false if it does not. The sample call for elonmusk and NASA returned false. |
username | The source screen name the check was run for. It matches the user_name you sent. |
@ sign, for example elonmusk and NASA.user_name and follows.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 '{
"follows": "NASA",
"user_name": "elonmusk"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
user_namestringzorunluSource Screen Name
followsstringzorunluTarget Screen Name
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Twitter Check followBu API X (Twitter) | $0.001 çağrı başına | JSON |
Twitter | $0.001 çağrı başına | JSON |
Twitter | $0.001 çağrı başına | JSON |
Twitter | $0.001 çağrı başına | JSON |
Twitter | $0.001 çağrı başına | JSON |
Twitter | $0.001 çağrı başına | JSON |
Kılavuzlar:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/twitter/web/check-follow adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: user_name (string) ve follows (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Twitter Check follow, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. X (Twitter) API erişimi için ayrıca başvuru yapmanız gerekmez.