Grok X search with cited posts
Grok searches X (Twitter) posts server-side, filters by accounts and dates, understands images and videos on request, and answers with citations. Needs query.
Inputs
- Query
- The question or task for GrokRequired · query
- Instructions
- System instructions: tone, format, language, what to focus onOptional · instructions
- Model
- Grok-4.3 is the cheapest (1M context); grok-4.7 is xAI's most capable model; grok-4.6 costs the same as grok-4.7 (grok-4.3, grok-4.7 or grok-4.6)Optional · model
- Max output tokens
- Cap on answer plus reasoning tokens, sent to xAIOptional · max_output_tokens
- Max turns
- Cap on agentic search turns, sent to xAI (one search per turn)Optional · max_turns
- Allowed x handles
- Only posts from these accounts (without @)Optional · allowed_x_handles
- Excluded x handles
- Never posts from these accounts (without @)Optional · excluded_x_handles
- From date
- Earliest post date, YYYY-MM-DDOptional · from_date
- To date
- Latest post date, YYYY-MM-DDOptional · to_date
- Enable image understanding
- Let Grok look at images in posts (more tokens)Optional · enable_image_understanding
- Enable video understanding
- Let Grok watch videos in posts (more tokens)Optional · enable_video_understanding
Pricing
- Price
- Usage based, at the cost the provider reports for the call
- Billing
- Billed at the cost the provider reports for the call, never above $5. Your agent sees the maximum before running.
- Price checked
- 7 September 2026
Call
Your agent reads the schema and the price with inspect_tool before it runs the tool.
- MCP call
- cURL command
- TypeScript
- Tool ID
Alternatives
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.