Skip to main content
GET https://xquik.com/api/v1/x/communities/tweets
1 credit per result returned · All plans from $0.00012/credit · Supports guest paid reads

The same search on another path

GET /x/communities/tweets searches the tweets in one Community, or across every Community without communityId. It works exactly as Community search does on GET /x/communities/search. Both take the same communityId, q, queryType, cursor, and pageSize. Both answer the same page of tweets. Keep this path when your integration already uses it. New integrations can use either. To get a Community’s posts for a hashtag, search with q=#tag and its communityId. An example is q=#bitcoin.

Query parameters

Tweet filters

These filters narrow the search and the rows it returns, as on Community search.See tweet filters for every filter. Common ones are fromUser, language, sinceDate, mediaType, minLikes, and hashtags.

Choose fields

Headers

Response

200 OK

Returns the same page as Community search, with tweets, has_next_page, and next_cursor.

Response examples

200 example

  • 400 { "error": "invalid_input", "message": "Invalid input. Check the request body." }
  • 401 { "error": "unauthenticated", "message": "Authentication required." }
  • 402 { "error": "insufficient_credits", "message": "Insufficient credits. Top up or subscribe to continue." }
  • 403 { "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." }
  • 424 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }
  • 502 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 503 { "error": "x_api_unavailable", "message": "Xquik is busy right now. Retry shortly." }