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

Gemini CLI · Social Media

How to Use X list posts in Gemini CLI

Returns the post timeline of a specified X list, with pagination. Use it to read updates from the list's selected accounts rather than retrieve its followers.

Prompts to try with X list posts in Gemini CLI

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

Use X list posts to look this up and give me the result as a table. Save the result in ./assets.

X list postsGemini CLI
Try asking
  • Pull the latest numbers from X list posts and tell me what changed since last week.

  • Check X list posts and summarize what you find in three bullet points.

  • Pull the newest data from X list posts and give me the result as a table.

  • Check X list posts every morning and tell me only when something changed.

How to set up X list posts 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X list posts

    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-list-timeline",
        "input": {
          "list_id": "84839422"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds X list posts on Spiral, shows the price and runs it.

X list posts providers and prices

Spiral runs X list posts through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
X (Twitter) Web · Get list timeline
tikhub/twitter-web-fetch-list-timeline

What can you do with X list posts in Gemini CLI?

Build an internal X research panel for a brand or publication. Your coding agent can add returned posts, community context, or organization checks to the project and compare them with saved observations.

Review campaign distribution

Check public partner follows and reposts, read related list posts, and summarize replies to the campaign announcement.

Prepare an event recap

Combine public organization relationship checks, community context and rosters, list coverage and rosters, and announcement replies into an internal event report.

Build an industry source brief

Inspect a curated list's sources, public business followers, and posts, then verify relevant organization-to-organization follows.

Assemble sponsorship evidence

Document public partner reposts and follows alongside community context, organization representation in lists and communities, related posts, and announcement feedback.

Compare competitor publishing

Compare public business connections, repost distribution, community positioning, list representation, published discussion, and reply themes across competing brands.

Questions about X list posts in Gemini CLI

Can Gemini CLI use X list posts?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run X list posts like any built-in tool.

How much does X list posts 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 list posts in Gemini CLI?

No. Spiral runs X list posts 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 list posts in Gemini CLI?

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

Does Gemini CLI wait while X list posts runs?

X list posts runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Can TikHub retrieve private X content?

TikHub describes its X coverage as publicly available data. Protected posts and accounts fall outside that coverage and can return empty results or errors.

Can it recover deleted X posts?

Deleted posts can return empty results or errors. TikHub does not describe these endpoints as a recovery service for deleted content.

Are X handles reliable identifiers over time?

Handles can change, while numeric account and post IDs remain stable. Use numeric IDs when comparing observations over time.

Are these X endpoints read-only?

Yes. TikHub describes its X access as read-only public data access.

Does a missing result always mean the content never existed?

No. TikHub says deleted, suspended, or protected posts and accounts can produce empty results or errors.

Get started

Start using X list posts in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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