# Twitter (X) User Scraper - Profiles & Followers, No Login (`dami_studio/twitter-user-scraper`) Actor

Scrape X (Twitter) profiles without a login, token, or API key - at a fraction of apidojo's price. Paste usernames and get followers, following, tweet count, bio, location, verified status, image & join date. Failed lookups are free. Export JSON/CSV/Excel or send to Notion.

- **URL**: https://apify.com/dami\_studio/twitter-user-scraper.md
- **Developed by:** [Dami's Studio](https://apify.com/dami_studio) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 26 total users, 18 monthly users, 98.9% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## ⚡ Twitter (X) User Scraper — Profiles, Followers & Bios (No Login, No API Key)

**Get full X (Twitter) profile data without a login or API key.** Feed it usernames and get back **followers, following, tweet count, bio, location, verified status, profile image and join date** — perfect for bulk profile enrichment, influencer vetting, lead lists and audience research. Export to **JSON, CSV or Excel**, call it from the **API**, or deliver straight to **Notion**. **Just $0.40 per 1,000 profiles.**

> No account. No token to find. Paste handles and run.

### Why this scraper wins

- 🔓 **Truly keyless** — uses X's public guest-token GraphQL API. No credentials, ever.
- 🛡️ **Self-healing** — auto-repairs when X rotates its GraphQL feature flags, so it keeps working when other scrapers break.
- 💸 **Cheaper** — $0.40 / 1,000 profiles, billed per profile returned (failed lookups cost nothing).
- 🧹 **Clean, flat records** — one tidy object per profile, ready for spreadsheets or CRM import.
- 📬 **Built-in Notion delivery** — push results straight into Notion via Apify connectors, zero extra code.
- 🚦 **Honest errors** — a clear `errorCode` row for suspended/not-found handles instead of silent gaps.

### Input

- **`twitterHandles`** — usernames to look up (e.g. `nasa`, `elonmusk`).
- **`startUrls`** — or paste profile URLs (`https://x.com/nasa`).
- **`proxyConfiguration`** — Residential recommended.
- **`notionConnector`** — optional Notion delivery.

### Output (one record per profile)

```json
{
  "id": "11348282",
  "userName": "NASA",
  "name": "NASA",
  "description": "There's space for everybody. ✨",
  "followersCount": 84000000,
  "friendsCount": 180,
  "statusesCount": 71000,
  "verified": true,
  "isBlueVerified": false,
  "location": "",
  "profileImageUrl": "https://pbs.twimg.com/profile_images/....jpg",
  "createdAt": "Wed Dec 19 20:20:32 +0000 2007",
  "url": "https://x.com/NASA"
}
```

### Pricing

**$0.40 per 1,000 profiles** (pay-per-result). Only successful lookups are charged.

### FAQ

**Do I need a Twitter account or API key?** No — profiles are fully keyless.

**How many handles per run?** As many as you like; you pay per profile returned.

**Want the tweets too?** Use the companion **Tweet Scraper** for timelines and search.

# Actor input Schema

## `twitterHandles` (type: `array`):

X / Twitter usernames (with or without @) to fetch full profile data for. Example: elonmusk, nasa.

## `startUrls` (type: `array`):

Or paste profile URLs directly (https://x.com/nasa).

## `proxyConfiguration` (type: `object`):

Residential proxy recommended for sustained scraping (datacenter IPs get rate-limited by X faster).

## `notionConnector` (type: `string`):

Optional. Deliver the profiles to your connected Notion via Apify MCP connectors.

## `notionParentId` (type: `string`):

Optional Notion database/data-source id to create the pages in.

## Actor input object example

```json
{
  "twitterHandles": [
    "nasa",
    "elonmusk"
  ],
  "startUrls": [
    "https://x.com/nasa"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped tweets are stored in the default dataset (one row per tweet). Blocked/empty/error runs return a single uncharged diagnostic row instead.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "twitterHandles": [
        "nasa",
        "elonmusk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dami_studio/twitter-user-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "twitterHandles": [
        "nasa",
        "elonmusk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("dami_studio/twitter-user-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "twitterHandles": [
    "nasa",
    "elonmusk"
  ]
}' |
apify call dami_studio/twitter-user-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dami_studio/twitter-user-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/2e3eZoUebkZzrlS6h/builds/muPLpHzSaaAinGPid/openapi.json
