x/
user-posts

The Twitter User Tweets Scraper API collects recent public X posts from one or more usernames, returning content, authors, media, engagement, and relationship fields with replies excluded and a separate limit for each account.

Twitter User Tweets Scraper API

Account timelines
Replies excluded
Per-user limits
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

Twitter User Tweets Scraper

An X account timeline is a sequence of recent public posts tied to one username, including publication times, content, media, author context, and visible engagement. Comparing these sequences across a defined account set reveals publishing cadence, recurring subjects, and changes in content mix.

Twitter User Tweets Scraper API Features

  • Timelines for multiple usernamesSubmit one or more public X usernames to the Twitter User Tweets Scraper API, with or without a leading @, and collect recent posts for every account in the task.
  • A cleaner view of recent publishingReplies are excluded from collection, keeping the returned timeline focused on the account's recent public posting activity.
  • A separate cap for each accountresults_limit applies independently to every username and accepts multiples of 20 from 20 to 2,000, with 20 used by default.
  • Content ready for account analysisEach post can include text, language, author details, visible engagement, media, entities, timestamps, and conversation relationships.
  • Traceable account and collection sourceextra.input_username identifies the submitted account while collected_at records when the timeline snapshot was gathered.

Twitter User Tweets Scraper API Parameters

ParametersRequiredDescription
usernamesRequiredRequired list of public X usernames. Each value may include or omit a leading @.
results_limitOptionalOptional maximum requested separately for each username. Defaults to 20 and accepts multiples of 20 from 20 to 2,000.

How to Use the Twitter User Tweets Scraper API

Define the accounts you want the Twitter User Tweets Scraper API to observe, give each one the same collection depth, and turn their recent timelines into comparable records.

  1. Add one or more public X usernames; the leading @ is optional.
  2. Set results_limit for each account using a multiple of 20 from 20 to 2,000.
  3. POST the request to /v1/x/user-posts and poll /v1/tasks/{task_id} until the task completes.
  4. Append data.results.items, using next_cursor whenever another result page is available.
curl -X POST "https://api.socq.ai/v1/x/user-posts" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"usernames":["nasa","OpenAI"],"results_limit":40}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

Twitter User Tweets Scraper API Use Cases

  • Maintain an account watchlist: Group recent posts by extra.input_username to keep a current view of selected brands, creators, competitors, or public organizations.
  • Compare publishing cadence: Use created_at to measure how often each account posts and identify changes in timing, media use, or recurring subjects.
  • Build a recent-post corpus: Combine text, author, media, entity, and engagement fields into an account-attributed dataset for classification or content review.

Twitter User Tweets Scraper API Pro Tips

  • Remove leading @ symbols and deduplicate usernames case-insensitively before submission.
  • Use the same results_limit, in a valid multiple of 20, when comparing activity across accounts.
  • Treat results_limit as a per-account cap because an account can return fewer eligible recent posts.
  • Deduplicate scheduled collections by post id before adding records to an existing timeline dataset.
  • Use created_at for publishing chronology and collected_at for the age of the captured snapshot.

Beyond the Twitter User Tweets Scraper API, use these APIs when you need a different type of public X data.

  • Twitter Tweet Scraper API — Retrieve public post text, authors, engagement, media, hashtags, mentions, and conversation relationships from x.com or twitter.com status URLs.
  • X Post Quotes API — Collect public quote posts for known status URLs with commentary, authors, engagement, media, timestamps, and source-post context.
  • X Post Replies API — Collect public replies from X post URLs with selectable ordering, reply text, authors, visible engagement, media, and parent-post context.
  • Twitter Mentions API — Collect public posts mentioning a specified account.
  • Twitter Media Scraper API — Collect an account's photo, video and GIF posts with full-quality media files.
  • X User Replies API — Collect the replies an account has written, each paired with the post it answers.

Explore other platforms

Combine X data with public data from other supported social platforms.

Twitter User Tweets Scraper API — FAQ

Twitter User Tweets Scraper API collects recent public X posts for one or more usernames. It returns account-attributed post content, authors, engagement, media, entities, relationships, and collection timestamps.

Add public usernames to the usernames array with or without a leading @. Multiple usernames can be processed in one task.

No. It applies separately to each username, defaults to 20, and must be a multiple of 20 between 20 and 2,000.

Replies are excluded from the collected account timelines, so the records focus on other recent public posts from each submitted username.

You can work with text, language, author details, visible engagement, media, hashtags, mentions, timestamps, conversation relationships, and the submitted username.

The requested value is a collection ceiling. The actual count depends on eligible recent public posts available for that account when the task runs.

The Twitter User Tweets Scraper API uses 0.5 SocQ credits for each normalized account-post record.

By SocQ · Updated

From the official X API documentation:

“The X API uses pay-per-usage pricing. No subscriptions—pay only for what you use.”
X Developer Platform: X API introduction · accessed November 2026