Tweets
Get similar tweets
Get tweets that are similar in content or topic to the specified tweet. Returns tweets that Twitter's algorithm considers related. Useful for content discovery and topic analysis.
get/v1/twitter/tweets/tweet/{tweet_id}/similar
Request
- Base URLhttps://scrapebadger.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tweet_idstring required
Example:1234567890123456789
The unique numeric ID of the tweet.
Response
Successfully retrieved similar tweets.
Example response
{
"data": [
{
"id": "1234567890123456789",
"text": "Hello, world! This is a tweet.",
"created_at": "Wed Oct 10 20:19:24 +0000 2018",
"lang": "en",
"user_id": "44196397",
"username": "elonmusk",
"user_name": "Elon Musk",
"hashtags": [
{
"text": "AI"
}
],
"place": {
"full_name": "San Francisco, CA",
"name": "San Francisco",
"country": "United States",
"country_code": "US"
},
"source": "Twitter Web App"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.