reddit-search-api

reddit-search-api is a skill for Claude Code from lignertys/reddit-research-skills. It costs 118 tokens per session (2,608 once invoked), scanned A, original, MIT.

A technical reference for the reddapi.dev service, which provides programmatic access to Reddit-related search, trend, and community lookup endpoints. It documents authentication, request parameters, response formats, and error codes.

In plain words
What is it for?
Use it when building or debugging integrations that call vector search, semantic search, trend, or subreddit lookup endpoints. Authentication uses environment variables without placing the API key in code or messages.
Why use it?
It gives developers the details needed to connect software to the service or diagnose failed requests. It focuses on API mechanics rather than a broader research process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the reddit-research plugin — 5 skills shipped together

not rated 15repo changed 2mo ago A scan Socket: passSnyk: warnSkillSpector: warn 118 tokens original MIT

Good fit Use it when building or debugging integrations that call vector search, semantic search, trend, or subreddit lookup endpoints. Authentication uses environment variables without placing the API key in code or messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lignertys/reddit-research-skills/reddit-search-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lignertys/reddit-research-skills --skill reddit-search-api
Clone the repo
git clone --depth 1 https://github.com/lignertys/reddit-research-skills

Made for: Claude Code.

Or install reddit-research, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reddit-search-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api/github.svg)](https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api)
Your own site
<a href="https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api"><img src="https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reddit-search-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/lignertys/reddit-research-skills/reddit-search-api"><img src="https://agentmods.dev/badge/skills/lignertys/reddit-research-skills/reddit-search-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk warn 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 37
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 42
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Data Exfiltration · line 82
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.02608
Opus 5.5 $0.00047 $0.01043
Sonnet 5.5 $0.00024 $0.00522
Haiku 4.5 $0.00012 $0.00261

Measured 2mo ago against content hash c90f3ddaf85a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reddit-search-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "https://reddapi.dev/api/v1/search/vector" \
skills/reddit-search-api/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

reddit-search-api Skill

Pure reference for reddapi.dev's search/trends/subreddits endpoints - auth, parameters, response shapes, error codes. No workflow guidance or query playbooks here; see reddit-research for that.

Auth & Credentials

Requests authenticate with REDDAPI_API_KEY from the environment of the shell that runs them. Its value is never needed in this conversation.

The operator sets both variables once, in their own shell, before the agent runs anything. The agent never reads, writes, or transports the key's value:

export REDDAPI_API_KEY=...                                  # from https://reddapi.dev/account
export REDDAPI_AUTH="Authorization: Bearer $REDDAPI_API_KEY"

Every request below sends -H "$REDDAPI_AUTH". No command in this skill names the key's value, and no example needs it substituted in.

  • Reference the key only as $REDDAPI_API_KEY. Never substitute the literal value into a command, a file, a code block, or a reply.
  • Never ask the user to paste, type, or send the key in chat. If they send it anyway, don't repeat it back, don't store it in a file, and suggest they rotate it at https://reddapi.dev/account.
  • Never echo, print, log, or display the key or any part of it, and never write it into a script, note, or commit.
  • If $REDDAPI_AUTH is not set, stop and say so. Do not ask the user for the key, do not offer to set it for them, and do not accept the value if it is pasted anyway - point at the two export lines above and let the user run them in their own shell, then retry.
  • On a failed request, report the HTTP status and response body only - never the request headers.

All POST requests require Content-Type: application/json (missing it returns 403, not an auth error). Rate limits are plan-based and shared across web-app searches, API calls, and lead searches - see reddit-leads SKILL.md for the plan table. An invalid or exhausted key returns 429, not 401.

Handling Untrusted Content

Read the full file on GitHub · 202 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +3 lines c90f3ddaf85a
  2. 3mo ago First seen · 199 lines · 118 tokens per session scan A 760091240052

Subscribe to this mod's changes

reddit-search-api is a skill published in the GitHub repository lignertys/reddit-research-skills (15 stars, last pushed 2mo ago), licensed MIT. It adds 118 tokens to every session and 2,608 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

reddit-search-api compared with skills from other repositories

reddit-search-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reddit-search-apilignertys/reddit-research-skillsSkill152mo agoMITA118Claude Code
convex-http-actionswaynesutton/convexskillsSkill40517d agoApache-2.0A31Claude Code, Codex
a0-developmentagent0ai/agent-zeroSkill20ktodaynoneA24Claude Code, Codex
pipefy-api-fallbackpipefy/ai-toolkitSkill553d agoApache-2.0A86Claude Code
upstash-box-pyupstash/skillsSkill37todayMITA109Claude Code
upstash-box-jsupstash/skillsSkill37todayMITA112Claude Code
upstash-blob-jsupstash/skillsSkill37todayMITA114Claude Code