[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [X (Twitter) trending topics](https://spiral.ai/integrations/perplexity/x-twitter-trending-topics)

# How to Use X (Twitter) trending topics in Perplexity

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

|  |  |
| --- | --- |
| Model | X (Twitter) trending topics |
| 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) trending topics in Perplexity

- Use X (Twitter) trending topics for the United States and Canada. Compare the returned topics and suggest three items for an editorial meeting.
- Use X (Twitter) trending topics to look this up and give me the result as a table.
- 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.

## How to set up X (Twitter) trending topics in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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) trending topics**: 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-trending",
    "input": {
      "country": "UnitedStates"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## X (Twitter) trending topics tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| country |  | UnitedStates | Country |

## What can you do with X (Twitter) trending topics in Perplexity?

Prepare a source brief about a public organization or topic on X using retrieved evidence. A chat app can explain the returned posts, account information, connections, or broadcast status in plain English.

### 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.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## X (Twitter) trending topics in other agents

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

## More Perplexity guides

- [X (Twitter) reposting accounts](https://spiral.ai/integrations/perplexity/x-twitter-reposting-accounts)
- [X (Twitter) user tweets](https://spiral.ai/integrations/perplexity/x-twitter-user-tweets)
- [X (Twitter) profile](https://spiral.ai/integrations/perplexity/x-twitter-profile)
- [X (Twitter) video download](https://spiral.ai/integrations/perplexity/x-twitter-video-download)
- [X (Twitter) post search](https://spiral.ai/integrations/perplexity/x-twitter-post-search)
- [X (Twitter) video transcript](https://spiral.ai/integrations/perplexity/x-twitter-video-transcript)

## Questions about X (Twitter) trending topics in Perplexity

**Can Perplexity use X (Twitter) trending topics?**

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

**How much does X (Twitter) trending topics cost in Perplexity?**

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

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

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 Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while X (Twitter) trending topics runs?**

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

