İçeriğe geç
Twexapi
Türkçe
Esc
gezin⌘Jönizle

Topluluk Ara

Topluluk Ara.

API Belgelerine Dön
/Communities Endpoints
POST/twitter/community/search
API Yetkilendirmesi
AuthorizationBearer token · headerzorunlu
TwexAPI genel Bearer Token kimlik bilgisi. İstek başlığı: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
İstek Gövdesi
zorunluapplication/json
querystringzorunlu
The query to search for.
target_countintegerzorunlu
The number of communities to search.
Yanıtlar
200A list of community objects.
codeintegerzorunlu
HTTP durum kodu (200 başarılı anlamına gelir)
msgstringzorunlu
Yanıt mesajı (örn: 'success')
dataCommunityModel[]zorunlu
Uç nokta tarafından döndürülen ana veri
Özellikleri göster
Array of CommunityModel
idstringzorunlu
The ID of the community
namestringzorunlu
Kullanıcının görünen adı
descriptionstringzorunlu
Profil biyografisi (Bio)
member_countintegerzorunlu
The number of members in the community
is_nsfwboolean | any
Indicates if the community is NSFW.
Özellikleri göster
Any of:
boolean
boolean
any
any
members_facepile_resultsstring[]
The profile image URLs of members.
bannerobject | any
The banner information of the community.
Özellikleri göster
Any of:
object
object
any
any
is_memberboolean | any
Indicates if the user is a member of the community.
Özellikleri göster
Any of:
boolean
boolean
any
any
rolestring | any
The role of the user in the community.
Özellikleri göster
Any of:
string
string
any
any
adminUserModel | any
The admin of the community.
Özellikleri göster
Any of:
UserModel
idstringzorunlu
User ID
namestringzorunlu
Kullanıcının görünen adı
screen_namestringzorunlu
Twitter kullanıcı adı (@ olmadan)
created_atstring | any
Oluşturulma zamanı (UTC)
Özellikleri göster
Any of:
string
string
any
any
created_at_datetimestring | any
Account creation datetime in ISO format
Özellikleri göster
Any of:
string
string
any
any
can_dmboolean | any
Whether the user can be direct messaged
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
can_media_tagboolean | any
Whether the user can be tagged in media
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
default_profileboolean | any
Whether the user has a default profile
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
default_profile_imageboolean | any
Whether the user has a default profile image
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
descriptionstring | any
Profil biyografisi (Bio)
default: ""
Özellikleri göster
Any of:
string
string
any
any
description_urlsstring[]
List of URLs found in the user's description
default: []
urlsurlModel[] | any
List of URLs found in the user's profile
Özellikleri göster
Any of:
urlModel[]
Array of urlModel
urlstringzorunlu
URL
expanded_urlstring | any
Expanded URL
Özellikleri göster
Any of:
string
string
any
any
display_urlstring | any
Display URL
Özellikleri göster
Any of:
string
string
any
any
any
any
fast_followers_countinteger | any
Count of fast followers
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
favourites_countinteger | any
Number of tweets the user has liked
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
followers_countinteger | any
Toplam takipçi sayısı
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
following_countinteger | any
Toplam takip edilen sayısı
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
has_custom_timelinesboolean | any
Whether the user has custom timelines
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
is_blue_verifiedboolean | any
Blue verification status
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
verified_typestring | any
Verification badge type when not blue-only: blue, business, government, etc.
Özellikleri göster
Any of:
string
string
any
any
is_verifiedboolean | any
True if the account has any verification badge (blue, business, government, or legacy verified)
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
profile_image_shapestring | any
Profile image shape (Circle or Square; Square often indicates business/government)
Özellikleri göster
Any of:
string
string
any
any
is_translatorboolean | any
Whether the user is a translator
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
listed_countinteger | any
Number of public lists the user is a member of
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
locationstring | any
User's location
default: ""
Özellikleri göster
Any of:
string
string
any
any
media_countinteger | any
Number of media tweets posted by the user
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
normal_followers_countinteger | any
Count of normal followers
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
pinned_tweet_idsstring[]
List of pinned tweet IDs
default: []
possibly_sensitiveboolean | any
Whether the user's profile may contain sensitive content
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
profile_banner_urlstring | any
URL of the user's profile banner
Özellikleri göster
Any of:
string
string
any
any
profile_image_urlstring | any
URL of the user's profile image
Özellikleri göster
Any of:
string
string
any
any
protectedboolean | any
Whether the user's tweets are protected
default: false
Özellikleri göster
Any of:
boolean
boolean
any
any
statuses_countinteger | any
Number of tweets posted by the user
default: 0
Özellikleri göster
Any of:
integer
integer
any
any
any
any
join_policystring | any
The join policy of the community.
Özellikleri göster
Any of:
string
string
any
any
created_atinteger | any
Oluşturulma zamanı (UTC)
Özellikleri göster
Any of:
integer
integer
any
any
invites_policystring | any
The invites policy of the community.
Özellikleri göster
Any of:
string
string
any
any
is_pinnedboolean | any
Indicates if the community is pinned.
Özellikleri göster
Any of:
boolean
boolean
any
any
422Parametre Doğrulama Hatası
detailValidationError[]
Özellikleri göster
Array of ValidationError
locstring | integer[]zorunlu
Özellikleri göster
Array of string | integer
Any of:
string
string
integer
integer
msgstringzorunlu
Yanıt mesajı (örn: 'success')
typestringzorunlu
inputany
ctxobject
Etkileşimli KonsolPOST
Etkileşimli Konsol / API TestiPOST
Live Console
🌐Hedef Sunucu:https://api.twexapi.io
● Canlı Ortam Hazır
🔍
Genel Veri Okuma (Yalnızca TwexAPI Anahtarı, Twitter Çerezi Gerekmez)

