xAPIs.dev
API Reference · v2
Free Tools{ }OpenAPI YAMLGet API key
API Reference / Community / Search all communities

Search all communities

GET/twitter/community/get_tweets_from_all_community15 credits

Search tweets across all Twitter Communities by keyword. 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

query
stringrequired
Keyword or phrase to search community tweets for.
cursor
stringoptional
Pagination cursor for the next page.

Response fields

tweetsarray
Array of tweet objects with engagement metrics and author info.
has_next_pageboolean
Whether another page of results is available.
next_cursorstring
Cursor for the next page; null or empty when exhausted.
Request
curl https://v2.xapis.dev/twitter/community/get_tweets_from_all_community \
  -G --data-urlencode "query=ai%20agents" \
  -H "x-api-key: $XAPIS_KEY"
Response200 OK
application/json
{
  "tweets": [
    {
      "type": "tweet",
      "id": "2074779104956879070",
      "url": "https://x.com/CryptoNexus_0/status/2074779104956879070",
      "twitterUrl": "https://twitter.com/CryptoNexus_0/status/2074779104956879070",
      "text": "@klimovkirill393 @pharos_network @PharosResearch_ Great take AI agents turning RWA complexity into o…",
      "source": "Twitter for iPhone",
      "retweetCount": 0,
      "replyCount": 0,
      "likeCount": 1,
      "quoteCount": 0,
      "viewCount": 0,
      "createdAt": "Wed Jul 08 08:54:20 +0000 2026",
      "lang": "en",
      "bookmarkCount": 0,
      "isReply": true,
      "inReplyToId": "2074757545474834774",
      "conversationId": "2074757545474834774",
      "displayTextRange": [
        50
      ],
      "inReplyToUserId": null,
      "inReplyToUsername": null,
      "author": {
        "type": "user",
        "userName": "CryptoNexus_0",
        "url": "https://x.com/CryptoNexus_0",
        "twitterUrl": "https://twitter.com/CryptoNexus_0",
        "id": "1559460898040942594",
        "name": "Crypto Nexus",
        "isVerified": false,
        "isBlueVerified": false,
        "verifiedType": null,
        "profilePicture": "https://pbs.twimg.com/profile_images/2074217800101670912/NLCTgD3z_normal.jpg",
        "coverPicture": "",
        "description": "",
        "location": "",
        "followers": 0,
        "following": 0,
        "status": "",
        "canDm": false,
        "canMediaTag": true,
        "createdAt": "Tue Aug 16 08:44:02 +0000 2022",
        "entities": {
          "description": "…",
          "url": "…"
        },
        "fastFollowersCount": 0,
        "favouritesCount": 0,
        "hasCustomTimelines": true,
        "isTranslator": false,
        "…": "…"
      },
      "extendedEntities": {},
      "card": null,
      "place": {},
      "…": "…"
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAAHCgABHMsZGyW__-QLAAIAAAAUV3pFM09ETTBPVFF5TkRBd01EQmQIAAMAAAACAAA"
}
base url · https://v2.xapis.dev
Ready to call Search all communities?