X/Twitter Research Skill
Research trending topics, ideas, and conversations on X (Twitter) using twitterapi.io.
About this skill
The X/Twitter Research Skill provides a structured way for AI agents to interact with X (Twitter) data through the `twitterapi.io` API. It offers core functionalities like advanced tweet search (supporting complex queries with operators like `from:`, `#hashtag`, `min_faves:`), retrieving current global or regional trending topics, fetching a specific user's recent tweets, and obtaining detailed user profile information. This skill is invaluable for automated social listening, market research, content strategy, and competitive analysis. It allows agents to programmatically gather intelligence on public discourse, track specific keywords or hashtags, monitor user activity, and identify emerging trends without manual browsing or the complexity of directly managing official API integrations. Users would deploy this skill to automate routine data collection tasks from X (Twitter), allowing them to generate reports, analyze sentiment, identify influencers, or track the performance of marketing campaigns. It abstracts the underlying API calls into a set of accessible commands, making it easier for agents to perform comprehensive social media research.
Best use case
The primary use case for this skill is real-time social media monitoring and trend analysis on X (Twitter). Marketing teams can track brand mentions and campaign performance, data analysts can gather public sentiment data for specific topics, and content creators can identify trending ideas for new content. Researchers, businesses, and individuals needing structured access to X (Twitter) data for informed decision-making will benefit most.
Research trending topics, ideas, and conversations on X (Twitter) using twitterapi.io.
A JSON output containing structured data about tweets, trends, or user profiles from X (Twitter), based on the specified query.
Practical example
Example input
Find the top 15 trending topics on X right now and then search for the latest tweets containing '#OpenAI' with at least 100 likes.
Example output
```json
{
"trends": [
{"name": "#AICommunity", "tweet_volume": 54321},
{"name": "#TechNews", "tweet_volume": 98765}
],
"tweets": [
{"text": "Exciting progress in #OpenAI's latest model!", "user": "AI_Expert", "faves": 120},
{"text": "Debating the ethics of #OpenAI's new release.", "user": "EthicsWatcher", "faves": 150}
]
}
```When to use this skill
- When you need to track real-time trending topics on X (Twitter).
- When you want to search for tweets using advanced queries (e.g., specific users, hashtags, minimum likes).
- When you need to retrieve a user's recent activity or profile information programmatically.
- When performing market research, sentiment analysis, or competitive analysis on X.
When not to use this skill
- When you need to perform actions like posting tweets, sending direct messages, or following users (this skill is read-only).
- When you require historical data beyond what `twitterapi.io` provides for standard queries.
- When you are directly interacting with the official Twitter API (X API) and not `twitterapi.io`.
- When you do not have an `twitterapi.io` API key.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/x-research-skill/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How X/Twitter Research Skill Compares
| Feature / Agent | X/Twitter Research Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
Research trending topics, ideas, and conversations on X (Twitter) using twitterapi.io.
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
Best AI Skills for ChatGPT
Find the best AI skills to adapt into ChatGPT workflows for research, writing, summarization, planning, and repeatable assistant tasks.
SKILL.md Source
# X/Twitter Research Skill Research trending topics, ideas, and conversations on X (Twitter) using twitterapi.io. ## Authentication API key stored at: `~/.openclaw/secrets/twitterapi.env` Load before any request: ```bash source ~/.openclaw/secrets/twitterapi.env ``` Base URL: `https://api.twitterapi.io` All requests need header: `X-API-Key: $TWITTERAPI_KEY` ## Core Endpoints ### 1. Advanced Tweet Search Search for tweets matching a query. ```bash curl -s "https://api.twitterapi.io/twitter/tweet/advanced_search?query=solana&queryType=Latest" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' ``` **Parameters:** - `query` — search query (supports operators like `from:`, `to:`, `#hashtag`) - `queryType` — `Latest` or `Top` - `cursor` — pagination cursor **Query operators:** - `solana defi` — both words - `"solana defi"` — exact phrase - `from:solaborada` — from specific user - `#solana` — hashtag - `solana -pump` — exclude word - `solana min_faves:100` — minimum likes ### 2. Get Trends Get current trending topics. ```bash curl -s "https://api.twitterapi.io/twitter/trends" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.trends[:10]' ``` ### 3. Get User's Recent Tweets Get latest tweets from a specific account. ```bash curl -s "https://api.twitterapi.io/twitter/user/last_tweets?userName=solana" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' ``` ### 4. Get User Info Get profile info for a user. ```bash curl -s "https://api.twitterapi.io/twitter/user/info?userName=solana" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.user' ``` ## Research Workflow ### Daily Solana Trend Report Run this workflow every 4-6 hours to generate a trend report. #### Step 1: Search hot Solana topics ```bash # General Solana buzz curl -s "https://api.twitterapi.io/twitter/tweet/advanced_search?query=solana&queryType=Top" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:20]' # Solana + AI intersection curl -s "https://api.twitterapi.io/twitter/tweet/advanced_search?query=solana%20AI%20agent&queryType=Latest" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:10]' # Solana DeFi curl -s "https://api.twitterapi.io/twitter/tweet/advanced_search?query=solana%20defi&queryType=Latest" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:10]' ``` #### Step 2: Check key accounts ```bash # Official Solana curl -s "https://api.twitterapi.io/twitter/user/last_tweets?userName=solana" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' # Colosseum (hackathon organizer) curl -s "https://api.twitterapi.io/twitter/user/last_tweets?userName=colosseum" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' # Helius (infra) curl -s "https://api.twitterapi.io/twitter/user/last_tweets?userName=heaborada" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' # Jupiter (DEX) curl -s "https://api.twitterapi.io/twitter/user/last_tweets?userName=JupiterExchange" \ -H "X-API-Key: $TWITTERAPI_KEY" | jq '.tweets[:5]' ``` #### Step 3: Compile report Create a markdown file with: - Top trending Solana topics - Notable tweets/threads - New project launches mentioned - Pain points people are discussing - Ideas worth building ## Key Accounts to Monitor ### Core Ecosystem - @solana — Official Solana - @colosseum — Hackathon organizer - @SolanaFndn — Solana Foundation - @aaboradari — Solana co-founder ### Infrastructure - @heaborada — Helius (RPC, webhooks) - @triaboradi — Triton (RPC) - @jitoSOL — Jito (MEV, staking) ### DeFi - @JupiterExchange — Jupiter (DEX aggregator) - @RaydiumProtocol — Raydium (AMM) - @MeteoraDEX — Meteora (LP) ### AI + Crypto - @ai16zdao — ai16z (AI agents) - @virtaborada — Virtuals ### Builders/VCs - @rajgokal — Raj (Solana co-founder) - @aaborada — Anatoly (Solana co-founder) - @multiaboradi — Multicoin Capital ## Vertical-Specific Searches ### DeFi ``` solana defi yield solana lending protocol solana perps trading jupiter swap ``` ### Payments ``` solana payments solana pay merchant USDC solana ``` ### Consumer ``` solana consumer app solana gaming solana social ``` ### Infrastructure ``` solana rpc solana developer tools anchor framework ``` ### AI + Blockchain ``` solana AI agent AI crypto solana autonomous agent blockchain ``` ### Privacy ``` solana privacy ZK solana confidential transfer ``` ## Rate Limits & Costs - $0.15 per 1,000 tweets returned - $0.18 per 1,000 user profiles - Minimum $0.00015 per API call **Budget guidance:** - 1,000 tweets/day = ~$0.15/day - 30 days = ~$4.50 ## Output Format Generate reports as: ``` workspace/research/solana-trends-YYYY-MM-DD-HH.md ``` Include: 1. **Hot Topics** — What's trending 2. **Key Tweets** — Notable posts with links 3. **Pain Points** — What people are complaining about 4. **Ideas** — Opportunities mentioned or implied 5. **By Vertical** — Grouped by DeFi, payments, etc.
Related Skills
token-research
Comprehensive token research for EVM chains (Base, ETH, Arbitrum) and Solana. Use this skill when you want to research crypto tokens, deep-dive projects or monitor tokens.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
notebooklm
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
aisa-tavily
AI-optimized web search via AIsa's Tavily API proxy. Returns concise, relevant results for AI agents through AIsa's unified API gateway.
Market Sizing — TAM/SAM/SOM Calculator
Build defensible market sizing for any product, pitch deck, or business case. Top-down and bottom-up methodologies combined.
Data Analyst — AfrexAI ⚡📊
**Transform raw data into decisions. Not just charts — answers.**
Competitor Monitor
Tracks and analyzes competitor moves — pricing changes, feature launches, hiring, and positioning shifts
afrexai-competitive-intel
Complete competitive intelligence system — market mapping, product teardowns, pricing intel, win/loss analysis, battlecards, and strategic monitoring. Goes far beyond SEO to cover the full business landscape.
trending-news-aggregator
智能热点新闻聚合器 - 自动抓取多平台热点新闻, AI分析趋势,支持定时推送和热度评分。 核心功能: - 每天自动聚合多平台热点(微博、知乎、百度等) - 智能分类(科技、财经、社会、国际等) - 热度评分算法 - 增量检测(标记新增热点) - AI趋势分析
search-cluster
Aggregated search aggregator using Google CSE, GNews RSS, Wikipedia, Reddit, and Scrapling.