Skip to main content
Endpoint: POST /community-search-tweets Description This is a powerful tool for searching specific keywords or phrases only within the tweets of a particular Twitter/X Community. It enables you to filter through thousands of community posts to find exactly what you are looking for, with support for sorting by popularity or date. Who is it for?
  • Brand Monitors: To track how specific topics or competitor names are being discussed in closed group environments.
  • Journalists & Researchers: To quickly find historical statements or discussions on specific subjects within a community.
  • Customer Support: To find mentions of a product or brand within relevant professional communities.
Use Cases * Searching for “bug reports” or “feature requests” within a developer community.
  • Monitoring for brand mentions or “FUD” (Fear, Uncertainty, Doubt) within crypto or investment communities.
  • Filtering community discussions to find posts containing specific links or hashtags.
Request Example (Python)
import requests

url = "https://api.sorsa.io/v3/community-search-tweets"
headers = {"ApiKey": "YOUR_API_KEY"}
payload = {
    "community_link": "1966045657589813686", # Required
    "query": "elonmusk",                     # Required: your search keyword
    "order_by": "popular",                   # Optional
    "cursor": ""                             # Optional
}

response = requests.post(url, json=payload, headers=headers)
results = response.json()

for tweet in results.get("tweets", []):
    print(f"Match found: {tweet['full_text']}")