[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [X (Twitter) account background](https://spiral.ai/integrations/gemini-cli/x-twitter-account-background)

# How to Use X (Twitter) account background in Gemini CLI

Returns account background information, including registration time, account status, and usage information. Use it to add context to a public organization's account rather than inspect its followers or posts.

|  |  |
| --- | --- |
| Model | X (Twitter) account background |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with X (Twitter) account background in Gemini CLI

- Use X (Twitter) account background for NASA. Add its returned registration time, account status, and usage information to our internal source directory.
- Use X (Twitter) account background to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from X (Twitter) account background and tell me what changed since last week.
- Check X (Twitter) account background and summarize what you find in three bullet points.
- Pull the newest data from X (Twitter) account background and give me the result as a table.

## How to set up X (Twitter) account background in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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.

```bash
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) account background**: One request; the result comes back by polling or a webhook.

```bash
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-about",
    "input": {
      "screen_name": "elonmusk"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds X (Twitter) account background on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## X (Twitter) account background tools and prices

- [X (Twitter) Web · Get user about profile](https://spiral.ai/tools/tikhub/tikhub/twitter-web-fetch-user-about) (TikHub): $0.0013 per request.

## What can you do with X (Twitter) account background in Gemini CLI?

Build a research view that separates X posts, organization account background, public account connections, and broadcast status. A coding agent can turn retrieved results into project fixtures and reports, preserving pagination where the endpoint supports it.

### Prepare a newsroom event brief

Find event communities and related posts, examine cited announcements, and check current trends and broadcasts. Add the organizing institution's account background and affiliated accounts to distinguish its public communication channels.

### Research potential organization partnerships

Find topic communities and public organizations appearing in repost, follower, and following results. Use account background and affiliate information to prepare a shortlist for manual partnership research.

### Audit an organization's public account presence

Review account background, affiliated accounts, public organizational connections, and relevant posts. Use the findings to identify channels that should appear in an internal communications directory.

### Build a public science communications brief

Prepare a NASA-focused brief covering account background, affiliates, live status, mission posts, reposting organizations, topic communities, and country trends. Include public institutions from follower and following results as additional sources to review.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## X (Twitter) account background in other agents

- [Amp](https://spiral.ai/integrations/amp/x-twitter-account-background)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/x-twitter-account-background)
- [Claude](https://spiral.ai/integrations/claude-desktop/x-twitter-account-background)
- [Claude Code](https://spiral.ai/integrations/claude-code/x-twitter-account-background)
- [Cline](https://spiral.ai/integrations/cline/x-twitter-account-background)
- [Codex](https://spiral.ai/integrations/codex/x-twitter-account-background)
- [Cursor](https://spiral.ai/integrations/cursor/x-twitter-account-background)
- [Devin](https://spiral.ai/integrations/devin/x-twitter-account-background)
- [dots](https://spiral.ai/integrations/dots/x-twitter-account-background)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/x-twitter-account-background)
- [Gemini](https://spiral.ai/integrations/gemini/x-twitter-account-background)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/x-twitter-account-background)
- [goose](https://spiral.ai/integrations/goose/x-twitter-account-background)
- [Grok](https://spiral.ai/integrations/grok/x-twitter-account-background)
- [Grok Build](https://spiral.ai/integrations/grok-build/x-twitter-account-background)
- [Hermes](https://spiral.ai/integrations/hermes/x-twitter-account-background)
- [Instinct](https://spiral.ai/integrations/instinct/x-twitter-account-background)
- [Manus](https://spiral.ai/integrations/manus/x-twitter-account-background)
- [Muse](https://spiral.ai/integrations/muse/x-twitter-account-background)
- [Muse Code](https://spiral.ai/integrations/muse-code/x-twitter-account-background)
- [n8n](https://spiral.ai/integrations/n8n/x-twitter-account-background)
- [Notion](https://spiral.ai/integrations/notion/x-twitter-account-background)
- [OpenClaw](https://spiral.ai/integrations/openclaw/x-twitter-account-background)
- [opencode](https://spiral.ai/integrations/opencode/x-twitter-account-background)
- [Perplexity](https://spiral.ai/integrations/perplexity/x-twitter-account-background)
- [Raycast](https://spiral.ai/integrations/raycast/x-twitter-account-background)
- [VS Code](https://spiral.ai/integrations/vscode/x-twitter-account-background)
- [Windsurf](https://spiral.ai/integrations/windsurf/x-twitter-account-background)
- [Zapier](https://spiral.ai/integrations/zapier/x-twitter-account-background)

## More Gemini CLI guides

- [X (Twitter) Search Posts](https://spiral.ai/integrations/gemini-cli/x-twitter-search-posts)
- [X (Twitter) account followers](https://spiral.ai/integrations/gemini-cli/x-twitter-account-followers)
- [X (Twitter) Community](https://spiral.ai/integrations/gemini-cli/x-twitter-community)
- [X (Twitter) account live status](https://spiral.ai/integrations/gemini-cli/x-twitter-account-live-status)
- [Twitch creator search](https://spiral.ai/integrations/gemini-cli/twitch-creator-search)
- [X (Twitter) account media](https://spiral.ai/integrations/gemini-cli/x-twitter-account-media)

## Questions about X (Twitter) account background in Gemini CLI

**Can Gemini CLI use X (Twitter) account background?**

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

**How much does X (Twitter) account background cost in Gemini CLI?**

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

**Do I need a TikHub account to use X (Twitter) account background in Gemini CLI?**

No. Spiral runs X (Twitter) account background 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) account background in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while X (Twitter) account background runs?**

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

**Can this data include protected or deleted X content?**

TikHub's X coverage is limited to public content. Deleted, suspended, or protected posts and accounts return empty results or errors.

**How fresh are the results?**

TikHub says repeated requests fetch fresh, real-time data even when the request is identical. That describes retrieval freshness, rather than a guarantee that X has updated every underlying value.

**Does one response contain every matching result?**

For list and search requests, TikHub documents bounded result pages. Reposting accounts, communities, followers, and accounts followed use cursors to retrieve additional pages.

**Does TikHub guarantee that X data is complete and accurate?**

No. TikHub's terms explicitly disclaim a guarantee that retrieved data is accurate, complete, or current.

**Does access give me permission to republish X content?**

Access does not establish permission to republish the content. TikHub's terms say retrieved material may carry third-party intellectual property rights.

