# Twitter Scraper: New Tweets From Any X Account, No Login (`h1018y/anvil-twitter-scraper`) Actor

Scrapes public X (Twitter) accounts without login or cookies and returns the tweets that are new since your last run, with likes, reposts, replies and views, plus a warning when tweets may have been missed.

- **URL**: https://apify.com/h1018y/anvil-twitter-scraper.md
- **Developed by:** [ANVIL Tools](https://apify.com/h1018y) (community)
- **Categories:** Social media, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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

## Twitter Scraper: New Tweets From Any X Account, No Login

**Twitter Scraper** - Watch any public X accounts - no cookies, no account, no API bill. Get their new posts with likes and views since your last run.

### What does Twitter Scraper do?

No cookies or X account to feed it, it remembers what it already showed you, and it warns you when an account posted so much since the last run that a post could have slipped by - the popular tweet scrapers ask for your session cookies or charge per thousand tweets.

- No login, cookies or X account needed
- Marks each post new or seen since your last run, with an only-new switch
- Likes, reposts, replies, quotes, bookmarks and views on every post
- Warns when posts may have been missed so you can run it more often
- Optional keyword filter across all accounts

### Why this Twitter Scraper?

Cookie-based scrapers break when sessions expire or accounts get suspended. This Twitter Scraper checks every run and tells you plainly when a page could not be read, instead of returning empty or wrong rows.

### How to use Twitter Scraper

1. Press **Start** - the form already holds an example that works.
2. Put in your own input (see the fields on the Input tab).
3. Run it once, or put it on an **Apify Schedule** to get fresh rows every day.
4. Download the results as JSON, CSV or Excel, or send them to Google Sheets, Zapier, Make, the Apify API or an AI agent (Apify MCP server).

#### Input example

```json
{
  "accounts": [
    "NASA",
    "elonmusk"
  ],
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "status": "seen",
    "account": "elonmusk",
    "url": "https://x.com/elonmusk/status/2109955246923641259",
    "postId": "2109955246923641259",
    "postedAt": "2026-10-13T10:31:46+00:00",
    "text": "Grok @Bot is like hiring a super smart employee",
    "isRepost": false,
    "postedBy": "elonmusk",
    "matched": [],
    "likes": 5521,
    "reposts": 788,
    "replies": 1428,
    "quotes": 151,
    "bookmarks": 281,
    "views": 1839789,
    "accountFollowers": 241510819,
    "possibleGap": false,
    "checkedAt": "2026-10-13T17:24:12+00:00"
  },
  {
    "status": "seen",
    "account": "NASA",
    "url": "https://x.com/NASA/status/2109951629889798342",
    "postId": "2109951629889798342",
    "postedAt": "2026-10-13T10:17:24+00:00",
    "text": "LIVE: A new delivery of science and supplies is about to lift off for the @Space_Station. @SpaceX's Dragon spacecraft is scheduled to launch on its cargo resupply mission at 6:33am ET (1033 UTC). https://t.co/M7AFwzA3BK",
    "isRepost": false,
    "postedBy": "NASA",
    "matched": [],
    "likes": 1410,
    "reposts": 234,
    "replies": 114,
    "quotes": 27,
    "bookmarks": 51,
    "views": 601541,
    "accountFollowers": 92328313,
    "possibleGap": false,
    "checkedAt": "2026-10-13T17:24:12+00:00"
  }
]
```

One flat row per result.

### How much does Twitter Scraper cost?

You pay only per result (pay per event) - no monthly fee, no minimum, and the price per result is lower on Apify's Bronze, Silver and Gold plans. The exact price is on the **Pricing** tab. Apify's free plan credit is enough to try it on real input.

### Also searched as

- x scraper
- tweet scraper
- twitter account monitor
- x account tracker
- twitter scraper no login

### FAQ

**Does Twitter Scraper need a login, cookies or an API key?** No. It reads public pages only.

**Can I run Twitter Scraper on a schedule?** Yes - with Apify Schedules; each run returns fresh rows.

**Can I call it from Python, JavaScript or an AI agent?** Yes - through the Apify API, the Apify client libraries or the Apify MCP server.

**Is it legal?** It collects only data anyone can see without logging in. You are responsible for using it within the source site's terms and data protection law (GDPR, CCPA).

**What if the site blocks a request?** The run retries from a fresh connection and, if it still cannot read the page, stops with a clear message - never with made-up rows.

Data source: [x.com](https://x.com)

### More tools from this developer

- [Tweet Details by URL: Likes, Replies, Media - No Login](https://apify.com/h1018y/anvil-twitter-p16819-reliable)
- [YouTube Thumbnail Bulk Export with Title, Channel & Sizes](https://apify.com/h1018y/anvil-idea-15-reliable-v2)
- [ML Conference Alternatives: NeurIPS, ICLR, ICML by Topic](https://apify.com/h1018y/anvil-idea-533-reliable)
- [YouTube Transcript Search: Every Moment a Word Is Said](https://apify.com/h1018y/anvil-youtube-p45505-reliable-r10121932)
- [Facebook Ads Library Scraper: Only New Ads & Days Running](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Reddit Scraper: Keyword Alerts for New Posts & Comments](https://apify.com/h1018y/anvil-reddit-scraper)

# Actor input Schema

## `accounts` (type: `array`):

Public handles or profile links, one per line.

## `keywords` (type: `array`):

Optional. Leave empty to get every post.

## `onlyNew` (type: `boolean`):

Turn on for alerts. The first run is the baseline.

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

Stop after this many rows.

## `useApifyProxy` (type: `boolean`):

Recommended. X limits plain data-center traffic.

## `proxyGroups` (type: `array`):

Optional, e.g. RESIDENTIAL.

## Actor input object example

```json
{
  "accounts": [
    "NASA",
    "elonmusk"
  ],
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

# Actor output Schema

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

All result rows (open as table, JSON, CSV or Excel).

# 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 = {
    "accounts": [
        "NASA",
        "elonmusk"
    ],
    "maxItems": 10,
    "useApifyProxy": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("h1018y/anvil-twitter-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 = {
    "accounts": [
        "NASA",
        "elonmusk",
    ],
    "maxItems": 10,
    "useApifyProxy": True,
}

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-twitter-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 '{
  "accounts": [
    "NASA",
    "elonmusk"
  ],
  "maxItems": 10,
  "useApifyProxy": true
}' |
apify call h1018y/anvil-twitter-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,h1018y/anvil-twitter-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/XzjYhh9ljM7hSQgPk/builds/TYeeP3XXLQLYxQajT/openapi.json
