Spiral gives your agent every tool with one account. Browse the tools →

Grok · Social Media

How to Use X (Twitter) user tweets in Grok

Fetch up to 100 popular posts from a public X profile, with post text and engagement counts. Use it to study a brand's strongest content; the results do not represent its latest posts or complete posting history.

Prompts to try with X (Twitter) user tweets in Grok

Copy an example into Grok, or ask in your own words.

Use X (Twitter) user tweets for Duolingo and explain five recurring themes in the returned posts, with a supporting post link for each.

X (Twitter) user tweetsGrok
Try asking
  • Use X (Twitter) user tweets for NASA and show the ten returned posts with the most reposts, including their text and publication dates.

  • Use X (Twitter) user tweets for Nike and adidas and compare their calls to action using examples from each returned sample.

  • Use X (Twitter) user tweets for Spotify and find returned posts with more replies than reposts. Show the counts and summarize what each post asks readers to discuss.

  • Use X (Twitter) user tweets for Adobe and summarize product announcements in the returned posts, with dates and links. State that this is a popular-post sample.

How to set up X (Twitter) user tweets in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X (Twitter) user tweets

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/twitter-user-tweets",
        "input": {
          "handle": "levelsio"
        }
      }'

Then paste one of the prompts above: Grok finds X (Twitter) user tweets on Spiral, shows the price and runs it.

X (Twitter) user tweets providers and prices

Spiral runs X (Twitter) user tweets through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
X (Twitter) · User Tweets
scrapecreators/twitter-user-tweets

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Trimon or off

Set to true for a trimmed down version of the response

Every API field of X (Twitter) · User Tweets is on its tool page: open its card above.

What can you do with X (Twitter) user tweets in Grok?

Get a briefing on what a brand says in its popular X posts, backed by examples and engagement counts. Compare themes across public accounts while keeping conclusions limited to the returned sample.

Compare brand messaging

Compare the topics and calls to action in returned posts from Nike and adidas. Keep the conclusions scoped to the popular posts returned.

Find content ideas with evidence

Group NASA's returned posts by subject and compare their likes and reposts to find examples worth studying for a science content calendar.

Review product announcement language

Identify product announcements in Adobe's returned posts and summarize the benefits, opening lines, and calls to action used.

Prepare a public brand briefing

Turn Duolingo's returned posts into a briefing on recurring themes and tone, with post links supporting each observation.

Compare engagement signals

Rank Spotify's returned posts separately by likes, reposts, and replies to see which examples lead each measure.

Review changes in a popular-post sample

Compare scheduled snapshots of LEGO's returned posts to identify newly observed posts and engagement changes on posts present in both snapshots.

Questions about X (Twitter) user tweets in Grok

Can Grok use X (Twitter) user tweets?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run X (Twitter) user tweets like any built-in tool.

How much does X (Twitter) user tweets cost in Grok?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need a ScrapeCreators account to use X (Twitter) user tweets in Grok?

No. Spiral runs X (Twitter) user tweets on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up X (Twitter) user tweets in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while X (Twitter) user tweets runs?

X (Twitter) user tweets runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

How many posts can I get from an X profile?

The endpoint returns up to 100 popular posts from a public profile. That is a maximum, not a promise that every account returns 100.

What engagement data comes back?

The documented example includes likes, reposts, replies, quotes, bookmarks, and views alongside post text, creation timestamps, and post URLs.

How fresh are the results?

ScrapeCreators says it fetches the available Twitter information when requested. The selection still consists of popular posts, so a fresh response can contain older content.

Get started

Start using X (Twitter) user tweets in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options