Skip to main content
Endpoint: POST /comments Description This endpoint retrieves the conversation thread (replies) under a specific tweet. It captures the public discussion, allowing you to see how the audience is responding to a particular post. Who is it for?
  • Customer Feedback Teams: To read and respond to user queries or complaints in a thread.
  • Sentiment Analysts: To gauge the public’s reaction (positive/negative) to a specific piece of news.
  • Community Builders: To identify the most active and helpful users within a discussion.
Use Cases
  • Scraping all comments under a “Giveaway” tweet to pick a winner based on their reply content.
  • Monitoring for negative sentiment or “spam” in the comments of a high-profile announcement.
  • Mapping out a conversation tree to see which replies are generating the most sub-discussions.
Request Example (Python)
import requests

url = "https://api.sorsa.io/v3/comments"
headers = {"ApiKey": "YOUR_API_KEY"}
payload = {
    "tweet_link": "https://x.com/Twitter/status/123456789",
    "cursor": "" # Optional
}

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

for comment in data.get("comments", []):
    print(f"Reply from {comment['user']['screen_name']}: {comment['full_text']}")