Loading capabilities…
Loading capability…
Return the latest public tweets from a given X/Twitter user timeline.
Both commands call the selected provider directly.
curl '/routes/twit-sh/social/x-user-tweets?username=elonmusk'
h402 call 'social/x-user-tweets' --provider 'twit-sh' --method GET --query '{"username":"elonmusk"}'Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.
usernamestringrequiredX/Twitter username without @.
next_tokenstringoptionalOptional pagination cursor; pass meta.next_token from the previous response.
{
"username": "elonmusk"
}{ "data": { "data": [ { "id": "2080073361343054247", "text": "Easy to make video games with Grok!", "created_at": "Wed Jul 22 23:31:49 +0000 2026", "author_id": "44196397", "conversation_id": "2080073361343054247", "lang": "en", "possibly_sensitive": false, "reply_settings": "everyone", "edit_history_tweet_ids": [ "2080073361343054247" ], "public_metrics": { "retweet_count": 682, "reply_count": 1171, "like_count": 4909, "quote_count": 83, "bookmark_count": 474 }, "referenced_tweets": [ { "type": "quoted", "id": "2079769568533229692" } ] }, { "id": "2080049853036728541", "text": "Try out Grok Build!\n\nhttps://t.co/lOJK57xbED", "created_at": "Wed Jul 22 21:58:25 +0000 2026", "author_id": "44196397", "conversation_id": "2080049853036728541", "lang": "en", "possibly_sensitive": false, "reply_settings": "everyone", "edit_history_tweet_ids": [ "2080049853036728541" ], "public_metrics": { "retweet_count": 540, "reply_count": 676, "like_count": 2556, "quote_count": 36, "bookmark_count": 189 }, "entities": { "urls": [ { "start": 21, "end": 44, "url": "https://t.co/lOJK57xbED", "expanded_url": "http://X.ai/cli", "display_url": "X.ai/cli" } ] }, "referenced_tweets": [ { "type": "quoted", "id": "2080038493594734780" } ] }, { "id": "2080049394318196991", "text": "@Gfilche Yup!", "created_at": "Wed Jul 22 21:56:35 +0000 2026", "author_id": "44196397", "conversation_id": "2080026532249251850", "lang": "und", "possibly_sensitive": false, "reply_settings": "everyone", "edit_history_tweet_ids": [ "2080049394318196991" ], "in_reply_to_user_id": "348844712", "in_reply_to_screen_name": "Gfilche", "public_metrics": { "retweet_count": 144, "reply_count": 158, "like_count": 3138, "quote_count": 13, "bookmark_count": 31 }, "entities": { "mentions": [ { "start": 0, "end": 8, "username": "Gfilche", "id": "348844712" } ], "user_mentions": [ { "id_str": "348844712", "indices": [ 0, 8 ], "name": "Gali", "screen_name": "Gfilche" } ] }, "referenced_tweets": [ { "type": "replied_to", "id": "2080026532249251850" } ] } ], "meta": { "next_token": "DAADDAABCgABHN3ns5GbAacKAAIc3Ur4jJvRZQAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUc3iCgZ4AnEAoABhzeIKBnf9jwAAA" } }, "h402": { "routeId": "social/x-user-tweets", "provider": "twit-sh", "selectedCandidateId": "social/x-user-tweets/twit-sh", "routing": "manual", "paidBy": "x402-exact" } }
Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.