Reddit API workflow: Purrkey calls for a community research table
Plan a community research workflow with Purrkey calls for discovery, post comments and community context, then turn the results into a monthly cost table
On this page
You need a repeatable Reddit API community research workflow for 12 monthly discovery searches, 20 post comment reads and 8 community context checks, and a monthly cost table before you write a monitoring plan. The worksheet is the deliverable: one row per Purrkey call, with the calls planned and the monthly total. No run has been executed for this guide, so the planning values are a design, not a result
The task and the deliverable table
Social media analysts can use this workflow to turn a broad research question into a repeatable monthly plan. The table has one row for each call type you intend to make. Columns hold the research step, the tool id, the input subject, calls planned, price per call and monthly total
| Column | What it holds |
|---|---|
| Research step | Discovery, post comments or community context |
| Tool id | The toolId for the call |
| Input subject | The broad query, one post or one subreddit |
| Calls planned | The number of calls for the month |
| Price per call | The listed price for that tool |
| Monthly total | Calls planned multiplied by the price per call |
The planning table is a design, not a run output. Values in a filled copy are placeholders showing the shape, and a monthly plan can use the same columns with different quantities
Candidate tools on Purrkey
The three tool ids for this job are below. Prices were read from the public catalog. Each call is a POST /v1/runs request with the toolId set to the tool id
| Tool | Returns | Price per call | Pick it when |
|---|---|---|---|
anyapi.reddit.search | Reddit posts matching a query | $0.0012 per call | You have a broad query and need candidate posts and communities |
anyapi.reddit.post_comments | Comments on one Reddit post | $0.0012 per call | A post matches the research question and you need its discussion context |
anyapi.reddit.subreddit_details | A subreddit's metadata: weekly active users, description and category | $0.0012 per call | You want to qualify a community before committing calls to it |
The input subjects for the three rows are a broad query, one post and one subreddit. The catalog entry names toolId as the request field that selects the tool; check the current inputs for the query, post and subreddit before running
How to choose for this task
Start with discovery. anyapi.reddit.search takes a broad query and returns Reddit posts matching that query. Use its post list to find candidate posts and communities, then decide which rows deserve a second call. A broad query can surface posts from several communities, so keep discovery separate from the comment row
Open anyapi.reddit.post_comments only for posts that match the research question; that is where discussion context lives. Limit: this call returns comments on one Reddit post, so one call cannot cover several posts. Plan one call per post you open
Use anyapi.reddit.subreddit_details to qualify a community before committing to it. The contract names the metadata as weekly active users, description and category. Those fields support a keep or drop decision on the community row
Budget the plan as calls planned multiplied by the price per call. Keep the three step counts separate so a change in one step does not hide in a single total
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to plan a monthly community research workflow with anyapi.reddit.search, anyapi.reddit.post_comments and anyapi.reddit.subreddit_details. Check the current inputs and price of each tool id before running anything. Use anyapi.reddit.search for 12 monthly discovery calls on the broad query I provide. Open anyapi.reddit.post_comments only for posts that match the research question, and plan 20 comment calls, one call per post. Use anyapi.reddit.subreddit_details for 8 community context checks. Return a table with a row per call: research step, tool id, input subject, calls planned, price per call and monthly total. Do not claim a settled charge.Estimated tool cost
The table is a ceiling. Each price is a max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The listed charges can be lower, never higher. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Monthly discovery searches | calls x max price | $0.0012 per call | 12 | $0.0144 |
| Post comment reads | calls x max price | $0.0012 per call | 20 | $0.024 |
| Community context checks | calls x max price | $0.0012 per call | 8 | $0.0096 |
| Monthly plan | Sum of row totals |
Next action
Open the Reddit tool page to check current inputs and prices before you fix the 12, 20 and 8 call plan: Reddit tools on Purrkey
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Reddit.FAQ
How do I plan a Reddit API community research workflow with a monthly cost table?
Use anyapi.reddit.search for 12 discovery calls, anyapi.reddit.post_comments for 20 comment reads and anyapi.reddit.subreddit_details for 8 community context checks. Put each call row in the table with calls planned and the per-call price, then multiply to get the monthly total.
Which Purrkey tools does the community research workflow use?
It uses anyapi.reddit.search to find posts matching a query, anyapi.reddit.post_comments to read comments on one post and anyapi.reddit.subreddit_details to fetch a subreddit's metadata.
What does anyapi.reddit.subreddit_details return?
It returns a subreddit's metadata: weekly active users, description and category. Use those fields to qualify a community before committing calls to it.
When should I open the post comments call?
Open anyapi.reddit.post_comments only for posts that match the research question, because that is where discussion context lives. One call returns comments on one Reddit post, so plan one call per post.
How much does the monthly plan cost as a ceiling?
The rows are 12 search calls at $0.0012, $0.0144; 20 comment calls at $0.0012, $0.024; and 8 details calls at $0.0012, $0.0096. The monthly ceiling is the sum of the three row totals before agent model fees.
Why is the listed price called a max_call ceiling?
The catalog labels each price as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge, so the settled charge can be lower, never higher.
What does the search call return?
anyapi.reddit.search returns Reddit posts matching a query. Use the post list to discover candidate posts and communities before opening comments.
Next step
Try this with Reddit
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.