# Check who follows who on Twitter | Xquik

**Use case:** 

Check who follows who on Twitter. Each row says whether a source account follows a target & whether the target follows back.

## Input

```json
{
  "twitterHandles": [
    "elonmusk",
    "@nasa"
  ],
  "username": "nasa",
  "userIds": [
    "44196397"
  ],
  "listIds": [
    "1748648376080666720"
  ],
  "communityIds": [
    "1493446837214187523"
  ],
  "followCheckSources": [
    "sama",
    "karpathy",
    "ylecun"
  ],
  "followCheckTargets": [
    "OpenAI"
  ],
  "relation": "followers",
  "maxItems": 1000,
  "minFollowers": 1000,
  "verifiedOnly": false,
  "blueVerifiedOnly": false,
  "verifiedType": "business",
  "hasWebsite": false,
  "hasLocation": false,
  "hasEmail": false,
  "businessEmailOnly": false,
  "emailDomains": "acme.com",
  "bioContains": "founder",
  "locationContains": "New York",
  "usernameContains": "ai",
  "outputMode": "full",
  "includeTargetMetadata": true,
  "dedupeMode": "merge",
  "overlapMode": false,
  "dedupeAcrossTargets": true,
  "alwaysSaveRunRecords": false,
  "profileUrl": "https://x.com/nasa",
  "usernames": [
    "elonmusk",
    "@nasa"
  ],
  "user_names": [
    "elonmusk",
    "@nasa"
  ],
  "handles": [
    "elonmusk",
    "@nasa"
  ],
  "handle": "nasa",
  "userNameList": [
    "elonmusk",
    "@nasa"
  ],
  "screenNames": [
    "elonmusk",
    "@nasa"
  ],
  "screenName": "nasa",
  "twitterUserIds": [
    "44196397"
  ],
  "user_ids": [
    "44196397"
  ],
  "userIdList": [
    "44196397"
  ],
  "user_id": "44196397",
  "userId": "44196397",
  "getFollowers": false,
  "getFollowing": false,
  "getVerifiedFollowers": false,
  "getListMembers": false,
  "getListFollowers": false,
  "getCommunityMembers": false,
  "includeRaw": false,
  "scrapeAllResults": false,
  "includeUnavailableFields": false,
  "includeUnavailableUsers": false,
  "flatten": false,
  "fillMissingFields": true,
  "joinSeparator": ", "
}
```

## Output

```json
{
  "source": {
    "label": "Follow check source",
    "format": "string"
  },
  "target": {
    "label": "Follow check target",
    "format": "string"
  },
  "isFollowing": {
    "label": "Source follows target",
    "format": "boolean"
  },
  "isFollowedBy": {
    "label": "Target follows source",
    "format": "boolean"
  },
  "sourceUsername": {
    "label": "Source username",
    "format": "string"
  },
  "sourceId": {
    "label": "Source user ID",
    "format": "string"
  },
  "targetUsername": {
    "label": "Target username",
    "format": "string"
  },
  "targetId": {
    "label": "Target user ID",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The X (Twitter) Followers Scraper | $0.00015/User | Pay-Per-Result Actor is ready to run with the inputs already set for "Check who follows who on Twitter | Xquik". [Sign up or log in](https://console.apify.com/create-task-from-example/KQoVQnnJ5MN19pI6c) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check who follows who on Twitter | Xquik" task

The X (Twitter) Followers Scraper | $0.00015/User | Pay-Per-Result Actor will start running based on the input automatically. You can also change all the input fields, like x handles, username, and more, to match your specific use case.

### 3. Receive the "Check who follows who on Twitter | Xquik" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as follow check source, follow check target, source follows target, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check who follows who on Twitter | Xquik" task via API](https://apify.com/xquik/x-follower-scraper.md).

## About this Actor

This example demonstrates how to use [X (Twitter) Followers Scraper | $0.00015/User | Pay-Per-Result](https://apify.com/xquik/x-follower-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/xquik/x-follower-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/xquik/x-follower-scraper.md

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`).
