# X Account Change Monitor (`coregent/x-account-change-monitor`) Actor

Monitor public X (Twitter) accounts on a schedule. Get one row per change to bio, handle, display name, website, verification badge or follower counts, with previous and current values. No login, no cookies. Pay per account checked and per change found.

- **URL**: https://apify.com/coregent/x-account-change-monitor.md
- **Developed by:** [Delowar Munna](https://apify.com/coregent) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 account checks

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) Account Change Monitor

![X Account Change Monitor](https://raw.githubusercontent.com/coregentdevspace/x-account-change-monitor-assets/main/thumbnail-x-account-change-monitor.png)

Know when a public X account changes its **bio, handle, display name, website, verification badge or audience size**. Run this Actor on a schedule: the first run records each account's profile as a baseline, and every later run returns **one row per change**, with the value before, the value now, the size of the move and when it was seen.

- Watch competitors, clients, journalists, politicians or portfolio companies, up to 1,000 accounts per run.
- Follows each account by its permanent ID, so a **handle change is reported, not lost**.
- Follower moves are filtered by thresholds you set, so you get real shifts, not daily noise.
- Your monitoring state stays in **your own Apify account**.
- No X login, no cookies, no browser. Export as JSON, CSV or Excel, or send changes to Slack, email or a webhook.

### What can you do with it?

- **Competitor intelligence**: see when a rival rebrands, changes its tagline, adds a launch link or gets a business badge.
- **Agencies and PR**: get told when a client's or an influencer's profile changes, or when an account goes private.
- **Journalism and research**: keep an observed record of when officials or organisations change their public profiles.
- **Investor research**: follow companies' audience growth and messaging changes over time.

### How to use it

1. Add the accounts to watch: **X handles** (`apify`, `@NASA`), **profile URLs** (`https://x.com/nasa`) or **numeric user IDs**.
2. Pick the **fields to watch** and, for follower counts, the **thresholds**.
3. Run it once. That run records the baseline: you get a snapshot row per account and no change rows yet.
4. Save the input as a **task** and **schedule** it (for example daily). Every scheduled run compares with the previous one and saves the changes.

#### What it watches

| Field                                                                        | Reported when                                                     |
| ---------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| `bio`                                                                        | The bio text changes, is added or is cleared                      |
| `username`                                                                   | The account changes its @handle                                   |
| `displayName`                                                                | The display name changes                                          |
| `website`                                                                    | The profile link changes, is added or is removed                  |
| `verified`                                                                   | The badge changes (e.g. `Business`, `Government`, `blue`, `none`) |
| `followersCount`                                                             | The move reaches your follower thresholds                         |
| `followingCount`                                                             | The move reaches your following thresholds                        |
| `postsCount`, `location`, `isProtected`, `profileImageUrl`, `bannerImageUrl` | Optional; pick them in **Fields to watch**                        |

#### Count thresholds

A follower, following or post count change is reported when it reaches **both** its absolute and its percent threshold. The default for followers is **100 followers and 1%**. Set one of a pair to 0 to use only the other.

The change is measured from the value at the **last reported change** (or the baseline), not from the last run. So an account gaining 60 followers a day isn't missed: with the default 100-follower threshold, it's reported on the second day with a change of 120.

#### Monitoring state

Runs with the same **State key** compare with each other. Use a separate key per watch list, for example `competitors` and `clients`. The snapshots are stored in a key-value store named `x-account-change-monitor-state` in your own Apify account. To start a list over, use a new state key.

Changes are found by comparing snapshots, so `observedAt` is when this monitor saw the change, not the exact moment it happened on X. Every change row also has `previousObservedAt`: the change happened between those two times.

#### Accounts that disappear

A lookup can fail for reasons that have nothing to do with the account: a temporary error, a rate limit. So by default a missing account is **not** reported as deleted. It's listed in `FAILED_TARGETS` and its last snapshot is kept. Turn on **Report accounts that become unavailable** to get an `accountStatus` change row (with `confidence: "uncertain"`) after a set number of failed checks in a row, and another when the account comes back.

### Monitor on a schedule

1. Run the Actor once with your accounts and save the input as a **task**.
2. In the task, open **Schedules** and pick how often to check (daily works well for most lists).
3. Add an **integration** to get the changes where you work: Slack, email, Google Sheets, Make, Zapier or a webhook. Turn off **Save a snapshot row per account** if you only want change rows in your alerts.

### Input examples

#### Watch a competitor list daily

```json
{
    "handles": ["apify", "NASA", "SpaceX"],
    "stateKey": "competitors"
}
```

#### Only handle, badge and big audience moves

```json
{
    "profileUrls": ["https://x.com/nasa", "https://x.com/spacex"],
    "watchFields": ["username", "verified", "followersCount"],
    "metricThresholds": { "followersCountAbsolute": 10000, "followersCountPercent": 0 },
    "outputSnapshots": false,
    "stateKey": "space-big-moves"
}
```

#### Ten news and tech accounts, every count move reported

This is the input behind the screenshots and sample rows below. The count thresholds are set to 1 so every follower and post move is reported, which suits a demo; for real monitoring, keep the defaults or higher.

```json
{
    "handles": ["NASA", "SpaceX", "apify", "github", "Reuters", "BBCWorld", "nytimes", "verge", "NatGeo", "esa"],
    "watchFields": [
        "bio",
        "username",
        "displayName",
        "website",
        "verified",
        "followersCount",
        "followingCount",
        "postsCount"
    ],
    "metricThresholds": {
        "followersCountAbsolute": 1,
        "followersCountPercent": 0,
        "followingCountAbsolute": 1,
        "followingCountPercent": 0,
        "postsCountAbsolute": 1,
        "postsCountPercent": 0
    },
    "outputSnapshots": true,
    "stateKey": "readme-screenshot"
}
```

#### Track accounts by ID and report ones that vanish

```json
{
    "userIds": ["11348282", "34743251"],
    "reportUnavailableAccounts": true,
    "unavailableAfterChecks": 3,
    "stateKey": "watchlist-ids"
}
```

### Output

Each run saves two kinds of rows to the dataset (`recordType`):

- `account_change`: one per detected change.
- `account_snapshot`: one per checked account, with its profile now and how many changes were found (unless you turn snapshots off).

The **Changes**, **Snapshots** and **Provenance** tabs show them. Both kinds share one dataset, so each tab also lists the other kind's rows, with that tab's columns empty: in the Changes tab, `account_snapshot` rows have no change values, and in the Snapshots tab, `account_change` rows have no profile values. That's layout, not missing data. To get one kind only, filter on `recordType` in your export or integration, or turn off **Save a snapshot row per account** for change rows only. A run summary (`RUN_SUMMARY`) and the accounts that couldn't be checked (`FAILED_TARGETS`) are saved in the key-value store.

#### Changes

![Changes tab](https://raw.githubusercontent.com/coregentdevspace/x-account-change-monitor-assets/main/x-account-change-monitor-output-changes-table-view.png)

#### Snapshots

![Snapshots tab](https://raw.githubusercontent.com/coregentdevspace/x-account-change-monitor-assets/main/x-account-change-monitor-output-snapshots-table-view.png)

#### Provenance

![Provenance tab](https://raw.githubusercontent.com/coregentdevspace/x-account-change-monitor-assets/main/x-account-change-monitor-output-provenance-table-view.png)

#### Change row (JSON)

A real row from the run above: Reuters lost 29 followers between two checks 40 minutes apart.

```json
{
    "recordType": "account_change",
    "changeId": "d7de50144c5c77366c0b",
    "accountId": "1652541",
    "handle": "Reuters",
    "profileUrl": "https://x.com/Reuters",
    "field": "followersCount",
    "previousValue": 26453439,
    "currentValue": 26453410,
    "absoluteDelta": -29,
    "percentDelta": -0.0001096,
    "changeType": "metric_change",
    "confidence": "observed",
    "previousObservedAt": "2026-11-21T13:14:21.342Z",
    "observedAt": "2026-11-21T13:54:11.239Z",
    "firstSeenAt": "2026-11-21T13:02:52.154Z",
    "snapshotId": "ZVewT8Rc4ipQaLrFv",
    "stateKey": "readme-screenshot",
    "sourceInput": "Reuters",
    "sourceProvider": "tikhub",
    "schemaVersion": "1.0",
    "collectedAt": "2026-11-21T13:54:11.288Z"
}
```

`changeType` is `created` (a field that was empty now has a value), `updated`, `removed` (a value was cleared) or `metric_change` (counts). Count rows carry `absoluteDelta` and `percentDelta` (4 significant digits, so small moves on large accounts don't read as 0); other rows have `null` there. For counts, `previousValue` is the value at the last reported change.

#### Snapshot row (JSON)

The same account's snapshot from that run, with the two fields that changed:

```json
{
    "recordType": "account_snapshot",
    "accountId": "1652541",
    "handle": "Reuters",
    "profileUrl": "https://x.com/Reuters",
    "displayName": "Reuters",
    "bio": "Top and breaking news, pictures and videos from Reuters. For breaking business news, follow @ReutersBiz. Our daily podcast is here: https://t.co/KO0QFy0d3a",
    "website": "http://www.reuters.com",
    "verified": "Business",
    "followersCount": 26453410,
    "followingCount": 1199,
    "postsCount": 1411073,
    "location": "Around the world",
    "isProtected": false,
    "profileImageUrl": "https://pbs.twimg.com/profile_images/1874154135869616128/nJDmubGJ_400x400.jpg",
    "bannerImageUrl": "https://pbs.twimg.com/profile_banners/1652541/1573687397",
    "accountCreatedAt": "2007-03-20T17:46:05.000Z",
    "accountStatus": "active",
    "isBaseline": false,
    "changesDetected": 2,
    "changedFields": ["followersCount", "postsCount"],
    "previousObservedAt": "2026-11-21T13:14:21.342Z",
    "observedAt": "2026-11-21T13:54:11.239Z",
    "firstSeenAt": "2026-11-21T13:02:52.154Z",
    "snapshotId": "ZVewT8Rc4ipQaLrFv",
    "stateKey": "readme-screenshot",
    "sourceInput": "Reuters",
    "lookupMethod": "screen_name",
    "sourceProvider": "tikhub",
    "schemaVersion": "1.0",
    "collectedAt": "2026-11-21T13:54:11.239Z"
}
```

Links in bios stay as X's short `t.co` links, as X returns them.

`null` always means "not available", never zero or false.

### Pricing

This Actor uses **pay-per-event** pricing:

- `account-check`: one per account successfully checked and compared with its last snapshot. The first check, which records the baseline, counts too.
- `account-change`: one per change row saved.

Nothing else is charged: accounts that aren't found or are suspended, duplicates, unchanged fields, moves below your thresholds, the run summary, and runs that check nothing.

The prices are on the Actor's **Pricing** tab in the Apify Console, and they can differ by Apify plan. This README deliberately doesn't quote figures, so it never goes out of date. Set a **maximum cost per run** in the run options: the Actor stops before it would exceed it, and changes it couldn't report within the limit are kept and reported on the next run.

### Limits and good to know

- Changes are observations between two runs. A bio changed and changed back between runs isn't seen.
- Follow and unfollow lists (who followed or unfollowed whom) aren't tracked, only the counts.
- Coverage depends on what X and the data provider return for an account. Protected accounts show their public profile fields only.
- One-off profile lookups without monitoring? Use [X (Twitter) Profile Scraper](https://apify.com/coregent/x-profile-scraper).

### FAQ

**Is monitoring X accounts legal?** This Actor collects publicly available profile data only. It isn't affiliated with or endorsed by X Corp. or Apify. You're responsible for how you use the data: follow X's terms and data-protection laws such as GDPR, and don't monitor people without a lawful reason.

**Why did my first run return no changes?** The first run for a state key records the baseline. Changes appear from the second run on.

**What happens when an account changes its handle?** It's still found by its permanent ID, and you get a `username` change row. Later runs use the new handle.

**Can I add or remove accounts later?** Yes. New accounts get a baseline on their first check; removed accounts are simply no longer checked.

**Can I use it from code or an AI agent?** Yes. Call it through the Apify API, the Apify client libraries or the Apify MCP server, and read the dataset as JSON.

### Feedback

Found a problem or need a field that's missing? Open an issue on the Actor's **Issues** tab and include the run link.

# Actor input Schema

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

X (Twitter) usernames to watch, one per entry, with or without the @ (e.g. <code>apify</code>, <code>@NASA</code>). The monitor follows each account by its permanent ID, so it keeps tracking an account after it changes its handle.

## `profileUrls` (type: `array`):

X or Twitter profile links (e.g. <code>https://x.com/nasa</code>, <code>twitter.com/apify</code>, <code>https://x.com/i/user/11348282</code>). Tweet links are not profiles and are skipped.

## `userIds` (type: `array`):

X numeric account IDs (e.g. <code>11348282</code>). An ID finds the account even after a handle change.

## `maxAccounts` (type: `integer`):

Checks at most this many accounts per run, in input order. Accounts beyond the limit are skipped and never charged.

## `watchFields` (type: `array`):

Profile fields compared with the last snapshot. A change in any of them produces one change row. Follower, following and post counts also need to reach the thresholds below.

## `metricThresholds` (type: `object`):

When a follower, following or post count change is reported. A change must reach BOTH its absolute and its percent threshold, measured against the value at the last reported change (so slow growth is reported once it adds up). Set one of the pair to 0 to use only the other. Keys: <code>followersCountAbsolute</code> (default 100), <code>followersCountPercent</code> (1.0), <code>followingCountAbsolute</code> (1), <code>followingCountPercent</code> (0), <code>postsCountAbsolute</code> (10), <code>postsCountPercent</code> (0). Missing keys use their defaults.

## `outputSnapshots` (type: `boolean`):

Also save each checked account's current profile as an <code>account_snapshot</code> row (with how many changes were found), next to the change rows. Turn off to get change rows only, e.g. for alerts. The account check is charged either way.

## `stateKey` (type: `string`):

Name of the saved snapshot to compare against. Runs with the same key compare with each other; use a different key per watch list (e.g. <code>competitors</code>, <code>clients</code>). Letters, digits and hyphens. The snapshot is stored in your own Apify account, in the key-value store <code>x-account-change-monitor-state</code>.

## `reportUnavailableAccounts` (type: `boolean`):

Save a change row (field <code>accountStatus</code>, confidence <code>uncertain</code>) when a watched account can't be found for several checks in a row, and another when it comes back. Off by default: a failed lookup is not proof that an account was deleted.

## `unavailableAfterChecks` (type: `integer`):

How many checks in a row must fail before an account is reported as unavailable. Only used when the option above is on.

## `maxConcurrency` (type: `integer`):

How many accounts are looked up at the same time.

## `includeRawProviderData` (type: `boolean`):

Adds the data provider's raw profile response to each snapshot row. For debugging only; it makes rows much larger.

## Actor input object example

```json
{
  "handles": [
    "apify",
    "NASA",
    "SpaceX"
  ],
  "maxAccounts": 100,
  "watchFields": [
    "bio",
    "username",
    "displayName",
    "website",
    "verified",
    "followersCount",
    "followingCount"
  ],
  "metricThresholds": {
    "followersCountAbsolute": 100,
    "followersCountPercent": 1
  },
  "outputSnapshots": true,
  "stateKey": "default",
  "reportUnavailableAccounts": false,
  "unavailableAfterChecks": 2,
  "maxConcurrency": 2,
  "includeRawProviderData": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `snapshots` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

## `failedTargets` (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 = {
    "handles": [
        "apify",
        "NASA",
        "SpaceX"
    ],
    "watchFields": [
        "bio",
        "username",
        "displayName",
        "website",
        "verified",
        "followersCount",
        "followingCount"
    ],
    "metricThresholds": {
        "followersCountAbsolute": 100,
        "followersCountPercent": 1
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("coregent/x-account-change-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",
        "NASA",
        "SpaceX",
    ],
    "watchFields": [
        "bio",
        "username",
        "displayName",
        "website",
        "verified",
        "followersCount",
        "followingCount",
    ],
    "metricThresholds": {
        "followersCountAbsolute": 100,
        "followersCountPercent": 1,
    },
}

# Run the Actor and wait for it to finish
run = client.actor("coregent/x-account-change-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",
    "NASA",
    "SpaceX"
  ],
  "watchFields": [
    "bio",
    "username",
    "displayName",
    "website",
    "verified",
    "followersCount",
    "followingCount"
  ],
  "metricThresholds": {
    "followersCountAbsolute": 100,
    "followersCountPercent": 1
  }
}' |
apify call coregent/x-account-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coregent/x-account-change-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/Ez9bVDm7yqtCmEI8i/builds/xcSGqxaUi0pq1kvc7/openapi.json
