x-user-tweets
The latest posts of one X (Twitter) account, one row per post: id, link, text, likes, reposts, replies, quotes, time, whether it is a repost, and the author. username is the handle (nasa or @nasa), the profile URL or X's numeric user id (11348282). limit up to 100; X gives about 15-20 posts a page and a run reads at most two pages. session is your own X login (the auth_token and ct0 cookies, from the Crawl4AI Session extension) (optional), used for this run only, never stored. Without it the run reads X as a visitor; when X shows a visitor nothing, a slower second source answers.
Recipes are not open yet.
What this recipe returned on its last run. No key needed to look.
Fields
10 columns on every row. null means the site does not state it.| field | type | meaning |
|---|---|---|
| id | string | X's id of the post, as text (the number is too long for some JSON readers). |
| url | string | The post's link: https://x.com/<author>/status/<id>. |
| text | string | The post's whole text, a long post included; X's repost text starts with RT @author:, the second source's repost text is the original's text alone. |
| likes | integer | The likes count when read. |
| retweets | integer | The reposts count when read. |
| replies | integer | The replies count when read. |
| quotes | integer | How many posts quote this post. |
| created | string | When the post was published, ISO 8601 UTC. |
| is_retweet | boolean | True when the row is a repost of another account's post. |
| author | string | The handle of the account that posted or reposted it, without the @. |
null means the site does not state it.
How it behaves
Cost. 3-4 units, an id 1 less; or records. A failed run costs 0.
Freshness 2 min. The same input within 2 min is served from cache at 0 units.
Questions about this recipeQuestions
Short answers. The API reference has the long ones.
Call POST /recipes/x-user-tweets with your key and username and limit. You get rows with the 10 fields above. The recipe is tested against the live site every 6 hours.
3-4 units, an id 1 less; or records. A failed run costs 0. The same input within 2 min costs 0.
Yes. Sign up with Google, GitHub or email for a free key with 1,000 credits every month. No credit card.
The health check runs every 6 hours against the live site. A failing recipe shows as failing on this page until we fix it.
Extra fields, higher volume, or a private copy with a freshness SLA. We build it on Enterprise.
Request a changeMore for social listening
All 24 recipes →The latest messages of a public Telegram channel, from its web preview page: text, time, view count, the message's link and id, newest…
A public Facebook page's posts as its first load carries them (no paging): one row per post with id, URL, text (first 1000 chars), time…
One public Facebook post as one row: id, URL, author, text, time posted, reactions in total and by type, comments, shares, photos and…
For developers
Get a free API key and run your first crawl.
1,000 credits every month. No credit card. Your self-hosted setup keeps working.
For teams
Talk to us about volume, regions and an SLA.
A 30-minute call with the team that writes the crawler. DPA on request, invoice billing, your choice of US, EU or Singapore.