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

Grok · Social Media

How to Use X (Twitter) batch account profiles in Grok

Returns public X account profiles through a batch lookup by numeric account IDs. Use it to refresh a roster of organizations instead of researching each profile separately.

Prompts to try with X (Twitter) batch account profiles in Grok

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

Use X (Twitter) batch account profiles for NASA, account ID 11348282, and SpaceX, account ID 34743251, and compare their returned public profile information.

X (Twitter) batch account profilesGrok
Try asking
  • Use X (Twitter) batch account profiles to look this up and give me the result as a table.

  • Pull the latest numbers from X (Twitter) batch account profiles and tell me what changed since last week.

  • Check X (Twitter) batch account profiles and summarize what you find in three bullet points.

  • Pull the newest data from X (Twitter) batch account profiles and give me the result as a table.

How to set up X (Twitter) batch account profiles 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) batch account profiles

    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": "tikhub",
        "model": "tikhub/twitter-web-fetch-user-profiles-by-rest-ids",
        "input": {
          "rest_ids": "44196397,34743251"
        }
      }'

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

X (Twitter) batch account profiles providers and prices

Spiral runs X (Twitter) batch account profiles through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
X (Twitter) Web · Get profiles by rest ids
tikhub/twitter-web-fetch-user-profiles-by-rest-ids

What can you do with X (Twitter) batch account profiles in Grok?

Prepare an X briefing on a public organization before a meeting or editorial assignment. A chat agent can summarize returned account records and explain what they contribute to the brief.

Competitive communications review

Compare public company profiles, published posts, media, and account replies to see how competitors introduce themselves, announce products, and answer questions.

Product launch briefing

Prepare an internal launch brief from a company's profile, announcements, media, and follow-up replies. Use batch profiles when several participating organizations need context.

Public organization research

Build an editorial research packet for organizations such as NASA and SpaceX. Combine profile context with published posts, media, and replies that deserve further reporting.

Brand communications audit

Review whether an organization's public profile, posts, media, and replies tell a consistent story. Refresh several organization profiles together when auditing a company portfolio.

Organization directory refresh

Refresh public X profile records for a known organization roster, using individual lookups for focused research and batch lookups for the roster.

Questions about X (Twitter) batch account profiles in Grok

Can Grok use X (Twitter) batch account profiles?

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

How much does X (Twitter) batch account profiles cost in Grok?

$0.0013 per request. 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 TikHub account to use X (Twitter) batch account profiles in Grok?

No. Spiral runs X (Twitter) batch account profiles on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up X (Twitter) batch account profiles 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) batch account profiles runs?

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

Does this include protected X content?

No. TikHub's stated coverage excludes private, restricted, and password-protected content, so protected account material falls outside that boundary.

Are repeated requests served from a cache?

TikHub says every API request retrieves fresh, real-time data, even when the request is repeated.

Get started

Start using X (Twitter) batch account profiles 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