# 🧠 Twitter/X Personality Analyzer (`easyapi/twitter-x-personality-analyzer`)

🧠 Analyze Twitter/X profiles to generate comprehensive personality insights based on tweets and social media activity. Uncover communication styles, interests, and behavioral patterns to inform your marketing, recruitment, or research strategies.

- **URL**: https://beta-securitybyobscurity.apify.com/easyapi/twitter-x-personality-analyzer.md
- **Developed by:** [EasyApi](https://beta-securitybyobscurity.apify.com/easyapi) (community)
- **Categories:** AI, Social media, Integrations
- **Stats:** 213 total users, 21 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 4.00 out of 5 stars

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

# README

## 🧠 Twitter/X Personality Analyzer

### 📊 Overview

The Twitter/X Personality Analyzer is a powerful tool that uses advanced AI to analyze Twitter/X profiles and generate comprehensive personality insights based on their tweets and social media activity. This actor helps you understand the personality traits, communication style, interests, and behavioral patterns of any Twitter/X user.

### ✨ Features

- 🔍 **Deep Personality Analysis**: Uncover personality traits, communication styles, and behavioral patterns
- 🧩 **Comprehensive Insights**: Get detailed analysis of interests, values, and social interaction patterns
- 📈 **Customizable Analysis Depth**: Choose between basic, standard, or deep analysis levels
- ⚡ **Fast Processing**: Analyze up to 500 tweets quickly and efficiently
- 📱 **Simple Setup**: Just enter a Twitter/X username to get started
- 📄 **Markdown Formatting**: Results delivered in clean, well-structured markdown format

### 🚀 Use Cases

- **Influencer Marketing**: Understand influencers' personalities before partnering with them
- **Competitor Analysis**: Gain insights into competitors' communication styles and brand personalities
- **Recruitment**: Evaluate potential candidates' online personas and communication styles
- **Customer Research**: Understand your audience better by analyzing key community members
- **Personal Growth**: Gain insights into your own online persona and communication patterns
- **Content Strategy**: Tailor your content to match your audience's personality preferences

### 💡 How It Works

1. Enter a Twitter/X username (with the @ symbol)
2. Run the actor and receive a comprehensive personality analysis in markdown format
3. Use the insights to inform your marketing, recruitment, or research strategies

### 📋 Input Parameters

- **Twitter/X Username**: The username to analyze (required)

### 📊 Output Format

The actor provides results in clean, well-structured markdown format, including:

- **Heading**: Personality Analysis For @username
- **Summary**: A comprehensive overview of the personality analysis
- **Detailed Insights**: In-depth analysis of communication style, interests, and behavioral patterns

### 🔒 Privacy & Ethics

This actor only analyzes publicly available tweets and information. It does not access private accounts or protected tweets. The analysis is based solely on the content that users have chosen to share publicly.

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "username": "@yaminirangan"
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "username": "@yaminirangan",
        "result": [
            {
                "format": "markdown",
                "response": "**This Twitter account exudes a dynamic blend of leadership, innovation, and social consciousness. The user is deeply engaged with their professional community, showcasing a commitment to growth, customer satisfaction, and social issues.**\n\nThe account frequently highlights achievements and developments at HubSpot, such as the acquisition of Clearbit and the introduction of AI-powered tools, reflecting a forward-thinking and innovative mindset. For instance, the tweet announcing HubSpot's acquisition of Clearbit emphasizes the strategic enhancement of their customer platform. The user also demonstrates a strong sense of leadership and community support, as seen in the creation of a Customer Relief Fund to aid those impacted by the SVB crisis, showcasing empathy and proactive problem-solving.\n\nSocial consciousness is a recurring theme, with tweets supporting the LGBTQ+ community and advocating for women's rights, such as the retweet about equal access to healthcare following the Roe v. Wade decision. The account also expresses solidarity with Ukraine amidst Russian attacks, indicating a global awareness and compassion.\n\nEngagement with the professional community is evident through interactions with other leaders and participation in industry events, such as joining the board at Splunk and celebrating HubSpot's recognition in the CRM space. The user frequently shares insights on leadership and personal growth, as seen in the \"Dear Leaders\" series, which discusses transitioning from individual contributor to leader and balancing feedback with compassion.\n\nOverall, the account portrays a leader who is not only focused on business success but also on fostering a supportive and inclusive environment both within and outside their organization.",
                "heading": "Personality Analysis For @yaminirangan"
            }
        ],
        "htmlFile": "https://api.apify.com/v2/key-value-stores/null/records/twitter-personal-analysis-2025-06-06-09-00-12.html",
        "pdfFile": "https://api.apify.com/v2/key-value-stores/null/records/twitter-personal-analysis-2025-06-06-09-00-12.pdf",
        "markdownFile": "https://api.apify.com/v2/key-value-stores/null/records/twitter-personal-analysis-2025-06-06-09-00-12.md"
    }
]
```

### 🔗 Related Actors

Looking for more social media tools? Check out our other actors:

- 🐦 [Twitter/X Video Downloader](https://apify.com/easyapi/twitter-x-video-downloader) - Easily download high-quality videos from Twitter/X with batch capabilities
- 🌎 [Twitter Trending Topics Scraper](https://apify.com/easyapi/twitter-trending-topics-scraper) - Monitor Twitter trending topics across 60+ countries worldwide
- 📱 [All-in-One Social Media Phone Number Scraper](https://apify.com/easyapi/all-in-one-social-media-phone-number-scraper) - Discover phone numbers across 30+ social platforms
- 📧 [All-in-One Social Media Email Scraper](https://apify.com/easyapi/all-in-one-social-media-email-scraper) - Extract email addresses from 30+ social media platforms
- 👥 [Social Media Influencer Scraper](https://apify.com/easyapi/social-media-influencer-scraper) - Discover top influencers across TikTok, Instagram, and YouTube
- 📊 [TikTok Profile Posts Scraper](https://apify.com/easyapi/tiktok-profile-posts-scraper) - Extract comprehensive post data from TikTok user profiles
- 👥 [TikTok Followers Scraper](https://apify.com/easyapi/tiktok-followers-scraper) - Extract detailed follower information from TikTok accounts
- 👥 [TikTok Following Scraper](https://apify.com/easyapi/tiktok-following-scraper) - Scrape TikTok following lists to extract detailed user information
- 💬 [TikTok Comments Scraper](https://apify.com/easyapi/tiktok-comments-scraper) - Scrape TikTok comments from any video URL with advanced features
- 🎥 [TikTok LIVE Scraper](https://apify.com/easyapi/tiktok-live-scraper) - Extract real-time data from TikTok live streams
- 📸 [Instagram Profile Scraper](https://apify.com/easyapi/instagram-profile-scraper) - Scrape detailed Instagram profile data with this powerful Actor
- 📸 [Instagram Reels Scraper](https://apify.com/easyapi/instagram-reels-scraper) - Effortlessly scrape Instagram Reels data from user profiles
- 📸 [Instagram Hashtag Scraper](https://apify.com/easyapi/instagram-hashtag-scraper) - Scrape Instagram hashtag data, including top posts and engagement metrics
- 💬 [Instagram Comments Scraper](https://apify.com/easyapi/instagram-comments-scraper) - Extract comments from Instagram posts with user details
- 📧 [Instagram Email Scraper](https://apify.com/easyapi/instagram-email-scraper) - Scrape email addresses from Instagram profiles matching your criteria
- 📘 [Facebook Pages Scraper](https://apify.com/easyapi/facebook-pages-scraper) - Extract comprehensive data from Facebook Pages
- 📘 [Facebook Posts Search Scraper](https://apify.com/easyapi/facebook-posts-search-scraper) - Extract posts from Facebook search results
- 📘 [Facebook Post Comments Scraper](https://apify.com/easyapi/facebook-post-comments-scraper) - Extract comments from public Facebook posts
- 📘 [Facebook Hashtag Search Scraper](https://apify.com/easyapi/facebook-hashtag-search-scraper) - Scrape Facebook hashtag posts with ease
- 📘 [Facebook Followers Scraper](https://apify.com/easyapi/facebook-followers-scraper) - Extract Facebook followers data including profile details

# Actor input Schema

## `username` (type: `string`):

Twitter/X username to analyze (with or without @ symbol)

## Actor input object example

```json
{
  "username": "@yaminirangan"
}
```

# 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 = {
    "username": "@yaminirangan"
};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/twitter-x-personality-analyzer").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 = { "username": "@yaminirangan" }

# Run the Actor and wait for it to finish
run = client.actor("easyapi/twitter-x-personality-analyzer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "username": "@yaminirangan"
}' |
apify call easyapi/twitter-x-personality-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=easyapi/twitter-x-personality-analyzer",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🧠 Twitter/X Personality Analyzer",
        "description": "🧠 Analyze Twitter/X profiles to generate comprehensive personality insights based on tweets and social media activity. Uncover communication styles, interests, and behavioral patterns to inform your marketing, recruitment, or research strategies.",
        "version": "0.0",
        "x-build-id": "kSMLzFXR5GQksUVxB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easyapi~twitter-x-personality-analyzer/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easyapi-twitter-x-personality-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/easyapi~twitter-x-personality-analyzer/runs": {
            "post": {
                "operationId": "runs-sync-easyapi-twitter-x-personality-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/easyapi~twitter-x-personality-analyzer/run-sync": {
            "post": {
                "operationId": "run-sync-easyapi-twitter-x-personality-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "username"
                ],
                "properties": {
                    "username": {
                        "title": "Twitter/X Username",
                        "type": "string",
                        "description": "Twitter/X username to analyze (with or without @ symbol)",
                        "default": "@yaminirangan"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
