Reddit research
Look up subreddit posts and comments, a single post's full comment thread,
keyword search results, a public user's post/comment history, and
hot/new/rising/top trends — all as normalized JSON from the Crawlora API, no
Reddit scraping or unofficial client libraries.
When to use this skill
- "What's talking about right now?"
- "Pull the comments on this Reddit post/thread."
- "Search Reddit for posts about <topic/product/brand>."
- "What has posted or commented recently?"
- "What's trending on Reddit today?" or "What's the sentiment in r/?"
- Brand-mention monitoring, community research, or competitor sentiment tracking on Reddit.
Setup (one-time)
- Get a free Crawlora API key (2,000 credits/mo, no card) at https://crawlora.net.
- Set
CRAWLORA_API_KEY in the environment before running the helper.
- The helper reads
CRAWLORA_API_KEY from the environment and sends requests to https://api.crawlora.net/api/v1. Missing/invalid key → 401.
How it works
- Search —
/reddit/search for keyword-matched posts, optionally
scoped to a subreddit.
- One post + its thread —
/reddit/post/{id} for the post itself,
/reddit/comments/{id} for its public comments (add include_metrics=true
on either for net score/upvote-ratio/award data at 3 credits instead of 1).
- Browse a subreddit —
/reddit/subreddit/{subreddit}/posts (hot/new/
top/rising), /reddit/subreddit/{subreddit}/comments (latest flat
comments feed), and /reddit/subreddit/{subreddit}/about for metadata +
sample posts.
- Multi-subreddit feed —
/reddit/subreddits/posts with a
comma-separated subreddits list (max 10) for a combined hot/new/top feed.
- User history —
/reddit/user/{username}/posts and
/reddit/user/{username}/comments for a public user's submitted/comment
feeds.
- Domain mentions —
/reddit/domain/{domain}/posts for public posts
linking to a given hostname.
- Trends —
/reddit/trends for broad hot/new/rising/top feeds; for a
single subreddit's trend, use /reddit/subreddit/{subreddit}/posts with
sort=hot|new|rising|top instead.
Full endpoint list, methods, and params: reference/endpoints.md.
Calling the API
# Search + subreddit browse:
scripts/crawlora.sh /reddit/search q="web scraping" | jq '.'
scripts/crawlora.sh /reddit/subreddit/programming/posts sort=top time=week | jq '.'
# Post + comment thread:
scripts/crawlora.sh /reddit/post/1abcxyz include_metrics=true | jq '.'
scripts/crawlora.sh /reddit/comments/1abcxyz sort=top limit=50 | jq '.'
# User history + trends:
scripts/crawlora.sh /reddit/user/spez/posts | jq '.'
scripts/crawlora.sh /reddit/trends sort=rising | jq '.'
Use scripts/crawlora.sh for all requests; it keeps the API key out of command-line arguments.
Endpoint reference
See reference/endpoints.md for all Reddit endpoints this skill uses.
Examples
- Community sentiment research:
/reddit/subreddit/{subreddit}/posts +
/reddit/subreddit/{subreddit}/comments for a topic-relevant subreddit,
scan post titles and comment text for recurring sentiment/pain points.
- Thread deep-dive:
/reddit/post/{id} for the original post plus
/reddit/comments/{id}?include_metrics=true for the full discussion with
net score and award counts, to summarize a viral thread.
- Brand-mention sweep:
/reddit/search q="<brand>" across all of Reddit
or scoped with subreddit=, paginated via the returned after token, to
count and read every public mention.
Notes & limits
- Credits / pay-on-success: billed only on
2xx; free tier 2,000 credits/mo.
Key at https://crawlora.net.
- Public data only — public posts/comments/subreddits; no login, no private content.
Respect Reddit's terms.
- Security: key lives in
CRAWLORA_API_KEY only — never hardcode, query-param, or commit it.
- Anonymous-page limits: subscriber counts, icons, and banners are omitted
from
/reddit/subreddit/{subreddit}/about (not available on anonymous
Reddit pages); exact upvote/downvote totals, upvote ratios, and share/repost/
view counts are estimated or unavailable without include_metrics=true, and
even then Reddit fuzzes voting data so figures are approximate.
- Metrics cost more:
include_metrics=true on /reddit/post/{id} or
/reddit/comments/{id} switches to the anonymous HTML page and costs 3
credits instead of 1; large comment threads may only expose an initial
subset in that mode.
- Throttling: most list endpoints return
503 with a Retry-After header
when Reddit is temporarily throttling the request — wait that many seconds
and retry rather than treating it as a hard failure.
- List endpoints are cursor-paginated via
after — follow the returned
cursor to walk beyond the first page (defaults to 25 results, clamps to 100).
1---2name: reddit-research3description: Researches Reddit via the Crawlora API — subreddit posts/comments/about, a single post plus its comment thread, keyword search, user post/comment history, domain-linked posts, and hot/new/rising/top trends — returning clean JSON. Use when the user wants community sentiment, a post's discussion, a user's Reddit history, or trending topics on a subreddit or across Reddit, instead of scraping Reddit or using an unofficial client.4---56# Reddit research78Look up subreddit posts and comments, a single post's full comment thread,9keyword search results, a public user's post/comment history, and10hot/new/rising/top trends — all as normalized JSON from the Crawlora API, no11Reddit scraping or unofficial client libraries.1213## When to use this skill1415- "What's <subreddit> talking about right now?"16- "Pull the comments on this Reddit post/thread."17- "Search Reddit for posts about <topic/product/brand>."18- "What has <username> posted or commented recently?"19- "What's trending on Reddit today?" or "What's the sentiment in r/<subreddit>?"20- Brand-mention monitoring, community research, or competitor sentiment tracking on Reddit.2122## Setup (one-time)2324- Get a free Crawlora API key (2,000 credits/mo, no card) at [https://crawlora.net](https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills).25- Set `CRAWLORA_API_KEY` in the environment before running the helper.26- The helper reads `CRAWLORA_API_KEY` from the environment and sends requests to `https://api.crawlora.net/api/v1`. Missing/invalid key → `401`.2728## How it works29301. **Search** — `/reddit/search` for keyword-matched posts, optionally31 scoped to a `subreddit`.322. **One post + its thread** — `/reddit/post/{id}` for the post itself,33 `/reddit/comments/{id}` for its public comments (add `include_metrics=true`34 on either for net score/upvote-ratio/award data at 3 credits instead of 1).353. **Browse a subreddit** — `/reddit/subreddit/{subreddit}/posts` (hot/new/36 top/rising), `/reddit/subreddit/{subreddit}/comments` (latest flat37 comments feed), and `/reddit/subreddit/{subreddit}/about` for metadata +38 sample posts.394. **Multi-subreddit feed** — `/reddit/subreddits/posts` with a40 comma-separated `subreddits` list (max 10) for a combined hot/new/top feed.415. **User history** — `/reddit/user/{username}/posts` and42 `/reddit/user/{username}/comments` for a public user's submitted/comment43 feeds.446. **Domain mentions** — `/reddit/domain/{domain}/posts` for public posts45 linking to a given hostname.467. **Trends** — `/reddit/trends` for broad hot/new/rising/top feeds; for a47 single subreddit's trend, use `/reddit/subreddit/{subreddit}/posts` with48 `sort=hot|new|rising|top` instead.4950Full endpoint list, methods, and params: [`reference/endpoints.md`](reference/endpoints.md).5152## Calling the API5354```sh55# Search + subreddit browse:56scripts/crawlora.sh /reddit/search q="web scraping" | jq '.'57scripts/crawlora.sh /reddit/subreddit/programming/posts sort=top time=week | jq '.'5859# Post + comment thread:60scripts/crawlora.sh /reddit/post/1abcxyz include_metrics=true | jq '.'61scripts/crawlora.sh /reddit/comments/1abcxyz sort=top limit=50 | jq '.'6263# User history + trends:64scripts/crawlora.sh /reddit/user/spez/posts | jq '.'65scripts/crawlora.sh /reddit/trends sort=rising | jq '.'66```6768Use `scripts/crawlora.sh` for all requests; it keeps the API key out of command-line arguments.697071## Endpoint reference7273See [`reference/endpoints.md`](reference/endpoints.md) for all Reddit endpoints this skill uses.7475## Examples7677- **Community sentiment research:** `/reddit/subreddit/{subreddit}/posts` +78 `/reddit/subreddit/{subreddit}/comments` for a topic-relevant subreddit,79 scan post titles and comment text for recurring sentiment/pain points.80- **Thread deep-dive:** `/reddit/post/{id}` for the original post plus81 `/reddit/comments/{id}?include_metrics=true` for the full discussion with82 net score and award counts, to summarize a viral thread.83- **Brand-mention sweep:** `/reddit/search q="<brand>"` across all of Reddit84 or scoped with `subreddit=`, paginated via the returned `after` token, to85 count and read every public mention.8687## Notes & limits8889- **Credits / pay-on-success:** billed only on `2xx`; free tier 2,000 credits/mo.90 Key at [https://crawlora.net](https://crawlora.net?utm_source=github&utm_medium=referral&utm_campaign=crawlora-skills).91- **Public data only** — public posts/comments/subreddits; no login, no private content.92 Respect Reddit's terms.93- **Security:** key lives in `CRAWLORA_API_KEY` only — never hardcode, query-param, or commit it.94- **Anonymous-page limits:** subscriber counts, icons, and banners are omitted95 from `/reddit/subreddit/{subreddit}/about` (not available on anonymous96 Reddit pages); exact upvote/downvote totals, upvote ratios, and share/repost/97 view counts are estimated or unavailable without `include_metrics=true`, and98 even then Reddit fuzzes voting data so figures are approximate.99- **Metrics cost more:** `include_metrics=true` on `/reddit/post/{id}` or100 `/reddit/comments/{id}` switches to the anonymous HTML page and costs 3101 credits instead of 1; large comment threads may only expose an initial102 subset in that mode.103- **Throttling:** most list endpoints return `503` with a `Retry-After` header104 when Reddit is temporarily throttling the request — wait that many seconds105 and retry rather than treating it as a hard failure.106- List endpoints are cursor-paginated via `after` — follow the returned107 cursor to walk beyond the first page (defaults to 25 results, clamps to 100).