CoreClaw
Store
Pricing
Start Free Trial
mn06pz6r

Twitter Profile Scraper (by Username)

Pricing
Try for free
mn06pz6r

Twitter Profile Scraper (by Username)

mn06pz6r/gen-ju-yong-hu-ming-huo-qu-x-ge-ren-xin-xi

Twitter Profile Scraper (by Username) extracts a complete Twitter/X profile and its recent tweets using just a username. Provide one or more usernames and it will return the full profile metadata along with an array of recent posts.

Try for Free

What does Twitter Profile Scraper (by Username) do?

Twitter Profile Scraper (by Username) extracts a complete Twitter/X profile and its recent tweets using just a username. Provide one or more usernames and it will return the full profile metadata along with an array of recent posts.

  • Scrape complete profile data from any public Twitter/X account by username
  • Retrieve profile metadata: display name, biography, followers, following, posts count, location, join date, and more
  • Extract recent tweets as an embedded array with full engagement metrics
  • Get profile images including avatar and banner
  • Capture external links and verification status
  • Support multiple usernames in a single run with configurable post limits
  • Connect Twitter Profile Scraper to any AI chatbot using Apify MCP server
  • Export via SDKs (Python & Node.js), use API Endpoints, webhooks, or integrate with workflows

What data can you get from Twitter

Twitter Profile Scraper (by Username) can gather any kind of data from Twitter/X, such as:

👤 Profile name📛 Display name📜 Biography
👥 Followers➡️ Following📊 Posts count
📅 Date joined📍 Location🔗 External link
🖼️ Profile image🖼️ Banner image✅ Verification status
📝 Recent tweets❤️ Likes per tweet👁️ Views per tweet
🔁 Reposts per tweet💬 Replies per tweet🏷️ Hashtags per tweet

How to scrape Twitter profiles with Twitter Profile Scraper (by Username)?

Twitter Profile Scraper (by Username) is user-friendly, offering a smooth start even for those who have never extracted data from Twitter before. Here's how to scrape Twitter profiles in 5 steps:

  1. Create a free Apify account using your email.
  2. Open Twitter Profile Scraper (by Username).
  3. Add one or more usernames, and set the maximum number of posts per profile.
  4. Click the "Start" button and wait for the data to be extracted.
  5. Download your data in JSON, XML, CSV, Excel, or HTML.

Input

To start scraping Twitter profiles, fill in the input form. Twitter Profile Scraper (by Username) recognizes the following input parameters:

  • username (stringList, required): Twitter/X usernames. Each item contains a string field with a username.
  • max_number_of_posts (integer, default 10): Maximum number of recent posts to fetch per profile.
  • timeout (integer, default 20): Request timeout in seconds.

Input JSON

json
{
  "username": [
    { "string": "elonmusk" },
    { "string": "naval" }
  ],
  "max_number_of_posts": 10,
  "timeout": 20
}

Output

The results will be wrapped into a dataset which you can find in the Storage tab. Each profile produces one output row with a posts array containing the recent tweets. Here is what it looks like in JSON:

json
{
  "x_id": "44196397",
  "url": "https://x.com/elonmusk",
  "id": "Elon Musk",
  "profile_name": "elonmusk",
  "biography": "Mars & Cars, Chips & Dips",
  "is_verified": true,
  "profile_image_link": "https://pbs.twimg.com/profile_images/sample.jpg",
  "external_link": "https://example.com",
  "date_joined": "2009-06-02T00:00:00.000Z",
  "following": 500,
  "followers": 150000000,
  "subscriptions": 0,
  "location": "Austin, TX",
  "posts_count": 35000,
  "banner_image": "https://pbs.twimg.com/profile_banners/sample.jpg",
  "posts": [
    {
      "id": "1900000000000000000",
      "user_posted": "elonmusk",
      "name": "Elon Musk",
      "description": "Sample tweet text here",
      "date_posted": "2025-06-01T12:00:00.000Z",
      "photos": ["https://pbs.twimg.com/media/sample.jpg"],
      "url": "https://x.com/elonmusk/status/1900000000000000000",
      "tagged_users": null,
      "replies": 1234,
      "reposts": 567,
      "likes": 8901,
      "views": 234567,
      "external_url": null,
      "hashtags": ["tech", "AI"],
      "followers": 150000000,
      "biography": "Mars & Cars, Chips & Dips",
      "posts_count": 35000,
      "profile_image_link": "https://pbs.twimg.com/profile_images/sample.jpg",
      "following": 500,
      "is_verified": true,
      "quotes": 123,
      "bookmarks": 456,
      "videos": [],
      "verification_type": "blue",
      "user_id": "44196397",
      "error": "",
      "error_code": ""
    }
  ],
  "input": { "string": "elonmusk", "max_number_of_posts": 10 },
  "error": "",
  "error_code": ""
}

