aisa-twitter-apiSearch X (Twitter) in real time, extract relevant posts, and publish tweets/replies instantly—perfect for social listening, engagement, and rapid content ops.
Install via ClawdBot CLI:
clawdbot install AIsaPay/aisa-twitter-apiTwitter/X data access and automation for autonomous agents. Powered by AIsa.
One API key. Full Twitter intelligence.
```
"Get Elon Musk's latest tweets and notify me of any AI-related posts"
```
```
"What's trending on Twitter worldwide right now?"
```
```
"Search for tweets mentioning our product and analyze sentiment"
```
```
"Like and retweet posts from @OpenAI that mention GPT-5"
```
```
"Monitor @anthropic and @GoogleAI - alert me on new announcements"
```
```bash
export AISA_API_KEY="your-key"
```
```bash
curl "https://api.aisa.one/apis/v1/twitter/user/info?userName=elonmusk" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/user/user_last_tweet?userName=elonmusk" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/tweet/advanced_search?query=AI+agents&queryType=Latest" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/tweet/advanced_search?query=AI+agents&queryType=Top" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/trends?woeid=1" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/user/search_user?keyword=AI+researcher" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/tweet/tweetById?tweet_ids=123456789" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/user/user_followers?userName=elonmusk" \
-H "Authorization: Bearer $AISA_API_KEY"
curl "https://api.aisa.one/apis/v1/twitter/user/user_followings?userName=elonmusk" \
-H "Authorization: Bearer $AISA_API_KEY"
```
⚠️ Warning: Posting requires account login. Use responsibly to avoid rate limits or account suspension.
```bash
curl -X POST "https://api.aisa.one/apis/v1/twitter/user_login_v3" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_name":"myaccount","email":"me@example.com","password":"xxx","proxy":"http://user:pass@ip:port"}'
curl "https://api.aisa.one/apis/v1/twitter/get_my_x_account_detail_v3?user_name=myaccount" \
-H "Authorization: Bearer $AISA_API_KEY"
curl -X POST "https://api.aisa.one/apis/v1/twitter/send_tweet_v3" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_name":"myaccount","text":"Hello from OpenClaw!"}'
curl -X POST "https://api.aisa.one/apis/v1/twitter/like_tweet_v3" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_name":"myaccount","tweet_id":"1234567890"}'
curl -X POST "https://api.aisa.one/apis/v1/twitter/retweet_v3" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_name":"myaccount","tweet_id":"1234567890"}'
curl -X POST "https://api.aisa.one/apis/v1/twitter/update_profile_v3" \
-H "Authorization: Bearer $AISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_name":"myaccount","name":"New Name","bio":"New bio"}'
```
```bash
python3 {baseDir}/scripts/twitter_client.py user-info --username elonmusk
python3 {baseDir}/scripts/twitter_client.py tweets --username elonmusk
python3 {baseDir}/scripts/twitter_client.py followers --username elonmusk
python3 {baseDir}/scripts/twitter_client.py followings --username elonmusk
python3 {baseDir}/scripts/twitter_client.py search --query "AI agents"
python3 {baseDir}/scripts/twitter_client.py user-search --keyword "AI researcher"
python3 {baseDir}/scripts/twitter_client.py trends --woeid 1
python3 {baseDir}/scripts/twitter_client.py login --username myaccount --email me@example.com --password xxx --proxy "http://user:pass@ip:port"
python3 {baseDir}/scripts/twitter_client.py post --username myaccount --text "Hello!"
python3 {baseDir}/scripts/twitter_client.py like --username myaccount --tweet-id 1234567890
python3 {baseDir}/scripts/twitter_client.py retweet --username myaccount --tweet-id 1234567890
```
| Endpoint | Method | Description |
|----------|--------|-------------|
| /twitter/user/info | GET | Get user profile |
| /twitter/user/user_last_tweet | GET | Get user's recent tweets |
| /twitter/user/user_followers | GET | Get user followers |
| /twitter/user/user_followings | GET | Get user followings |
| /twitter/user/search_user | GET | Search users by keyword |
| /twitter/tweet/advanced_search | GET | Advanced tweet search |
| /twitter/tweet/tweetById | GET | Get tweets by IDs |
| /twitter/trends | GET | Get trending topics |
| /twitter/user_login_v3 | POST | Login to account |
| /twitter/send_tweet_v3 | POST | Send a tweet |
| /twitter/like_tweet_v3 | POST | Like a tweet |
| /twitter/retweet_v3 | POST | Retweet |
| API | Cost |
|-----|------|
| Twitter read query | ~$0.0004 |
| Twitter post/like/retweet | ~$0.001 |
Every response includes usage.cost and usage.credits_remaining.
export AISA_API_KEY="your-key"See API Reference for complete endpoint documentation.
Generated Mar 1, 2026
Marketing agencies can use this skill to track brand mentions, analyze sentiment, and monitor competitor activities on Twitter in real-time. It enables automated reporting and alerts for campaigns, helping teams respond quickly to trends and customer feedback.
E-commerce brands can leverage this skill to identify and engage with influencers by searching for relevant posts and automating likes or retweets. It supports targeted outreach and relationship building to drive product awareness and sales.
Media outlets can utilize this skill to monitor trending topics, search for breaking news tweets, and gather user-generated content. It facilitates rapid content creation and distribution by extracting timely information from Twitter.
Tech companies can implement this skill to search for customer complaints or queries on Twitter and automate responses or escalations. It enhances support efficiency by providing real-time social listening and engagement capabilities.
Financial analysts can use this skill to track tweets from key figures like Elon Musk for market-moving announcements and sentiment analysis. It aids in gathering real-time intelligence for investment decisions and risk assessment.
Offer this Twitter API access as a subscription service to developers and businesses, providing tiered plans based on usage limits and features. Revenue is generated through monthly or annual fees, with potential upsells for premium support and custom integrations.
License this skill to other companies as a white-label solution for their social media management platforms. Revenue comes from licensing fees and customization services, allowing clients to rebrand and integrate it into their own products.
Provide managed services using this skill to handle social listening, engagement, and content posting for clients on a retainer basis. Revenue is earned through service contracts, with additional charges for analytics reports and campaign management.
💬 Integration Tip
Ensure the AISA_API_KEY is securely stored and manage rate limits carefully, especially for write operations to avoid account suspension.
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
Browse, search, post, and moderate Reddit. Read-only works without auth; posting/moderation requires OAuth setup.
Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.
LinkedIn automation via browser relay or cookies for messaging, profile viewing, and network actions.
Search YouTube videos, get channel info, fetch video details and transcripts using YouTube Data API v3 via MCP server or yt-dlp fallback.