# Reddit monitoring

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Workflows

Watch Reddit for a brand, a product or a problem people want solved: new posts and comments that mention it, the subreddits they're in and how they're voted.

## The prompt

Paste it into your agent and replace the parts in angle brackets. The agent needs SocialTap: [connect it](https://socialtap.dev/docs/agents/index.md) with the MCP server or an API key.

Prompt:

```
Watch Reddit for mentions of <brand, product or problem> and tell me which ones need an answer.

Search Reddit posts and comments for each of these keywords: <keywords>, newest first. Also read the newest posts in these subreddits: <subreddits>. Skip anything older than <days> days and anything I have already seen: <IDs or links already handled>.

For each match, read the post's comments to see whether someone already answered it well.

Then give me one table, a row per match, with the link, subreddit, author, date, score, the sentence that mentions the keyword, whether it asks for a recommendation or reports a problem, and whether it already has a good answer. Put the ones worth answering first, and say in a sentence why for each of the top five.

Get the data from SocialTap. If the SocialTap MCP server is connected, use its tools; otherwise call the REST API at https://socialtap.dev with the API key from the SOCIALTAP_API_KEY environment variable in the x-api-key header. Read https://socialtap.dev/docs/agents/index.md before the first call. The endpoints, by ID:
- reddit.search_posts: GET /v1/reddit/search_posts, Reddit Search API. Docs: https://socialtap.dev/docs/reference/reddit/search-posts/index.md
- reddit.search_comments: GET /v1/reddit/search_comments, Reddit Comment Search API. Docs: https://socialtap.dev/docs/reference/reddit/search-comments/index.md
- reddit.subreddit_posts: GET /v1/reddit/subreddit_posts, Reddit Subreddit Posts API. Docs: https://socialtap.dev/docs/reference/reddit/subreddit-posts/index.md
- reddit.comments: GET /v1/reddit/comments, Reddit Comments API. Docs: https://socialtap.dev/docs/reference/reddit/comments/index.md
```

**Run it on live data.** 100 free credits when you sign up, no card required.

[Start for free](https://socialtap.dev/signup/)

## Endpoints it uses

- [Reddit · Search](https://socialtap.dev/docs/reference/reddit/search-posts/index.md) `reddit.search_posts` [Try it](https://socialtap.dev/playground/?endpoint=reddit.search_posts)
- [Reddit · Comment Search](https://socialtap.dev/docs/reference/reddit/search-comments/index.md) `reddit.search_comments` [Try it](https://socialtap.dev/playground/?endpoint=reddit.search_comments)
- [Reddit · Subreddit Posts](https://socialtap.dev/docs/reference/reddit/subreddit-posts/index.md) `reddit.subreddit_posts` [Try it](https://socialtap.dev/playground/?endpoint=reddit.subreddit_posts)
- [Reddit · Comments](https://socialtap.dev/docs/reference/reddit/comments/index.md) `reddit.comments` [Try it](https://socialtap.dev/playground/?endpoint=reddit.comments)

## What comes back

A few fields of one comment from [Reddit · Comments](https://socialtap.dev/docs/reference/reddit/comments/index.md), as the API returns it. The reference lists every field.

Comment sample:

```json
{
  "id": "t1_c60mmaf",
  "text": "How do you balance family life and hobbies with, well, being the POTUS?",
  "author": {
    "id": "t2_60d4r",
    "username": "gobearss"
  },
  "published_at": "2012-08-29T20:05:19Z",
  "is_pinned": false,
  "metrics": {
    "like_count": 1556
  }
}
```

---

[HTML version](https://socialtap.dev/docs/workflows/reddit-monitoring/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
