How to fetch a Reddit user's public profile
Fetch a Reddit user's public profile by username, then compare karma split, post and comment counts, account age and bio in one table
On this page
You have 25 Reddit usernames from a community research list and need one public-profile snapshot per account. The job is one call per username through anyapi.reddit.profile, followed by a table that compares the accounts and assigns a priority for outreach or moderation review
The table is the deliverable: one row per username, with the profile fields the contract returns and a priority label you set from those fields. No run has been made for this guide. Values in the table are placeholders showing the shape
The task and the table design
Example username: quiet_pixel_42 (invented; replace it with a handle from your list)
| username | displayName | karma | postKarma | commentKarma | posts | comments | createdUtc | bio | avatarUrl | profileUrl | verified | priority |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| quiet_pixel_42 | (display title or username) | (integer) | (integer) | (integer) | (integer) | (integer) | (epoch seconds) | (text) | (URL) | (URL) | true, false or null | high, medium or low |
Use createdUtc for account age. The contract says it is a UTC epoch timestamp in seconds, and you multiply it by 1000 for a JS Date in milliseconds. The priority column is your own sorting label. This guide treats high, medium and low as placeholders for that label, not as a contract field
The input the tool takes
anyapi.reddit.profile is the catalog id, and the price block gives its path, and the tool is called through POST /v1/runs with toolId anyapi.reddit.profile. The required input is username, the Reddit handle without the u/ prefix. Take it from a profile URL or your username list
The optional input is requireFields, an array limited to verified. Omit it for cheapest routing unless verified must be returned. Naming verified can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge
The contract documents username and requireFields. Do not treat that as a closed list of accepted inputs
Fetch one profile per call and read the output
One call returns one profile. The response has found and data, plus reason when found is false. data holds the profile record, or null when nothing was found. When found is true, compare karma, postKarma, commentKarma, posts, comments, createdUtc, bio, avatarUrl, profileUrl, displayName and verified. verified is true, false or null; the contract says null appears when the serving source does not report it
A found: false answer is a successful call, not an error. Suspended accounts return reason: suspended, and the actual cost still applies. For not_found, the source states the target does not exist or returned nothing for it
The profile record also includes id, followers, employee, nsfw and trophies; id is required in the record, while the other optional fields appear when the serving source returns them. Use the fields you need for the priority decision; a missing optional field does not turn a found profile into a failed call
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch public
Reddit profiles for the usernames below. Check the current inputs and
price of anyapi.reddit.profile before running anything. Call the tool
once per username, with username set to the handle without the u/
prefix. Omit requireFields unless verified must be returned. Return a
table with username, displayName, karma, postKarma, commentKarma,
posts, comments, createdUtc, bio, avatarUrl, profileUrl, verified and
priority. Mark priority as high, medium or low using the fields in the
table. Keep found false rows, record reason, and do not retry them as
errors. Do not guess profiles.
quiet_pixel_42Replace the example username with the 25 handles from your list. If you need verified for the priority rule, add requireFields: ["verified"] to the prompt and accept that the quoted price can change
Estimated tool cost
The catalog lists anyapi.reddit.profile at up to $0.0012 per call on max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The rows below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single profile lookup | 1 call x max price | $0.0012 per call | 1 | $0.0012 |
| 25-profile research batch | 25 calls x max price | $0.0012 per call | 25 | $0.03 |
Agent model fees are not counted. If you set requireFields: ["verified"] and a dearer source serves, the quoted price for those calls can be higher than the listed max_call figure
Run the first lookup
Start with one username from the list, then expand to the 25-profile batch when the table shape is set. The tool page is anyapi.reddit.profile
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 fetch a Reddit user's public profile by username?
Call anyapi.reddit.profile with username set to the handle without the u/ prefix. The response returns found, data, and a profile record when the account is found.
What inputs does anyapi.reddit.profile take?
The contract documents a required username and an optional requireFields array limited to verified. Do not assume that list is closed.
What does found false mean for a Reddit profile lookup?
found: false is a successful call, not an error. reason is not found or suspended, and the actual cost still applies.
What does requireFields verified do?
Naming verified can raise your price because a dearer source may serve when the cheapest source cannot return it. A named field can still be absent on a profile that lacks it.
How much does 25 Reddit profile lookups cost?
At the listed maximum call price of up to $0.0012 per call, 25 calls total up to $0.03. A single lookup totals up to $0.0012.
Which fields should I compare to set priority?
Compare karma, postKarma, commentKarma, posts, comments, createdUtc, bio, avatarUrl, profileUrl and verified in the table design. priority is your own label for the account.
What happens if a Reddit account is suspended?
The response returns found: false with reason: suspended, and the call still costs the actual charge.
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.