# X Community Notes Scraper (`coregent/x-community-notes-scraper`) Actor

Search X (Twitter) Community Notes from X's official public data: by post URL, note ID, text, date, classification and helpfulness status. Note text, reasons, current status and snapshot provenance on every row.

- **URL**: https://apify.com/coregent/x-community-notes-scraper.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.00 / 1,000 community notes

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 Community Notes Scraper

![X Community Notes Scraper](https://raw.githubusercontent.com/coregentdevspace/x-community-notes-scraper-assets/main/thumbnail-x-community-notes-scraper.png)

Search **X (Twitter) Community Notes** by post, note ID, text, date, classification and helpfulness status. Every row comes from **X's official public Community Notes data**, and says which daily snapshot it came from and how fresh that data is, so you can cite it.

No X account, login, cookies or API key needed. The Actor reads the data files X publishes for researchers and turns them into clean JSON, CSV or Excel.

### What does X Community Notes Scraper do?

- 🔗 **Look up the notes on specific posts.** Paste post links and get every Community Note written on them.
- 🔎 **Search note text.** Find notes that mention a phrase, a name, a product or a topic.
- ✅ **Filter by helpfulness status.** Keep notes **currently rated helpful** (the ones X shows under posts), **not helpful**, or **needing more ratings**.
- 🏷️ **Filter by classification and date.** "Misinformed or potentially misleading" or "Not misleading", written between two dates.
- 🕰️ **Pick a snapshot.** Use the newest data, or a past snapshot date for reproducible research.
- 🧾 **Provenance on every row.** Snapshot date, source file, data lag in hours and collection time.
- 🧭 **Status timeline.** Current status and when it was set, the first decided status, locked status and the scoring model that decided it.

### Who is it for?

Fact-checkers, journalists, trust-and-safety teams, researchers and academics who need **repeatable, machine-readable** Community Notes exports with a clear source.

### How to use it

1. Open the Actor and leave the defaults to get the **10 newest notes currently shown on X**.
2. Or add **post URLs**, **note IDs** or a **text phrase**, and set the filters you need.
3. Click **Start**. Each run reads the full public dataset (over 3 million notes), so it takes about 1–3 minutes whatever you ask for.
4. Download the results as JSON, CSV, Excel or HTML, or read them through the API.

### Input

| Field | What it does |
|---|---|
| `postUrls` | X/Twitter post links or post IDs. Returns the notes written on these posts. |
| `noteIds` | Community Note IDs or note links (`https://x.com/i/birdwatch/n/…`). |
| `searchText` | Case-insensitive phrase to find in the note text. |
| `helpfulnessStatuses` | `CURRENTLY_RATED_HELPFUL` (default), `CURRENTLY_RATED_NOT_HELPFUL`, `NEEDS_MORE_RATINGS`. Send `[]` for every status. |
| `classifications` | `MISINFORMED_OR_POTENTIALLY_MISLEADING`, `NOT_MISLEADING`. Empty = both. |
| `sinceDate` / `untilDate` | Only notes created in this date range (UTC). |
| `maxResults` | Maximum notes for the whole run (default 10). Newest notes come first. |
| `snapshotDate` | Read a past daily snapshot instead of the newest one. |
| `skipIds` | Note IDs you already have. Left out and not charged. |

Posts, note IDs and the text phrase are combined as a **union**: a note is returned if it matches any of them, then the filters apply. `maxResults` is one cap for the whole run and is never multiplied by the number of posts.

#### Example: rated notes from one week

This is the input behind the screenshots and sample output below: the 20 newest notes written in the last week of October whose status is helpful or not helpful.

```json
{
  "helpfulnessStatuses": ["CURRENTLY_RATED_HELPFUL", "CURRENTLY_RATED_NOT_HELPFUL"],
  "sinceDate": "2026-10-25",
  "untilDate": "2026-10-31",
  "maxResults": 20
}
```

#### Example: all notes on two posts, any status

```json
{
  "postUrls": [
    "https://x.com/i/status/2123066574332723576",
    "https://x.com/i/status/1783159712986382830"
  ],
  "helpfulnessStatuses": [],
  "maxResults": 50
}
```

#### Example: "not misleading" notes that mention a topic, this month

```json
{
  "searchText": "GTA VI",
  "classifications": ["NOT_MISLEADING"],
  "helpfulnessStatuses": [],
  "sinceDate": "2026-11-01",
  "maxResults": 10
}
```

### Output

One row per Community Note. Unknown values are `null`, never guessed. A full record from the run above:

```json
{
  "recordType": "community_note",
  "schemaVersion": "1.0",
  "noteId": "2116680650682151421",
  "noteUrl": "https://x.com/i/birdwatch/n/2116680650682151421",
  "postId": "2116644357646221753",
  "postUrl": "https://x.com/i/status/2116644357646221753",
  "summaryText": "This is old footage from a commemoration held every year in August https://t.co/3enuWF3r2O",
  "classification": "MISINFORMED_OR_POTENTIALLY_MISLEADING",
  "misleadingReasons": ["FACTUAL_ERROR", "MISSING_IMPORTANT_CONTEXT"],
  "notMisleadingReasons": [],
  "trustworthySources": true,
  "isMediaNote": false,
  "isCollaborativeNote": false,
  "status": "CURRENTLY_RATED_HELPFUL",
  "isCurrentlyShown": true,
  "createdAt": "2026-10-31T23:56:07.805Z",
  "statusUpdatedAt": "2026-11-15T00:11:09.303Z",
  "firstNonNmrStatus": "CURRENTLY_RATED_HELPFUL",
  "firstNonNmrStatusAt": "2026-11-01T12:21:24.434Z",
  "lockedStatus": "CURRENTLY_RATED_HELPFUL",
  "statusLockedAt": "2026-11-15T00:11:09.303Z",
  "decidedBy": "CoreModel (v1.1)",
  "matchedQueries": ["all"],
  "snapshotDate": "2026-11-21",
  "sourceDataset": "x-community-notes-public-data",
  "sourceFile": "notes-00000.zip",
  "sourceDataLagHours": 73.6,
  "collectedAt": "2026-11-22T05:38:32.303Z"
}
```

#### Notes

![Notes view](https://raw.githubusercontent.com/coregentdevspace/x-community-notes-scraper-assets/main/x-community-notes-scraper-output-overview-table-view.png)

The note, the post it is on, its text, classification and whether X shows it.

```json
{
  "noteUrl": "https://x.com/i/birdwatch/n/2116679861603307939",
  "postUrl": "https://x.com/i/status/2116638701824725452",
  "summaryText": "This video shows the documented 2023 fatal tiger shark attack killing Russian swimmer Vladimir Popov in Hurghada, Egypt (not Australia). https://metro.co.uk/2023/06/09/egypt-swimmer-screamed-for-help-as-he-was-mauled-to-death-by-shark-18922728/ …",
  "classification": "MISINFORMED_OR_POTENTIALLY_MISLEADING",
  "status": "CURRENTLY_RATED_HELPFUL",
  "isCurrentlyShown": true,
  "createdAt": "2026-10-31T23:52:59.673Z"
}
```

#### Status

![Status view](https://raw.githubusercontent.com/coregentdevspace/x-community-notes-scraper-assets/main/x-community-notes-scraper-output-status-table-view.png)

The status timeline: current status and when it was set, the first decided status, the locked status and the scoring model that decided it.

```json
{
  "noteId": "2116680344149565867",
  "status": "CURRENTLY_RATED_HELPFUL",
  "isCurrentlyShown": true,
  "statusUpdatedAt": "2026-11-15T00:11:09.303Z",
  "firstNonNmrStatus": "CURRENTLY_RATED_HELPFUL",
  "firstNonNmrStatusAt": "2026-11-01T02:43:43.392Z",
  "lockedStatus": "CURRENTLY_RATED_HELPFUL",
  "statusLockedAt": "2026-11-15T00:11:09.303Z",
  "decidedBy": "GaussianModel (v1.0)"
}
```

#### Reasons

![Reasons view](https://raw.githubusercontent.com/coregentdevspace/x-community-notes-scraper-assets/main/x-community-notes-scraper-output-reasons-table-view.png)

The reasons the note writer ticked, and whether the note cites sources, is about media, or was written collaboratively.

```json
{
  "noteId": "2116676497268506719",
  "classification": "MISINFORMED_OR_POTENTIALLY_MISLEADING",
  "misleadingReasons": ["MANIPULATED_MEDIA"],
  "notMisleadingReasons": [],
  "trustworthySources": true,
  "isMediaNote": true,
  "isCollaborativeNote": false
}
```

#### Provenance

![Provenance view](https://raw.githubusercontent.com/coregentdevspace/x-community-notes-scraper-assets/main/x-community-notes-scraper-output-provenance-table-view.png)

Which of your inputs matched, which public snapshot and file the row came from, and how old that data was.

```json
{
  "noteId": "2116681302586106224",
  "matchedQueries": ["all"],
  "snapshotDate": "2026-11-21",
  "sourceDataset": "x-community-notes-public-data",
  "sourceFile": "notes-00000.zip",
  "sourceDataLagHours": 73.6,
  "collectedAt": "2026-11-22T05:38:32.303Z",
  "schemaVersion": "1.0"
}
```

#### Field reference

| Field | Meaning |
|---|---|
| `summaryText` | The note text as published. |
| `classification` | The note writer's call on the post. |
| `misleadingReasons` / `notMisleadingReasons` | The reasons the writer ticked. |
| `trustworthySources` | Whether the writer said the note cites trustworthy sources. |
| `status` / `isCurrentlyShown` | Current helpfulness status. `CURRENTLY_RATED_HELPFUL` notes are the ones X shows under the post. |
| `statusUpdatedAt` | When the current status was set. |
| `firstNonNmrStatus`, `lockedStatus`, `decidedBy` | Status timeline from X's note status history. |
| `matchedQueries` | Which of your inputs matched (`post:…`, `note:…`, `text:…`, or `all`). |
| `snapshotDate`, `sourceFile`, `sourceDataLagHours` | Which public snapshot the row came from and how old its newest data was when collected. |

The dataset has four views: **Notes**, **Status**, **Reasons** and **Provenance**. A `RUN_SUMMARY` record in the key-value store lists the snapshot used, notes scanned, matched, filtered and saved, the data lag, failures and the stop reason.

Note author IDs are deliberately left out.

### Pricing

Pay per event, in two parts:

- **A small start fee per run.** It's charged by Apify when the run starts, per GB of memory. It covers reading X's full public dataset, which every run does (over 3 million notes) whether it returns 1 note or 1,000.
- **A fee per Community Note** saved to the dataset.

Posts with no match, notes removed by your filters and skipped IDs aren't charged as notes. A run with invalid input stops within seconds and pays only the start fee. The Actor stops when it reaches your maximum charge per run.

To keep costs down, put many posts or note IDs in one run instead of starting one run per post. The default memory is the right size for normal runs.

This README deliberately doesn't quote figures. See the **Pricing** tab for the current rates.

### Data freshness and limits

- **The public data lags.** X publishes one snapshot a day, and its newest notes are usually **2–3 days old** when the file appears. `sourceDataLagHours` on each row tells you how old. Notes written after the snapshot's cut-off are not in it yet.
- **Locked status comes later.** X locks a note's status about two weeks after it is written, so `lockedStatus` and `statusLockedAt` are `null` on newer notes.
- **Brand-new notes may have no status yet.** They come back with `status: null` when you clear the status filter.
- **No match is not proof of absence.** If a post returns nothing, it may have no notes, or its notes may be newer than the snapshot.
- **Ratings are not included.** X's per-rating files have been missing from recent public snapshots, so this Actor doesn't promise rating counts.
- **Post text is not included.** The public data links each note to a post ID and URL, not the post's content.

### Monitor on a schedule

Run the Actor daily with `helpfulnessStatuses: ["CURRENTLY_RATED_HELPFUL"]` and a `sinceDate`, and pass the note IDs you already have in `skipIds`, so each run only charges for new notes.

### API

```bash
curl -X POST "https://api.apify.com/v2/acts/coregent~x-community-notes-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":["https://x.com/i/status/2123066574332723576"],"helpfulnessStatuses":[]}'
```

It also works from the Apify JavaScript and Python clients, in schedules, with webhooks and through the Apify MCP server.

### Troubleshooting

| Message | What to do |
|---|---|
| `Invalid input: …` | Fix the field it names. No notes were charged, only the start fee. |
| `no Community Notes snapshot is published for <date>` | Pick another `snapshotDate`, or leave it empty for the newest. |
| Run finished with 0 results | Loosen the filters. Check `RUN_SUMMARY.failures` for targets that matched nothing. |

### Source and disclaimer

Data comes from X's public Community Notes data download ([guide](https://communitynotes.x.com/guide/en/under-the-hood/download-data)), fetched with plain HTTPS requests. This Actor is independent and is not affiliated with or endorsed by X Corp. Use the data in line with X's terms for the public data and the privacy laws that apply to you.

# Actor input Schema

## `postUrls` (type: `array`):

X/Twitter post links (https://x.com/user/status/123…) or bare post IDs. Returns the Community Notes written on these posts. Leave empty to search all notes.

## `noteIds` (type: `array`):

Community Note IDs or note links (https://x.com/i/birdwatch/n/123…).

## `searchText` (type: `string`):

Case-insensitive phrase to find in the note text, e.g. "AI-generated" or a name. Matches the exact phrase.

## `helpfulnessStatuses` (type: `array`):

Keep only notes with these current statuses. Default: Currently rated helpful, the notes X shows under posts. Clear the selection to get every note, including ones that still need ratings and notes too new to have a status yet.

## `classifications` (type: `array`):

Keep only notes whose writer classified the post this way. Empty = both.

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

Only notes written on or after this date (UTC). Empty = no lower limit.

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

Only notes written on or before this date (UTC, whole day included). Empty = no upper limit.

## `maxResults` (type: `integer`):

Maximum notes in the whole run, across every post, note ID and the text search (never multiplied). Newest notes come first.

## `snapshotDate` (type: `string`):

Read the public data X published on this date (UTC) instead of the newest one, for reproducible or historical research. Leave empty for the newest snapshot.

## `skipIds` (type: `array`):

Note IDs you already have. They are left out and not charged. Useful for scheduled runs.

## Actor input object example

```json
{
  "postUrls": [],
  "noteIds": [],
  "searchText": "",
  "helpfulnessStatuses": [
    "CURRENTLY_RATED_HELPFUL"
  ],
  "classifications": [],
  "sinceDate": "",
  "untilDate": "",
  "maxResults": 10,
  "snapshotDate": "",
  "skipIds": []
}
```

# Actor output Schema

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

No description

## `status` (type: `string`):

No description

## `reasons` (type: `string`):

No description

## `provenance` (type: `string`):

No description

## `runSummary` (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 = {
    "postUrls": [],
    "helpfulnessStatuses": [
        "CURRENTLY_RATED_HELPFUL"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("coregent/x-community-notes-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 = {
    "postUrls": [],
    "helpfulnessStatuses": ["CURRENTLY_RATED_HELPFUL"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("coregent/x-community-notes-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 '{
  "postUrls": [],
  "helpfulnessStatuses": [
    "CURRENTLY_RATED_HELPFUL"
  ],
  "maxResults": 10
}' |
apify call coregent/x-community-notes-scraper --silent --output-dataset

```

## MCP server setup

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