Skip to main content
Endpoint: POST /user-tweets Description This endpoint allows you to download the entire timeline of a specific user. It returns a chronological list of their tweets, including retweets and replies, allowing for a complete audit of an account’s posting history. Who is it for?
  • Brand Auditors: To review the historical posting patterns of an influencer before a partnership.
  • Journalists: To search through a public figure’s past statements or shared content.
  • Competitor Intelligence: To analyze the posting frequency and content strategy of rival companies.
Use Cases
  • Extracting the last 200 tweets from a “KOL” to determine their main topics of interest.
  • Building a local archive of an account’s history for compliance or research.
  • Identifying the most popular tweets of a user by sorting their timeline data.
Request Example (Python)
import requests

url = "https://api.sorsa.io/v3/user-tweets"
headers = {"ApiKey": "YOUR_API_KEY"}
payload = {
    "user_link": "elonmusk", # Handle, ID, or link
    "cursor": ""             # Optional for pagination
}

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

for tweet in data.get("tweets", []):
    print(f"Date: {tweet['created_at']} | Tweet: {tweet['full_text']}")