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

Google Antigravity · Social Media

How to Use X (Twitter) trending topics in Google Antigravity

Returns trending topics for a country. Use it to identify current discussion topics before investigating specific posts or communities.

Prompts to try with X (Twitter) trending topics in Google Antigravity

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

Use X (Twitter) trending topics to look this up and give me the result as a table. Save the result in ./assets.

X (Twitter) trending topicsGoogle Antigravity
Try asking
  • Pull the latest numbers from X (Twitter) trending topics and tell me what changed since last week.

  • Check X (Twitter) trending topics and summarize what you find in three bullet points.

  • Pull the newest data from X (Twitter) trending topics and give me the result as a table.

  • Check X (Twitter) trending topics every morning and tell me only when something changed.

How to set up X (Twitter) trending topics in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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) trending topics

    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-trending",
        "input": {
          "country": "UnitedStates"
        }
      }'

Then paste one of the prompts above: Google Antigravity finds X (Twitter) trending topics on Spiral, shows the price and runs it.

X (Twitter) trending topics providers and prices

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

TikHubSocial Media
X (Twitter) Web · Trending
tikhub/twitter-web-fetch-trending

What can you do with X (Twitter) trending topics in Google Antigravity?

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.

Review a product announcement

Build a launch brief from matching posts, a specific announcement, reposting accounts, country trends, and the company's current broadcast status. Limit account analysis to public businesses, publishers, and creators.

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.

Choose topics for a publisher's editorial meeting

Compare country trends with topic communities and matching posts. Review public publishers and organizations in a publication's follower and following results to suggest sources worth reading.

Watch for public organization broadcasts

Check an institution and its affiliated accounts for live status on a schedule. Pair the checks with event posts and country trends to prepare an internal briefing when a broadcast is detected.

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.

Questions about X (Twitter) trending topics in Google Antigravity

Can Google Antigravity use X (Twitter) trending topics?

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run X (Twitter) trending topics like any built-in tool.

How much does X (Twitter) trending topics cost in Google Antigravity?

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

Do I need a TikHub account to use X (Twitter) trending topics in Google Antigravity?

No. Spiral runs X (Twitter) trending topics 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) trending topics in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while X (Twitter) trending topics runs?

X (Twitter) trending topics runs in the background. Google Antigravity 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.

Get started

Start using X (Twitter) trending topics in Google Antigravity

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

Paste this into Google Antigravity:

Set up Google Antigravity

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