X posts as compact JSON for AI agents and RAG
Search X and return tweets in the compact preset: id, url, text, created_at, author, engagement counts, hashtags, mentions, links and media, without quoted and retweeted tweet objects. Smaller records for LLM context, embeddings and RAG. Callable from Claude, ChatGPT and other MCP clients.
Input
Output fields
Sign up on Apify or log in
The Twitter Scraper & API (X.com): Tweets, Posts, Search Actor is ready to run with the inputs already set for "X posts as compact JSON for AI agents and RAG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "X posts as compact JSON for AI agents and RAG" task
The Twitter Scraper & API (X.com): Tweets, Posts, Search Actor will start running based on the input automatically. You can also change all the input fields, like search terms (keywords, hashtags, x operators), output format, and more, to match your specific use case.
Receive the "X posts as compact JSON for AI agents and RAG" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as tweet url, text, created at, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "X posts as compact JSON for AI agents and RAG" task via API.

Integrate "X posts as compact JSON for AI agents and RAG" into your workflow
Connect "X posts as compact JSON for AI agents and RAG" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay