# X (Twitter) Giveaway Checker: Follow, Retweet | $0.3125/1K (`xcrop/x-interaction-check`) Actor

Check if X (Twitter) accounts follow you, retweeted, replied to or quoted a post, and meet follower, account age, name and median views rules. One pass/fail row per account. $0.3125 per 1,000 follow checks. Built for giveaways, airdrops and quests.

- **URL**: https://apify.com/xcrop/x-interaction-check.md
- **Developed by:** [XCROP](https://apify.com/xcrop) (community)
- **Features:** Limited permissions
- **Stats:** 6 total users, 1 monthly users, 99.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.31 / 1,000 follow checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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) Giveaway Checker: Follow, Retweet, Reply, Quote

A **Twitter follow checker** and **retweet checker** in one run: check a list of X accounts against your giveaway, airdrop or quest rules and get one row per account with **pass**, **fail** or **could not verify**. No X login, no cookies, no X developer account. **$0.3125 per 1,000 follow checks.**

### What it checks

| Check | Input | Answers |
|---|---|---|
| Follows an account | `mustFollow` (one or more accounts) | does the account follow each one |
| Retweeted the post | `tweetUrl` + `checkRetweet` | is the post among the account's newest ~20 reposts |
| Replied to the post | `tweetUrl` + `checkReply`, optional `replyMinTags` | did they reply, and tag at least N friends |
| Quoted the post | `tweetUrl` + `checkQuote`, optional `quoteMinTags` | did they quote it, and tag at least N friends |
| Account quality | `minFollowers`, `minAccountAgeDays` | enough followers and an old enough account (one check covers both) |
| Display name | `nameContains`, `namePosition` | does the name contain your tag or emoji (anywhere, at the start or at the end) |
| Median views (bot filter) | `medianViewsPosts` (20, 40, 60), `medianViewsMin` | is the median view count of the account's own recent posts above your minimum |

Retweet, reply and quote checks read the account's newest posts, so run them soon after the giveaway closes. A `false` means "not found in the newest page X shows", not "never happened".

### Output

One row per account:

```json
{
  "username": "alice",
  "passed": true,
  "failed": [],
  "unverified": [],
  "follows_all": true,
  "follows_yourproject": true,
  "retweeted": true,
  "qualified_account": true,
  "followers": 1520,
  "account_age_days": 812,
  "errors": []
}
```

- `passed` is `true` only when every check ran and said yes, `false` when any check failed, and `null` when at least one check could not be verified (for example a protected or suspended account). An account is never passed by accident.
- `failed` and `unverified` list the checks by name; `errors` says why a check could not be verified.
- `follows_all` sums up the follow rules (true = follows every account in `mustFollow`); each account to follow also has its own `follows_<username>` field.
- The run's `OUTPUT` record has the totals: passed, failed, unverified and the number of checks charged.

### Pricing

Pay per check, only for checks that were answered.

| Event | Price |
|---|---|
| Run start | $0.00005 per run (Apify standard start event) |
| Follow check (per account to follow) | $0.0003125 ($0.31 per 1,000) |
| Retweet check | $0.0003125 |
| Reply check | $0.0003125 |
| Quote check | $0.0003125 |
| Account check (followers + account age) | $0.0003125 |
| Display name check | $0.0003125 |
| Median views, 20 posts | $0.00125 per account |
| Median views, 40 posts | $0.001875 per account |
| Median views, 60 posts | $0.0025 per account |

- A check that could not be verified (account not found, protected, suspended, or X not answering) is **free**.
- Example: 1,000 participants, follow 1 account + retweet + reply = 3,000 checks = about $0.94.
- Turn on **Stop at the first failed check** to skip the remaining checks for an account that already failed one.
- Your **max cost per run** is respected: no new check starts once the budget left cannot pay for it, so a run never goes over it.
- **Apify free plan:** up to 10,000 credits of checks per month (200 checks; median views count 200, 300 or 400 credits), one run at a time. Paid Apify plans have no monthly cap.
- If the verification service itself is unavailable, the run fails with a clear message instead of returning a page of unverified rows, and you pay only for the checks already saved.

### Tips

- Paste usernames with or without `@`, or profile links. Duplicates are checked once; entries that are not usernames are skipped and listed in the log.
- Up to 10 accounts are checked in parallel (`concurrency`, default 5).

### FAQ

**How do I check if someone follows me on Twitter?**
Put their usernames in the list and your account in `mustFollow`. Each row says whether that account follows yours. Several accounts in `mustFollow` are checked one by one.

**How do I check who retweeted my giveaway post?**
Add the post link as `tweetUrl` and turn on `checkRetweet`. Each account gets `true` when the post is among its newest ~20 reposts, so run it soon after the giveaway closes.

**Can it verify that a reply tags friends?**
Yes: `checkReply` with `replyMinTags` (for example 2) passes only replies that tag at least that many accounts. Quotes work the same with `quoteMinTags`.

**Can it filter bots and fresh accounts?**
Set `minFollowers` and `minAccountAgeDays`, and the median views check (`medianViewsMin`) fails accounts whose own posts get almost no views.

**Do I need an X account or API key?**
No. Public usernames and post links only.

### Questions

A check you are missing, or a result that looks wrong: open an issue on this Actor.

# Actor input Schema

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

X usernames of the entrants, with or without @, or profile links. Duplicates are checked once

## `tweetUrl` (type: `string`):

Link or id of the post. Needed for the retweet, reply and quote checks

## `mustFollow` (type: `array`):

Accounts every entrant must follow. Each account is one check

## `checkRetweet` (type: `boolean`):

Reads the entrant's newest ~20 reposts, so run it soon after the giveaway ends

## `checkReply` (type: `boolean`):

Reads the entrant's newest ~20-25 replies

## `replyMinTags` (type: `integer`):

0 = no tag rule. The post author does not count as a tag

## `checkQuote` (type: `boolean`):

Reads the entrant's newest ~18-20 posts

## `quoteMinTags` (type: `integer`):

0 = no tag rule

## `minFollowers` (type: `integer`):

0 = off. Checked together with the account age in one check

## `minAccountAgeDays` (type: `integer`):

0 = off

## `nameContains` (type: `string`):

Case-insensitive, for example a project emoji or tag. Empty = off

## `namePosition` (type: `string`):

Anywhere, at the start (left) or at the end (right)

## `medianViewsPosts` (type: `string`):

Bot filter: the median views of the account's own recent posts must be above the minimum. Priced by posts read

## `medianViewsMin` (type: `integer`):

Needs at least 5 usable posts

## `medianViewsMaxAgeDays` (type: `integer`):

Empty = any age. Catches accounts that stopped posting

## `stopOnFirstFail` (type: `boolean`):

Saves money: an entrant who fails one rule is not checked further

## `concurrency` (type: `integer`):

Accounts checked at the same time

## Actor input object example

```json
{
  "usernames": [
    "elonmusk"
  ],
  "checkRetweet": false,
  "checkReply": false,
  "replyMinTags": 0,
  "checkQuote": false,
  "quoteMinTags": 0,
  "minFollowers": 100,
  "minAccountAgeDays": 0,
  "namePosition": "anywhere",
  "medianViewsPosts": "0",
  "medianViewsMin": 10,
  "stopOnFirstFail": false,
  "concurrency": 5
}
```

# Actor output Schema

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

Each account with passed / failed / could-not-verify and every check's answer

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

Totals (passed, failed, unverified), checks charged, and why the run stopped if it did

# 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": [
        "elonmusk"
    ],
    "minFollowers": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("xcrop/x-interaction-check").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": ["elonmusk"],
    "minFollowers": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("xcrop/x-interaction-check").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": [
    "elonmusk"
  ],
  "minFollowers": 100
}' |
apify call xcrop/x-interaction-check --silent --output-dataset

```

## MCP server setup

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

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/1rh0uabzQaLIzYWRO/builds/mxVcxIEXTjhm4taJn/openapi.json
