Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

X (Twitter) Twitter Community

API dokümanları
https://api.sandbase.ai/v1/api/twitter/community

Fetch a Twitter/X community's public details (name, description, member count, join policy) by URL.

Fiyat
Başlangıç fiyatı $0.0001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Community URL (e.g. https://x.com/i/communities/1926186499399139650).
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

X (Twitter) Twitter Community API

Returns the public details of one X (Twitter) community: name, description, member count, join policy, creator handle and rules. It needs the community URL as the url parameter.

Use cases

  • Check the size and join policy of a community before you decide to join or promote in it.
  • Track memberCount for a list of communities to see which ones grow.
  • Read the rules of a community before you plan posts for it.
  • Find the creator of a community and start outreach from their handle.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/community" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://x.com/i/communities/1926186499399139650"}'

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

Parameters

NameTypeRequiredDescription
urlstringYesCommunity URL (e.g. https://x.com/i/communities/1926186499399139650).

Example response

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

{
  "data": {
    "createdUtc": 1748073622,
    "creatorHandle": "carsonrmccann",
    "description": "This community is for creators and builders who are growing to their first 1,000…",
    "id": "1926186499399139650",
    "joinPolicy": "Open",
    "memberCount": 5626,
    "name": "The First Thousand",
    "nsfw": false,
    "rules": [
      {
        "name": "No Empty Platitudes"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.nameDisplay name of the community.
data.descriptionText the community uses to describe its purpose.
data.memberCountNumber of members in the community.
data.joinPolicyHow people can join. The sample value is Open.
data.creatorHandleX handle of the user who created the community.
data.createdUtcCreation time as a Unix timestamp in seconds (UTC).
data.rules[].nameTitle of each community rule, in the order returned.
data.nsfwtrue if the community is marked as adult content, otherwise false.
data.idNumeric community ID as a string. It matches the ID at the end of the input URL.
foundtrue when the community was found. A lookup that finds nothing returns false.

Notes

Pricing

Billed at the actual cost of each call, about $0.0001 for the request above. Failed calls are not charged.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
X (Twitter)Kullanım başına $0.0001'den itibarenJSON
X (Twitter)Kullanım başına $0.00054'den itibarenJSON
TwitterKullanım başına $0.0006'den itibarenAsenkron JSON
X (Twitter)Kullanım başına $0.0036'den itibarenJSON
X (Twitter)Kullanım başına $0.00045'den itibarenJSON
X (Twitter)Kullanım başına $0.00045'den itibarenJSON

Kılavuzlar:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Sorular

SSS

X (Twitter) Twitter Community API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/twitter/community adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

X (Twitter) Twitter Community API'sinin fiyatı nedir?

çağrı başına $0.0001'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

X (Twitter) Twitter Community API'si hangi parametreleri kabul eder?

Gerekli: url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

X (Twitter) Twitter Community API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir X (Twitter) geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. X (Twitter) Twitter Community, 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.