Bu uç nokta herkese açık Twitter verilerini sorgular — Twitter hesabı veya Çerez gerekmez! Test etmek için aşağıdaki "API Yetkilendirmesi"ne TwexAPI Anahtarınızı (Bearer Token) girmeniz yeterlidir.

🔑API Yetkilendirmesi
📝İstek Gövdesiapplication/json
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

İstek
curl -X POST "https://api.twexapi.io/twitter/community/search" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "string",
  "target_count": 0
}'
Yanıt
{
  "code": 0,
  "msg": "string",
  "data": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "member_count": 0,
      "is_nsfw": true,
      "members_facepile_results": [
        "string"
      ],
      "banner": {},
      "is_member": true,
      "role": "string",
      "admin": {
        "id": "1717001045992251392",
        "name": "Cryptoklepto",
        "screen_name": "CK_Cryptoklepto",
        "created_at": "Mon Oct 28 02:32:47 +0000 2024",
        "created_at_datetime": "2024-10-28T02:32:47.000Z",
        "can_dm": false,
        "can_media_tag": false,
        "default_profile": false,
        "default_profile_image": false,
        "description": "",
        "description_urls": [],
        "urls": [
          {
            "url": "https://www.google.com",
            "expanded_url": "https://www.google.com",
            "display_url": "www.google.com"
          }
        ],
        "fast_followers_count": 0,
        "favourites_count": 0,
        "followers_count": 0,
        "following_count": 0,
        "has_custom_timelines": false,
        "is_blue_verified": false,
        "verified_type": "government",
        "is_verified": false,
        "profile_image_shape": "Circle",
        "is_translator": false,
        "listed_count": 0,
        "location": "New York, USA",
        "media_count": 0,
        "normal_followers_count": 0,
        "pinned_tweet_ids": [],
        "possibly_sensitive": false,
        "profile_banner_url": "string",
        "profile_image_url": "string",
        "protected": false,
        "statuses_count": 0
      },
      "join_policy": "string",
      "created_at": 0,
      "invites_policy": "string",
      "is_pinned": true
    }
  ]
}