# X Tweets Scraper: Profile Posts, Likes, Media, No Login (`one_dollar_store/x-tweets-scraper`) Actor

X tweets scraper for public accounts, no login: posts with text, date, likes, replies, reposts, quotes, media, links, hashtags and author followers, or one profile row per account. From $1 per 1,000 results, platform usage included.

- **URL**: https://apify.com/one_dollar_store/x-tweets-scraper.md
- **Developed by:** [One Dollar Store](https://apify.com/one_dollar_store) (community)
- **Categories:** Social media, Marketing, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## X Tweets Scraper: posts and profiles from public accounts, no login

**From $1 per 1,000 results. Platform usage included. No rental, no minimum.**

X Tweets Scraper returns the recent posts of any public X (Twitter) account: text, date, likes, replies, reposts, quotes, media, links, hashtags and the author's follower numbers. It reads the public embedded timeline that X serves to any visitor. There is no login, no cookie, no API key and no browser. Switch the result type to profiles and you get one row per account instead.

[Open it in Apify Console](https://console.apify.com/actors/3fkKYRqVqchheVfri/input)

### How much does X Tweets Scraper cost?

One price per row: from $0.001 per result row, platform usage included, so there is no separate compute or proxy bill.

| Results | Price |
|---|---|
| 1,000 | $1.00 |
| 10,000 | $10.00 |
| 100,000 | $100.00 |

The table shows the Gold, Platinum and Diamond price. On the Free plan the same runs cost $1.75 per 1,000, Bronze $1.50 and Silver $1.25.

Example: 200 accounts with their 20 latest posts each is 4,000 rows, which costs $4.00.

### Why use it

- Plain public data. It needs no X account, no cookie and no developer key.
- Wide rows. Each post carries counts, media with video links, hashtags, mentions, expanded links, link card text and the author's followers, bio and location.
- Clean data. Numbers are numbers, dates are ISO 8601, ids are strings so no digit is lost.
- Filters. Leave out reposts, keep posts from a date range, or keep only posts above a number of likes.

### How to use X Tweets Scraper

1. Open the actor in Apify Console.
2. Type usernames, one per line (NASA, @BBCWorld or a profile link).
3. Press Start. Rows appear in the Output tab within seconds.

Small input that works:

```json
{ "usernames": ["NASA", "BBCWorld"], "resultType": "tweets", "maxItems": 40 }
```

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/one_dollar_store~x-tweets-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames":["NASA"],"maxItems":20}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("one_dollar_store/x-tweets-scraper").call(run_input={
    "usernames": ["NASA", "BBCWorld"],
    "includeRetweets": False,
    "maxItems": 100,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["authorUsername"], row["likeCount"], row["text"][:80])
```

### Use it from an AI assistant

Server address: `https://mcp.apify.com?tools=one_dollar_store/x-tweets-scraper`

Example request: "Get the latest posts of the NASA and ESA accounts on X and tell me which one got the most likes."

### Switching from another X or Twitter scraper

Main inputs here: `usernames`, `resultType` (tweets or profiles), `includeRetweets`, `sinceDate`, `untilDate`, `minLikes`, `maxItems`. Core output fields: `id`, `url`, `text`, `createdAt`, `likeCount`, `replyCount`, `retweetCount`, `quoteCount`, `media`, `hashtags`, `authorUsername`, `authorFollowers`. Keyword search, view counts, replies of other people and follower lists are not available without a login, see Limits.

### Input

| Field | What it does |
|---|---|
| `usernames` | Usernames, @names or profile links, one per line. |
| `resultType` | `tweets` for one row per post, `profiles` for one row per account. |
| `maxTweetsPerProfile` | Most posts to take from each account (X shows about 20). |
| `includeRetweets` | Turn off to leave out reposts of other accounts. |
| `sinceDate`, `untilDate` | Keep posts from this date range, as YYYY-MM-DD. |
| `minLikes` | Leave out posts with fewer likes. |
| `maxItems` | Stop after this many rows in total. |
| `proxyConfiguration` | Datacenter proxy, included in the price. |

### What data does X Tweets Scraper return?

Post rows (`type` is `tweet`): `id`, `url`, `text`, `createdAt`, `language`, `conversationId`, `likeCount`, `replyCount`, `retweetCount`, `quoteCount`, `isRetweet`, `isReply`, `isQuote`, `replyToTweetId`, `replyToUsername`, `quotedTweetId`, `quotedUsername`, `retweetedTweetId`, `retweetedUsername`, `retweetedText`, `retweetedLikeCount`, `hashtags`, `mentions`, `links`, `media` (type, url, videoUrl, durationMs, width, height, altText), `mediaCount`, `hasMedia`, `possiblySensitive`, link card fields (`cardType`, `cardTitle`, `cardDescription`, `cardDomain`, `cardUrl`), and the author: `authorUsername`, `authorId`, `authorName`, `authorDescription`, `authorLocation`, `authorCreatedAt`, `authorFollowers`, `authorFollowing`, `authorTweetsCount`, `authorIsBlueVerified`, `authorVerifiedType`, `authorIsProtected`.

Profile rows (`type` is `profile`): `id`, `username`, `url`, `name`, `description`, `location`, `website`, `createdAt`, `followersCount`, `followingCount`, `tweetsCount`, `likesCount`, `mediaCount`, `listedCount`, `isBlueVerified`, `isVerified`, `verifiedType`, `isProtected`.

Every row also has `scrapedAt`. Fields that X does not show for a post are left out of the row.

### Sample results

```json
{
  "type": "tweet",
  "id": "2121280846183137564",
  "url": "https://x.com/NASA/status/2121280846183137564",
  "text": "Let's talk about Voyager 1 and 2! ...",
  "createdAt": "2026-11-13T16:35:39.000Z",
  "likeCount": 1168,
  "replyCount": 72,
  "retweetCount": 197,
  "quoteCount": 19,
  "isRetweet": false,
  "media": [{ "type": "photo", "url": "https://pbs.twimg.com/media/HXBNsEVWgAAsCUY.jpg", "width": 1280, "height": 1058 }],
  "authorUsername": "NASA",
  "authorFollowers": 92247606,
  "authorIsBlueVerified": true
}
```

```json
{
  "type": "tweet",
  "id": "2121295966485545066",
  "url": "https://x.com/BBCWorld/status/2121295966485545066",
  "text": "Driver who fled to Latvia after killing schoolboy jailed https://t.co/uoaobV5uCY",
  "createdAt": "2026-11-13T17:35:44.000Z",
  "likeCount": 53,
  "replyCount": 6,
  "retweetCount": 8,
  "authorUsername": "BBCWorld",
  "authorName": "BBC News (World)",
  "authorFollowers": 42358635
}
```

### Limits

- About the 20 latest posts per account. The public embedded timeline has no way to page back further.
- No keyword or hashtag search. X shows search only to logged in users, and this actor never logs in.
- No view counts, no bookmarks counts, no replies written by other people and no follower lists. The embedded timeline does not carry them.
- A repost row carries the counts X gives for the repost entry itself (likes are usually 0). The original post's likes and reposts are in the `retweetedLikeCount` and `retweetedRetweetCount` fields.
- A few accounts return no posts in the embedded timeline. They give no rows and a note in the log.
- Protected accounts cannot be read.
- X allows 30 reads per address in a 15 minute window and says when the window reopens. The actor waits for it, so a run over about 30 accounts pauses. One thousand rows from 50 accounts takes about 15 to 20 minutes. Rows already saved stay in your dataset.
- Tested on Apify, from datacenter proxy addresses, on 14 November 2026 (IST): 1,000 rows from 58 accounts took 933 seconds including the 15 minute wait for the second window.

### FAQ

**How much does it cost to scrape 10,000 posts?**
$10.00 (10,000 rows at $0.001). With about 20 posts per account that is 500 accounts.

**Do I pay for compute or proxy on top?**
No. The price per result includes platform usage and the proxy.

**Do I need an X account or an API key?**
No. The actor reads what X shows any visitor.

**Why are there only about 20 posts per account?**
The public timeline that X embeds in web pages shows about 20 posts and offers no next page. Run the actor on a schedule and keep the rows if you want a longer history.

**Is it legal?**
The actor reads public pages only, with no login. You are responsible for lawful use of the data, including privacy law (for example GDPR) and rules on marketing messages. X's terms of service restrict automated collection without its written permission, and X's robots.txt disallows crawling for general user agents. This actor reads the public embed page at a polite pace, with a User-Agent that names it, and stops when X refuses. Check that your use fits X's terms and your local law before you rely on the data.

**Is this an official X product?**
No. It is an independent tool and is not affiliated with X Corp.

**What if a run returns nothing?**
An unknown or protected account, or an account X shows no posts for, gives 0 rows and a line in the log. A run with 0 rows costs nothing.

### Support

Found a problem or need a field? Open an issue on the actor page. If a run worked for you, a rating on the actor page helps other buyers find it.

### Feedback and support

Found a problem or want a field added? Open an issue on the Issues tab of this actor and it gets read. If the actor saved you time, an honest rating on the Reviews tab helps other people find it.

**Do I need an Apify account?**
Yes. Actors run from an Apify account, and a free account is enough to start: it includes $5 of platform usage every month. You can [sign up here](https://www.apify.com?fpr=ymnoit). This is a referral link and it costs you nothing.

### More from The One Dollar Store

Prices here start at $1 per 1,000 results, platform usage included. See the whole store: https://apify.com/one_dollar_store

**Social media**

- [Threads Scraper](https://apify.com/one_dollar_store/threads-post-scraper): Public Threads posts by keyword or profile.
- [Instagram Profile Scraper](https://apify.com/one_dollar_store/instagram-profile-data-scraper): Followers, posts and engagement for public profiles.
- [TikTok Hashtag Scraper](https://apify.com/one_dollar_store/tiktok-hashtag-videos-scraper): Videos, views and creators for any hashtag.
- [Pinterest Pin Search Scraper](https://apify.com/one_dollar_store/pinterest-pin-search-scraper): Public pins with images and outbound links.
- [Telegram Channel Scraper](https://apify.com/one_dollar_store/telegram-channel-posts-scraper): Posts, views and media from public channels.
- [Xiaohongshu Scraper](https://apify.com/one_dollar_store/xiaohongshu-explore-feed-scraper): RedNote notes from the public explore feeds.
- [Facebook Ad Library Scraper](https://apify.com/one_dollar_store/facebook-ad-library-scraper): Meta ads by keyword or advertiser page.
- [Username Availability Checker](https://apify.com/one_dollar_store/username-availability-checker): Check if a username is free across sites.
- [Podcast Episodes Scraper](https://apify.com/one_dollar_store/podcast-episodes-scraper): Episodes from Apple Podcasts and RSS feeds.
- [Threads Profile Scraper](https://apify.com/one_dollar_store/threads-profile-posts-scraper): Public posts and follower counts for Threads profiles.

### Changelog

- 14 November 2026: clearer description and headings, field details for AI tools. Price and output unchanged.
- November 2026: first release.

# Actor input Schema

## `usernames` (type: `array`):

One per line. A username (NASA), with an at sign (@NASA) or a profile link (https://x.com/NASA). X shows about the 20 most recent posts of each account.

## `resultType` (type: `string`):

Posts returns one row per post with the author's profile numbers. Profiles returns one row per account.

## `maxTweetsPerProfile` (type: `integer`):

Most posts to take from each account. X shows about 20 recent posts per account, so higher values change nothing for most accounts.

## `includeRetweets` (type: `boolean`):

Turn off to leave out posts that are reposts of other accounts.

## `sinceDate` (type: `string`):

Optional. Date as YYYY-MM-DD. Older posts are left out.

## `untilDate` (type: `string`):

Optional. Date as YYYY-MM-DD. Newer posts are left out.

## `minLikes` (type: `integer`):

Leave out posts with fewer likes than this. 0 keeps everything.

## `maxItems` (type: `integer`):

Stop after this many rows in total. Minimum 10.

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

Datacenter proxy is enough. Its cost is included in the price.

## Actor input object example

```json
{
  "usernames": [
    "NASA",
    "BBCWorld",
    "TechCrunch"
  ],
  "resultType": "tweets",
  "maxTweetsPerProfile": 20,
  "includeRetweets": true,
  "minLikes": 0,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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 = {
    "usernames": [
        "NASA",
        "BBCWorld",
        "TechCrunch"
    ],
    "maxTweetsPerProfile": 20,
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("one_dollar_store/x-tweets-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 = {
    "usernames": [
        "NASA",
        "BBCWorld",
        "TechCrunch",
    ],
    "maxTweetsPerProfile": 20,
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("one_dollar_store/x-tweets-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "usernames": [
    "NASA",
    "BBCWorld",
    "TechCrunch"
  ],
  "maxTweetsPerProfile": 20,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call one_dollar_store/x-tweets-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,one_dollar_store/x-tweets-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/3fkKYRqVqchheVfri/builds/LJO4ePBCiMaL1OzgH/openapi.json
