tweet(url, opts?)
- One post, fully resolved: text, author, metrics, media, poll and any quoted post.
thread(url, opts?)
- A whole thread from any post in it, unrolled into posting order.
search(query, opts?)
- Posts matching a query — latest, top, photos or videos — inside an optional date window.
replies(url, opts?)
- One page of the direct replies to a post, most liked or newest first.
user(handle, opts?)
- A profile: bio, counts, join date, verification, location and website.
userTweets(handle, opts?)
- One page of an account's posts, with the cursor for the next.
userHistory(handle, opts?)
- Up to a thousand of an account's posts in one call, newest first, inside an optional date window.
followers(handle, opts?)
- One page of the accounts following an account.
following(handle, opts?)
- One page of the accounts an account follows.
trends(opts?)
- What is trending, with post counts where X gives them.
media(url, opts?)
- Every attached file, with every bitrate X encoded, as direct links.
downloadMedia(url, opts?)
- Streams one of those files back as bytes rather than as a link.
bulk(urls, opts?)
- Up to fifty posts in one request. A dead link fails that entry alone.