How can I use the data scraped from Twitter profiles?

  • 📊 Build influencer analysis dashboards with profile stats and engagement metrics
  • 📋 Create a pipeline of high-quality marketing leads from Twitter
  • 🔬 Conduct competitive benchmarking by comparing profiles side by side
  • 📈 Track follower growth and posting frequency over time
  • 🧠 Feed profile and tweet data into AI models for audience analysis
  • 🪧 Identify brand ambassadors and partnership opportunities
  • 📚 Research account authenticity and verification patterns

Error items

When the scraper cannot retrieve data for a given input — for example a profile is private or does not exist — it pushes an error item to the dataset instead of silently skipping it. Normal output items are never affected; you can tell them apart by the presence of a non-empty error field.

Error item structure

json
{
  "x_id": "",
  "url": "",
  "id": "",
  "profile_name": "",
  "biography": "",
  "is_verified": "",
  "profile_image_link": "",
  "external_link": "",
  "date_joined": "",
  "following": "",
  "followers": "",
  "subscriptions": "",
  "location": "",
  "posts_count": "",
  "posts": "",
  "banner_image": "",
  "input": { "string": "nonexistentuser" },
  "error": "User not found",
  "error_code": "404"
}

Error codes reference

error_codeMeaning
400Bad input — missing or malformed username
404Profile or tweets not found, or data retrieval failed
500Internal error during crawling

FAQ

How much does it cost to use Twitter Profile Scraper (by Username)?

Twitter Profile Scraper (by Username) uses the pay-per-event (PPE) pricing model. You're charged a fixed price for specific events. Your costs can be easily calculated using the information in the Actor's pricing tab.

Can I scrape multiple profiles at once?

Yes. The username input accepts an array of items. Each item contains a string field with the username. The max_number_of_posts parameter applies globally to all usernames in a single run.

Can I use Twitter Profile Scraper (by Username) with the Apify API?

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify Actors. The API also lets you access any datasets, monitor Actor performance, fetch results, create and update versions, and more.

Your feedback

We're always working on improving the performance of our Actors. If you have any technical feedback or found a bug, please create an issue in the Issues tab.

Pricing

Failed results don't count

Rating

5.0

Developer

mn06pz6r

Worker Stats

3 Total runs
Success rate: 100.00%
Last updated: Jul 08, 2026

Categories

Other

Share

You might also like

Explore more popular scrapers from our marketplace

View All Scrapers
Twitter Post Scraper (by Profile URL)

Twitter Post Scraper (by Profile URL)

by mn06pz6r

Twitter Post Scraper (by Profile URL) extracts recent tweets from any public Twitter/X profile. Provide one or more profile URLs and it will fetch the latest posts along with engagement metrics and author details.

5.0
2 runs
From $0.6/1,000 results
Twitter Profile Scraper (by Profile URL)

Twitter Profile Scraper (by Profile URL)

by mn06pz6r

Twitter Profile Scraper (by Profile URL) extracts a complete Twitter/X profile and its recent tweets in a single run. Provide one or more profile URLs and it will return the full profile metadata along with an array of recent posts.

5.0
2 runs
From $0.6/1,000 results
Twitter Post Scraper (by Post URL)

Twitter Post Scraper (by Post URL)

by mn06pz6r

Twitter Post Scraper (by Post URL) extracts a single Twitter/X post with all its details by post URL. Provide one or more tweet URLs and it will return the full post data including engagement metrics, media, hashtags, and author information.

5.0
6 runs
From $0.6/1,000 results
Made-in-China Supplier Intelligence Scraper | Extract Company Profiles, Contacts & Trade Data

Made-in-China Supplier Intelligence Scraper | Extract Company Profiles, Contacts & Trade Data

by mmi0cuhn

Scrape Made-in-China supplier pages and collect structured company profiles, main products, audit report numbers, trade details, certificates, shipment images, and contact information for B2B sourcing workflows.

5.0
25 runs
From $0.6/1,000 results
View All Scrapers
CoreClaw

Deploy ready-to-use Workers to accelerate your data collection workflows.

Email: support@coreclaw.com

Resources

  • Quick Start
  • API Reference
  • Leads
  • Affiliate Program

Recommend

  • Store
  • Pricing

Address

Apex DataWorks Limited

UNIT 9, 1/F, THE CLOUD, 111 TUNG CHAU STREET, TAI KOK TSUI, KOWLOON,HONG KONG