[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Reddit user posts](https://spiral.ai/integrations/vscode/reddit-user-posts)

# How to Use Reddit user posts in VS Code

Returns a Reddit account’s submitted posts with titles, content, submission times, subreddits, and engagement counts. Use it to review a public organization’s announcements or compare the posts returned.

|  |  |
| --- | --- |
| Model | Reddit user posts |
| 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 user posts in VS Code

- Use Reddit user posts for u/reddit to add an announcement table to this project with titles, submission times, subreddits, upvote counts, and comment counts.
- Use Reddit user posts for u/reddit to implement a next-page control that follows the returned pagination cursor.
- Use Reddit user posts to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Reddit user posts and tell me what changed since last week.
- Check Reddit user posts and summarize what you find in three bullet points.

## How to set up Reddit user posts in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 user posts**: 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-user-posts",
    "input": {
      "username": "spez"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Reddit user posts on Spiral, shows the price and runs it.

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

## Reddit user posts tools and prices

- [Reddit App · Fetch User Posts](https://spiral.ai/tools/tikhub/tikhub/reddit-app-fetch-user-posts) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | NEW, TOP, HOT, CONTROVERSIAL | NEW | Sort method: NEW, TOP, HOT, CONTROVERSIAL |
| after |  |  | Pagination parameter |
| 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 user posts in VS Code?

Build a Reddit account viewer with profile details, submitted posts, or a public trophy display for an organization account. A coding agent can turn the returned data into project components and add pagination to the post list.

### Organization account reference

Build an internal reference for a public organization account with its account details, submitted announcements, and public trophy names and images.

### Owned account review

Review your organization’s Reddit presence in one report: profile totals, the posts returned, their engagement counts, and the public trophy display.

### Community team handoff

Prepare a handoff document for an organization’s incoming community manager, pairing account information and trophy images with examples of previous announcements.

### Reddit data viewer

Build a viewer for approved public organization accounts with a profile panel, a paginated post list, and a trophy gallery.

### Announcement digest

Summarize a public organization’s submitted announcements, including submission times, destination subreddits, and comment counts.

### Post format review

Compare the text, image, video, and link posts returned for an organization account, using their upvote and comment counts to identify examples worth discussing.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Reddit user posts in other agents

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

## More VS Code guides

- [Reddit trending searches](https://spiral.ai/integrations/vscode/reddit-trending-searches)
- [Reddit user profile](https://spiral.ai/integrations/vscode/reddit-user-profile)
- [Reddit subreddit settings](https://spiral.ai/integrations/vscode/reddit-subreddit-settings)
- [Reddit user trophies](https://spiral.ai/integrations/vscode/reddit-user-trophies)
- [Reddit subreddit search](https://spiral.ai/integrations/vscode/reddit-subreddit-search)
- [Reddit video transcript](https://spiral.ai/integrations/vscode/reddit-video-transcript)

## Questions about Reddit user posts in VS Code

**Can VS Code use Reddit user posts?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Reddit user posts like any built-in tool.

**How much does Reddit user posts cost in VS Code?**

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

**Do I need a TikHub account to use Reddit user posts in VS Code?**

No. Spiral runs Reddit user 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 Reddit user posts in VS Code?**

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

**Does VS Code wait while Reddit user posts runs?**

Reddit user posts runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

**What Reddit data does TikHub cover?**

TikHub describes its coverage as publicly available social media data. These Reddit lookups cover submitted posts, account profiles, and public trophies.

**Does public-data coverage include private communities?**

Reddit explicitly excludes posts and comments in private or quarantined communities from its public-data licensing.

**Does the 24-hour response cache mean the data is a day old?**

No. TikHub describes that cache as a response-tracing feature that does not affect API freshness; its recovery links expire after 24 hours.

**Can deleted Reddit posts still be treated as public content?**

Reddit states that deleted posts and comments are no longer publicly displayed. Public-data coverage should not be read as a deleted-content archive.

**Does public availability allow unrestricted commercial reuse?**

Reddit’s Data API terms require a separate agreement for commercial use of its Data APIs. Public visibility alone does not establish commercial reuse permission.

