xAPIs.dev
API Reference · v2
Free Tools{ }OpenAPI YAMLGet API key
API Reference / Community / Get community tweets

Get community tweets

GET/twitter/community/tweets15 credits

Fetch tweets posted within a Twitter Community. Cursor-paginated. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.

Authentication required
Send your key in the x-api-key header. Requests without a valid key return 401.

Query parameters

community_id
stringrequired
The numeric ID of the community.
cursor
stringoptional
Pagination cursor for the next page.

Response fields

tweetsarray
Array of tweet objects with engagement metrics and author info.
has_nextboolean
Legacy pagination flag (mirrors has_next_page).
has_next_pageboolean
Whether another page of results is available.
next_cursorstring
Cursor for the next page; null or empty when exhausted.
statusstring
Request status: "success" or "error".
msgstring
Status message from the upstream.
Request
curl https://v2.xapis.dev/twitter/community/tweets \
  -G --data-urlencode "community_id=1493446837214187523" \
  -H "x-api-key: $XAPIS_KEY"
Response200 OK
application/json
{
  "tweets": [
    {
      "type": "tweet",
      "id": "2074776320429773131",
      "url": "https://x.com/projektkush/status/2074776320429773131",
      "twitterUrl": "https://twitter.com/projektkush/status/2074776320429773131",
      "text": "Ka-ching. got a payout today. There's hope",
      "source": "Twitter for iPhone",
      "retweetCount": 0,
      "replyCount": 0,
      "likeCount": 0,
      "quoteCount": 0,
      "viewCount": 2,
      "createdAt": "Wed Jul 08 08:43:16 +0000 2026",
      "lang": "en",
      "bookmarkCount": 0,
      "isReply": false,
      "inReplyToId": null,
      "conversationId": "2074776320429773131",
      "inReplyToUserId": null,
      "inReplyToUsername": null,
      "author": {
        "type": "user",
        "userName": "projektkush",
        "url": "https://x.com/projektkush",
        "twitterUrl": "https://twitter.com/projektkush",
        "id": "1863459918797275137",
        "name": "Kush Sheth",
        "profilePicture": "https://pbs.twimg.com/profile_images/1961323131412647936/LHqpkO-P_normal.jpg",
        "coverPicture": "https://pbs.twimg.com/profile_banners/1863459918797275137/1755832140",
        "description": "we made an ad creative with actual taste · @makelocalads",
        "location": "one product URL away",
        "followers": 215,
        "following": 510,
        "status": "",
        "canDm": true,
        "canMediaTag": true,
        "createdAt": "Mon Dec 02 05:47:35 +0000 2024",
        "entities": {
          "description": "…",
          "url": "…"
        },
        "favouritesCount": 4110,
        "hasCustomTimelines": true,
        "isTranslator": false,
        "mediaCount": 100,
        "statusesCount": 933,
        "withheldInCountries": [],
        "affiliatesHighlightedLabel": {},
        "…": "…"
      },
      "extendedEntities": {},
      "card": null,
      "place": {},
      "entities": {}
    }
  ],
  "has_next": true,
  "has_next_page": true,
  "next_cursor": "DAABCgABHMsWOyJ__-kKAAIcyxKkElYBeAgAAwAAAAIAAA",
  "status": "success",
  "msg": "success"
}
base url · https://v2.xapis.dev
Ready to call Get community tweets?