Aomi integrates the X (Twitter) API v2 for social intelligence. Look up user profiles, read timelines, search posts with advanced operators, and track trending topics. All endpoints require a Bearer token from the X Developer Portal. Aomi wraps these as tools so your AI assistant can query social data and cross-reference it with onchain activity.
The X App registers exactly five read only tools.
| Tool | Description |
|---|
get_x_user | Look up a user by handle |
get_x_user_posts | Fetch recent posts from a user |
search_x | Search posts with advanced operators |
get_x_trends | Current trending topics by location |
get_x_post | Fetch a single post by ID |
Example Conversations
Social research:
“What’s trending in crypto right now?”
“Show me the latest posts from @VitalikButerin”
“Search for posts about ‘ETH ETF’ from the past 24 hours”
Cross-referencing:
“Find influencers talking about Arbitrum and check their wallet activity”
“What projects are trending on X? Any overlap with top DeFi protocols?”
How It Works
- User asks about social data or trending topics
- The assistant calls the relevant X API v2 endpoint
- Results can be cross-referenced with onchain data from other tools
- The assistant synthesizes findings into a natural response
Prerequisites
To use X API tools, you need a Bearer token from the X Developer Portal. The Aomi App must be configured with this token at deployment time.
Next Steps
Last modified on June 4, 2026