# X / Twitter Monitor - Search, Timeline & Lists (`tictechid/vanzi-x-monitor`) Actor

Monitor public X (Twitter) posts via search, user timelines, and multi-handle watchlists. Actor-owned residential proxy. Clean snake\_case JSON with engagement fields. No LLM / sentiment in v1.

- **URL**: https://apify.com/tictechid/vanzi-x-monitor.md
- **Developed by:** [TicTech](https://apify.com/tictechid) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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 / Twitter Monitor & Scraper — Search, Timeline & Watchlists

**Scrape and monitor public posts on X (Twitter)** without the official paid API. One Actor covers **keyword search**, **user timelines**, and **multi-handle watchlists** — with likes, reposts, replies, quotes, bookmarks, views, media flags, and clean post URLs ready for dashboards, alerts, CRM enrichment, and n8n / Make / Zapier.

Built for brand monitoring, competitor tracking, influencer research, and scheduled social listening on Apify.

### Why teams pick this Actor

- **Full monitor + scraper in one place** — `search` · `user_timeline` · `list` / watchlist
- **Rich engagement fields** — likes, reposts, replies, quotes, bookmarks, views, language, media flags
- **Clean post text** — normalized whitespace (no messy blank lines / `\n\n` dumps); readable in Output and exports
- **Clean snake\_case JSON** — `id`, `text`, `author`, `handle`, `created_at`, `url`, plus filter flags (`is_reply`, `is_repost`, `is_quote`)
- **Residential proxy included** — Actor-owned Apify RESIDENTIAL (no proxy UI to misconfigure)
- **Filters that matter** — toggle replies and reposts; hard `maxItems` cap for predictable cost
- **Example Tasks ready** — timeline, brand search, multi-handle watchlist
- **Pairs with transcripts** — scrape posts here, then send video URLs to [X Video Transcriber](https://apify.com/tictechid/vanzi-x-transcriber)

### Modes at a glance

| Mode | Best for | What you provide |
| --- | --- | --- |
| `user_timeline` | Tracking accounts, creators, competitors | One or more `handles` |
| `search` | Brand / keyword discovery with `from:handle` | `searchQuery` (+ optional seed `handles`) |
| `list` | Multi-account watchlists | `handles` and/or optional `listUrl` |

**Search tip:** Prefer `from:Handle keyword` (or pass seed `handles`) for reliable public results. When X’s native SearchTimeline is guest-walled, the Actor falls back to those handles and filters timeline posts by your keywords — so you still get structured data instead of an empty run.

**List tip:** Native X List timelines are probed; when guest-walled, your `handles` are the watchlist. Always pass the accounts you care about.

### Input examples

**User timeline (recommended start)**

```json
{
  "mode": "user_timeline",
  "handles": ["Apify"],
  "maxItems": 20,
  "includeReplies": false,
  "includeReposts": false
}
```

**Brand / keyword search**

```json
{
  "mode": "search",
  "searchQuery": "from:Apify scraper",
  "maxItems": 15
}
```

**Watchlist (multi-handle)**

```json
{
  "mode": "list",
  "handles": ["Apify", "apifydevops"],
  "maxItems": 20
}
```

### Output example

```json
{
  "id": "2106006297003106381",
  "text": "Some viral TikTok carousels are just paid ads...",
  "author": "Apify",
  "handle": "apify",
  "created_at": "2026-10-02T13:00:03Z",
  "likes": 4,
  "reposts": 0,
  "replies": 0,
  "views": 259,
  "url": "https://x.com/apify/status/2106006297003106381",
  "has_media": false,
  "has_video": false,
  "has_photo": false,
  "is_reply": false,
  "is_repost": false,
  "source_mode": "user_timeline"
}
```

Export as JSON, CSV, Excel, or XML from the Dataset / Output tab.

### How to run

1. Open **[X / Twitter Monitor](https://apify.com/tictechid/vanzi-x-monitor)** → **Try for free**
2. Pick a mode (start with `user_timeline`)
3. Add handles or a `from:` search query
4. Keep **maxItems ≤ 100** while testing on free credit
5. Open **Output** (or Storage → Dataset) and download

Schedule the Actor for recurring brand / competitor checks.

### More tools from TicTech

| Need | Actor |
| --- | --- |
| Transcribe X / Twitter videos | [X Video Transcriber](https://apify.com/tictechid/vanzi-x-transcriber) |
| TikTok / IG / YT Shorts → transcript | [Shorts Transcriber](https://apify.com/tictechid/anoxvanzi-Transcriber) |
| Instagram posts & reels | [Instagram Scraper](https://apify.com/tictechid/vanzi-instagram-scraper) |
| TikTok posts & profiles | [TikTok Scraper](https://apify.com/tictechid/vanzi-tiktok-scraper) |
| Bluesky posts & search | [Bluesky Scraper](https://apify.com/tictechid/vanzi-bluesky-scraper) |

> Tip: scrape the post with this Monitor, then pass video post URLs into **X Video Transcriber** for captions.

### Usage Limits

- **Free tier:** max items per run ≤ 100 while testing. When the Actor free-use gate is hit, the run exits **SUCCEEDED** with an upgrade tip (results kept).
- Hard `maxItems` ceiling per run (safe ceiling **500** when set to `0`)
- Need more capacity? [Apify pricing](https://apify.com/pricing?fpr=maxknj)
- Public data only — protected / suspended accounts return nothing
- X may rate-limit or wall some guest search / list surfaces; use `from:` / seed handles for reliable search

### Pricing

Pay-per-event (PPE) on synthetic Apify events:

- **`apify-default-dataset-item`** — per post pushed (~**$1.50 / 1k** on FREE; lower on paid tiers)
- **`apify-actor-start`** — small per-run start fee (scales with RAM)

Runs stay lean (HTTP GraphQL, no browser). Dominant cost is residential proxy + compute — keep `maxItems` tight on schedules.

For more details, contact the maintainer or email us at contact@tictech.id

# Actor input Schema

## `mode` (type: `string`):

search = keyword / from:handle discovery; user\_timeline = posts from handles; list = multi-handle watchlist (native X List GraphQL is guest-walled — provide handles).

## `handles` (type: `array`):

X handles (with or without @). Required for user\_timeline and list. Optional for search (seeds keyword filtering).

## `searchQuery` (type: `string`):

Required for search mode. Supports free text and from:handle operators (e.g. from:Apify scraper). When X SearchTimeline is guest-walled, the Actor resolves from: handles / seed handles and filters timeline posts by keywords.

## `listUrl` (type: `string`):

Optional https://x.com/i/lists/{id} or https://x.com/{user}/lists/{slug}. Native list timeline is probed; when guest-walled, use handles as the watchlist members.

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

Hard cap of posts to push. Use 0 for a safe ceiling of 500. Free-tier tip: keep ≤100 while testing.

## `includeReplies` (type: `boolean`):

Keep reply posts in the output.

## `includeReposts` (type: `boolean`):

Keep pure retweets / reposts in the output.

## Actor input object example

```json
{
  "mode": "user_timeline",
  "handles": [
    "Apify"
  ],
  "searchQuery": "from:Apify",
  "maxItems": 20,
  "includeReplies": false,
  "includeReposts": false
}
```

# Actor output Schema

## `posts` (type: `string`):

Scraped public X posts in the default dataset. See the dataset schema for the complete item fields.

# 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 = {
    "handles": [
        "Apify"
    ],
    "searchQuery": "from:Apify"
};

// Run the Actor and wait for it to finish
const run = await client.actor("tictechid/vanzi-x-monitor").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 = {
    "handles": ["Apify"],
    "searchQuery": "from:Apify",
}

# Run the Actor and wait for it to finish
run = client.actor("tictechid/vanzi-x-monitor").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 '{
  "handles": [
    "Apify"
  ],
  "searchQuery": "from:Apify"
}' |
apify call tictechid/vanzi-x-monitor --silent --output-dataset

```

## MCP server setup

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

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/5P5iMqpNxto650JDh/builds/o0SsIMvI9eohk4x0B/openapi.json
