Skip to main content
GET
/
x
/
communities
/
tweets
Search community tweets (query)
curl --request GET \
  --url https://xquik.com/api/v1/x/communities/tweets \
  --header 'x-api-key: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Requested result counts are upper bounds for paid authenticated calls. When remaining credits cannot cover the full page or ID list, Xquik returns fewer results. If zero paid results are affordable, it returns 402 insufficient_credits.
1 credit per tweet returned · All plans from $0.00012/credit
curl -G https://xquik.com/api/v1/x/communities/tweets \
  --data-urlencode "q=machine learning" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Query parameters

q
string
required
Search query for community tweets.
queryType
string
Sort order. Top returns most relevant tweets, Latest returns most recent. Defaults to Latest.
cursor
string
Pagination cursor from a previous response. Omit for the first page.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Response

tweets
object[]
Array of matching community tweets.
has_next_page
boolean
Whether more results are available.
next_cursor
string
Cursor for the next page. Pass as the cursor query parameter.
{
  "tweets": [
    {
      "id": "1893456789012345678",
      "text": "Interesting ML discussion in this community",
      "createdAt": "2026-02-24T10:00:00.000Z",
      "likeCount": 200,
      "retweetCount": 35,
      "replyCount": 15,
      "viewCount": 8500,
      "author": {
        "id": "987654321",
        "username": "mlresearcher",
        "name": "ML Researcher",
        "verified": true
      }
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAACCgACGE..."
}
Next steps: Community Search for an alternative search endpoint, or Search Tweets for general tweet search.
Last modified on May 9, 2026