[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Reddit trending searches](https://spiral.ai/integrations/codex/reddit-trending-searches)

# How to Use Reddit trending searches in Codex

Returns currently trending Reddit search keywords and topics, with related post previews. Use it to identify subjects for an editorial brief before investigating individual communities.

|  |  |
| --- | --- |
| Model | Reddit trending searches |
| 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 Reddit trending searches in Codex

- Use Reddit trending searches to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Reddit trending searches and tell me what changed since last week.
- Check Reddit trending searches and summarize what you find in three bullet points.
- Pull the newest data from Reddit trending searches and give me the result as a table.
- Check Reddit trending searches every morning and tell me only when something changed.

## How to set up Reddit trending searches in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 Reddit trending searches**: 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/reddit-app-fetch-trending-searches",
    "input": {
      "language": "en-US"
    }
  }'
```

Then paste one of the prompts above: Codex finds Reddit trending searches on Spiral, shows the price and runs it.

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

## Reddit trending searches tools and prices

- [Reddit App · Fetch Reddit APP Trending Searches](https://spiral.ai/tools/tikhub/tikhub/reddit-app-fetch-trending-searches) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| language |  | en-US | Preferred response language as an IETF language tag; default: en-US |
| need_format |  | false | Whether to clean and format the data |

## What can you do with Reddit trending searches in Codex?

Build a Reddit research view that puts community context beside the material being reviewed. Combine the requested Reddit data with project code to create readable views for discussions, discovery, or contribution review.

### Product feedback brief

Explore search suggestions and trending topics, inspect relevant community metadata, and read selected feed posts in bulk. Add a public brand account's published replies and active communities to explain the organization's participation.

### Technology newsletter research

Find subjects through trending searches and suggestions, then select community posts for closer reading. Use community metadata and a public organization's replies and active communities to add context to a draft issue.

### Reddit research interface

Build a research view with search suggestions, trending subjects, community metadata, channels, rules, settings, and post reading. Include a separate view of a public organization's published comments and active communities.

### Product terminology research

Compare suggested search terms and trending topics with language in relevant community posts and a public brand account's replies. Turn the findings into questions for documentation or customer research.

## Overview

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

## Reddit trending searches in other agents

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

## More Codex guides

- [Reddit subreddit settings](https://spiral.ai/integrations/codex/reddit-subreddit-settings)
- [Reddit user posts](https://spiral.ai/integrations/codex/reddit-user-posts)
- [Reddit subreddit search](https://spiral.ai/integrations/codex/reddit-subreddit-search)
- [Reddit user profile](https://spiral.ai/integrations/codex/reddit-user-profile)
- [Reddit subreddit rules and style](https://spiral.ai/integrations/codex/reddit-subreddit-rules-and-style)
- [Reddit user trophies](https://spiral.ai/integrations/codex/reddit-user-trophies)

## Questions about Reddit trending searches in Codex

**Can Codex use Reddit trending searches?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Reddit trending searches like any built-in tool.

**How much does Reddit trending searches cost in Codex?**

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

**Do I need a TikHub account to use Reddit trending searches in Codex?**

No. Spiral runs Reddit trending searches on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Reddit trending searches in Codex?**

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

**Does Codex wait while Reddit trending searches runs?**

Reddit trending searches runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**Does Reddit's public data cover every community?**

Reddit excludes posts and comments in private and quarantined communities from its public data licensing. Public Reddit research therefore has a defined coverage boundary.

**Are deleted posts and comments still public?**

Reddit says deleted posts and comments are no longer publicly displayed. These endpoints should not be described as a deleted-content archive.

**Can publicly visible Reddit data be reused commercially?**

Reddit's public-content policy directs people with commercial purposes to contact Reddit. Public visibility alone does not establish permission for commercial reuse.

**Does access include permission to train an AI model?**

Reddit's Data API Terms do not grant permission to train a machine learning or AI model on user content without express permission from the applicable rightsholders.

**Does Reddit guarantee accurate and complete data?**

Reddit's Data API Terms expressly disclaim guarantees that the data APIs are reliable, accurate, or complete. A research report should not describe a Reddit extract as a complete census of discussion.

