İçeriğe geç

Topluluk Gönderileri

GET/v1/twitter/community/tweets1 kredi

Bir X Topluluğunun, X'in herkese açık sıralamasına göre öne çıkan gönderilerini döndürür; her biri metni, sayıları, görüntülenme sayısı ve yazarıyla gelir.

01Sorgu parametreleri

AdTürAçıklama
urlzorunlustringTopluluğun URL'si, örneğin `https://x.com/i/communities/1926186499399139650`.

02İstek

curl "https://api.scrapesocial.ai/v1/twitter/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Yanıtlar

API'nin gerçek yanıtları. Listeler 2 öğeye kısaltılmıştır.

GET /v1/twitter/community/tweets?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "tweets": [
    {
      "id": "2106954044686397612",
      "view_count": "293",
      "bookmark_count": 0,
      "bookmarked": false,
      "conversation_id_str": "2106954044686397612",
      "created_at": "Mon Oct 05 03:46:04 +0000 2026",
      "display_text_range": [
        0,
        137
      ],
      "entities": {},
      "favorite_count": 14,
      "favorited": false,
      "full_text": "I’m a solo founder in Palo Alto\n\nif you’re a founder, builder, or working on ai, tech, or cool stuff let’s connect!\n\nLet’s grow together!",
      "id_str": "2106954044686397612",
      "is_quote_status": false,
      "lang": "en",
      "quote_count": 0,
      "reply_count": 12,
      "retweet_count": 0,
      "retweeted": false,
      "user_id_str": "1354812288637624325",
      "user": {
        "__typename": "User",
        "affiliates_highlighted_label": {},
        "avatar": {
          "image_url": "https://pbs.twimg.com/profile_images/2041658850236125184/5LMT-JmL_normal.jpg"
        },
        "core": {
          "created_at": "Thu Jan 28 15:23:23 +0000 2021",
          "name": "Jason",
          "screen_name": "jasonjias"
        },
        "dm_permissions": {
          "can_dm": false
        },
        "has_graduated_access": true,
        "id": "VXNlcjoxMzU0ODEyMjg4NjM3NjI0MzI1",
        "is_blue_verified": true,
        "legacy": {
          "default_profile": true,
          "default_profile_image": false,
          "description": "building @dotsathome | ex-@Apple",
          "entities": {
            "description": {},
            "url": {
              "urls": [
                {
                  "display_url": "dotsathome.com",
                  "expanded_url": "http://dotsathome.com",
                  "indices": [
                    0,
                    23
                  ],
                  "url": "https://t.co/m8Kwk8cvcH"
                }
              ]
            }
          },
          "fast_followers_count": 0,
          "favourites_count": 4836,
          "follow_request_sent": false,
          "followers_count": 1370,
          "friends_count": 1932,
          "has_custom_timelines": false,
          "is_translator": false,
          "listed_count": 2,
          "media_count": 87,
          "needs_phone_verification": false,
          "normal_followers_count": 1370,
          "notifications": false,
          "pinned_tweet_ids_str": [
            "2110753838215098680"
          ],
          "possibly_sensitive": false,
          "profile_banner_url": "https://pbs.twimg.com/profile_banners/1354812288637624325/1779922906",
          "profile_interstitial_type": "",
          "statuses_count": 1328,
          "time_zone": "",
          "translator_type": "none",
          "url": "https://t.co/m8Kwk8cvcH",
          "utc_offset": 0,
          "withheld_description": "",
          "withheld_scope": ""
        },
        "location": {
          "location": "Palo Alto, CA"
        },
        "media_permissions": {
          "can_media_tag": false
        },
        "parody_commentary_fan_label": "None",
        "privacy": {
          "protected": false
        },
        "professional": {
          "category": [],
          "professional_type": "Creator",
          "rest_id": "1740130322090709055"
        },
        "profile_image_shape": "Circle",
        "relationship_perspectives": {
          "blocked_by": false,
          "blocking": false,
          "followed_by": false,
          "following": false,
          "muting": false
        },
        "rest_id": "1354812288637624325",
        "super_follow_eligible": false,
        "super_followed_by": false,
        "super_following": false,
        "tipjar_settings": {
          "bandcamp_handle": "",
          "bitcoin_handle": "",
          "cash_app_handle": "",
          "ethereum_handle": "",
          "gofundme_handle": "",
          "is_enabled": false,
          "patreon_handle": "",
          "pay_pal_handle": "",
          "venmo_handle": ""
        },
        "verification": {
          "verified": false
        }
      }
    },
    {
      "id": "2107788935745441861",
      "source": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
      "view_count": "135",
      "bookmark_count": 0,
      "bookmarked": false,
      "conversation_id_str": "2107788935745441861",
      "created_at": "Wed Oct 07 11:03:37 +0000 2026",
      "display_text_range": [
        0,
        117
      ],
      "entities": {},
      "favorite_count": 8,
      "favorited": false,
      "full_text": "looking for more people into tech, startups, AI, careers &amp; marketing.\n\nif that’s your side of x,  let’s connect 👋",
      "id_str": "2107788935745441861",
      "is_quote_status": false,
      "lang": "en",
      "quote_count": 0,
      "reply_count": 5,
      "retweet_count": 0,
      "retweeted": false,
      "user_id_str": "1298298807147302912",
      "user": {
        "__typename": "User",
        "affiliates_highlighted_label": {},
        "avatar": {
          "image_url": "https://pbs.twimg.com/profile_images/2077356217522065408/i-f_VmSH_normal.jpg"
        },
        "core": {
          "created_at": "Tue Aug 25 16:39:23 +0000 2020",
          "name": "Velora",
          "screen_name": "Top_Things_"
        },
        "dm_permissions": {
          "can_dm": false
        },
        "has_graduated_access": true,
        "id": "VXNlcjoxMjk4Mjk4ODA3MTQ3MzAyOTEy",
        "is_blue_verified": false,
        "legacy": {
          "default_profile": true,
          "default_profile_image": false,
          "description": "Tech || SaaS || X || AI\nSoftware engineer & idk I'm just figuring out  🤧\n| Open for collabs |\n\nTweeting thoughts that should’ve stayed in my head!",
          "entities": {
            "description": {}
          },
          "fast_followers_count": 0,
          "favourites_count": 1498,
          "follow_request_sent": false,
          "followers_count": 318,
          "friends_count": 246,
          "has_custom_timelines": false,
          "is_translator": false,
          "listed_count": 0,
          "media_count": 252,
          "needs_phone_verification": false,
          "normal_followers_count": 318,
          "notifications": false,
          "possibly_sensitive": false,
          "profile_banner_url": "https://pbs.twimg.com/profile_banners/1298298807147302912/1784115292",
          "profile_interstitial_type": "",
          "statuses_count": 1479,
          "time_zone": "",
          "translator_type": "none",
          "url": "",
          "utc_offset": 0,
          "withheld_description": "",
          "withheld_scope": ""
        },
        "location": {
          "location": ""
        },
        "media_permissions": {
          "can_media_tag": false
        },
        "parody_commentary_fan_label": "None",
        "privacy": {
          "protected": false
        },
        "profile_image_shape": "Circle",
        "relationship_perspectives": {
          "blocked_by": false,
          "blocking": false,
          "followed_by": false,
          "following": false,
          "muting": false
        },
        "rest_id": "1298298807147302912",
        "super_follow_eligible": false,
        "super_followed_by": false,
        "super_following": false,
        "tipjar_settings": {
          "bandcamp_handle": "",
          "bitcoin_handle": "",
          "cash_app_handle": "",
          "ethereum_handle": "",
          "gofundme_handle": "",
          "is_enabled": false,
          "patreon_handle": "",
          "pay_pal_handle": "",
          "venmo_handle": ""
        },
        "verification": {
          "verified": false
        }
      }
    }
  ]
}

Tüm uç noktalarda ortak

Her rota bunları döndürebilir: eksik ya da hatalı anahtar, biten kredi, yanıt vermeyen platform ya da bizim tarafımızdaki bir hata. Hiçbiri kredi harcamaz.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notlar

`tweets` içinde, kronolojik değil sıralamaya göre en fazla 20 gönderi döner. Cursor yoktur. Her öğe düz bir nesnedir: `id`, `view_count` (string), gönderinin alanları ve `user`. Gönderisi olmayan bir topluluk 0 kredi karşılığında `tweets: []` döndürür; bilinmeyen bir topluluk ücretsiz bir 404'tür.

05Hatalar ve krediler

Her hatada success: false ve gerçek bir HTTP durum kodu döner; kredi düşmez.

  • 400missing_parameter

    Zorunlu bir parametre eksik veya geçersiz.

  • 403private_account

    Hesap gizli ya da yaş kısıtlamalı.

  • 404not_found

    Böyle bir hesap yok.

  • 503upstream_error

    Platform şu an cevap vermiyor; tekrar deneyin.