# Export Public Accounts Followed on X

**Use case:** 

Export public accounts followed by an X / Twitter profile and narrow results by follower count and total posts. No login or API key required; download structured profile data.

## Input

```json
{
  "screenNames": [
    "https://x.com/elonmusk"
  ],
  "userIds": [],
  "relationshipType": "followings",
  "maxItemsPerUser": 10,
  "verification": "any",
  "visibility": "public",
  "minFollowers": 10000,
  "minTweets": 100,
  "maxProfilesScannedPerUser": 2000,
  "includeRawUser": false
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Message",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "results_saved": {
    "label": "Results saved",
    "format": "integer"
  },
  "source_screen_name": {
    "label": "Source screen name",
    "format": "string"
  },
  "source_user_id": {
    "label": "Source user ID",
    "format": "string"
  },
  "relationship_type": {
    "label": "Relationship type",
    "format": "string"
  },
  "user_id": {
    "label": "User ID",
    "format": "string"
  },
  "screen_name": {
    "label": "Screen name",
    "format": "string"
  },
  "profile_url": {
    "label": "X profile URL",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "description": {
    "label": "Bio",
    "format": "string"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "created_at": {
    "label": "Account created at (UTC)",
    "format": "string"
  },
  "followers_count": {
    "label": "Followers",
    "format": "integer"
  },
  "friends_count": {
    "label": "Following",
    "format": "integer"
  },
  "tweets_count": {
    "label": "Posts",
    "format": "integer"
  },
  "media_count": {
    "label": "Media posts",
    "format": "integer"
  },
  "pinned_tweet_ids": {
    "label": "Pinned tweet IDs",
    "format": "array"
  },
  "verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "is_blue_verified": {
    "label": "Blue verified",
    "format": "boolean"
  },
  "verified_type": {
    "label": "Verification type",
    "format": "string"
  },
  "protected": {
    "label": "Protected",
    "format": "boolean"
  },
  "default_profile": {
    "label": "Default profile",
    "format": "boolean"
  },
  "geo_enabled": {
    "label": "Geo enabled",
    "format": "boolean"
  },
  "advertiser_account_type": {
    "label": "Advertiser account type",
    "format": "string"
  },
  "business_profile_state": {
    "label": "Business profile state",
    "format": "string"
  },
  "withheld_in_countries": {
    "label": "Withheld in countries",
    "format": "array"
  },
  "website_url": {
    "label": "Website URL",
    "format": "string"
  },
  "bio_urls": {
    "label": "Bio URLs",
    "format": "array"
  },
  "profile_image_url": {
    "label": "Profile image",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [X Followers & Following Scraper — At Scale](https://apify.com/arjun_code/x-twitter-followers-followings-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/arjun_code/x-twitter-followers-followings-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/arjun_code/x-twitter-followers-followings-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`).
