SocialPipe docs

X user timeline

One page of an X/Twitter user's posts, as TikHub returns it. Each item carries `favorites`, `retweets`, `replies`, `quotes`, `bookmarks` and `views`, plus `conversation_id` and `retweeted_tweet` — which is how replies and retweets are told apart from original posts. Page size is the vendor's to choose; there is no `count`. To page, pass the previous response's `next_cursor` as `cursor`.

GET/v1/twitter/tweets

One page of an X/Twitter user's posts, as TikHub returns it.

Each item carries favorites, retweets, replies, quotes, bookmarks and views, plus conversation_id and retweeted_tweet — which is how replies and retweets are told apart from original posts.

Page size is the vendor's to choose; there is no count. To page, pass the previous response's next_cursor as cursor.

Query Parameters

username*Username
cursor?string|null
cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/twitter/tweets?username=string"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}