How to get a Reddit user's avatar and karma by username
Get a Reddit user's avatar URL, karma split, account age, and profile URL from one username lookup
On this page
You have 30 Reddit usernames from a community shortlist and need an avatar, a karma split and an account age for each one before deciding who to invite to a research panel. One lookup per username fills a comparison table you can sort by age and by karma
The table below is the deliverable, and no lookup has been run for this article. Values here are placeholders showing the shape
Example input and the shortlist table design
The input is a bare username. Your own list holds real handles, copied from profile URLs or from a spreadsheet column
| # | username | found | avatarUrl | karma | postKarma | commentKarma | createdUtc | profileUrl | shortlist decision |
|---|---|---|---|---|---|---|---|---|---|
| 1 | quiet_compiler (Example) | true or false | URL or empty | integer | integer | integer | epoch seconds | URL | invite, hold or skip |
| 2 | (next username) |
Keep the raw found and createdUtc columns beside the decision column. When a reviewer asks why an account was held back, the boolean and the timestamp answer the question without a second call
What the lookup takes
anyapi.reddit.avatar is called through POST /v1/runs with toolId anyapi.reddit.avatar. The contract marks username as required and describes it as "Reddit username, without the u/ prefix. Example: "spez".". Remove any u/ prefix before sending, or the row will not match the account you meant
How to read the output fields
found is a boolean: true when the account was found, false when the lookup returned nothing. reason appears only when found is false, and its only value is not_found. A found: false answer is a successful call, not an error, and costUsd is what it actually cost, so a missing account is a row with a price rather than a failed batch
data holds the user record, or null when nothing was found. When it is present, the fields that drive the decision are:
avatarUrl: URL of the profile avatar image, with sizing and signing query params stripped, so the link can go straight into a table cellkarma: total karma across the account as Reddit reports it, withpostKarmaandcommentKarmaas the split it is composed ofcreatedUtc: UTC epoch timestamp in seconds, which you multiply by 1000 for a JS Date in milliseconds and then compare with today to get an account ageprofileUrl: absolute reddit.com URL of the profile page, for the reviewer who wants to eyeball the accountidandusername: the account ID in base-36, and the username without the u/ prefix
The tool returns avatar URL, karma split and account age only. Do not build the panel invitation on bio, trophies, or post and comment counts, which this tool does not return
Pick two thresholds before you open the table: a karma floor and an age floor counted from createdUtc. Then fill the decision column by rule, invite above both, hold when found is true and either number is thin, and skip when found is false
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to get the avatar,
karma split and account age for 30 Reddit usernames. Check the current
inputs and price of anyapi.reddit.avatar before running anything. Call
the tool once per username, passing the username without the u/ prefix.
Return a table with username, found, avatarUrl, karma, postKarma,
commentKarma, createdUtc, profileUrl and shortlist decision (invite, hold
or skip). When found is false, leave avatarUrl empty and mark the row
skip. Do not invent usernames and do not post or message on Reddit.
quiet_compilerSwap the single example username for your 30. Run five first to see how the columns fill, then the remaining 25
Estimated tool cost
Prices come from the Purrkey catalog, read November 12, 2026. The unit is max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge", so the totals here are ceilings rather than settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single username lookup | 1 call x max price | $0.0012 per call | 1 | $0.0012 |
| 30-username shortlist | 30 calls x max price | $0.0012 per call | 30 | $0.036 |
A found: false row still counts as a call, so a shortlist with dead usernames costs the same as one where the accounts exist. Model fees for the agent are not counted in either figure
Run the avatar lookup
Open the Reddit avatar tool page to check the current listing, then run the five-username test before you commit the full 30
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 get a Reddit user's avatar and karma from a username?
Call anyapi.reddit.avatar once per username, with the handle written without the u/ prefix. Each call returns the avatar URL, the total karma with its post and comment split, the account creation time and the profile URL.
What input does anyapi.reddit.avatar take?
It takes username, which the contract marks as required and describes as the Reddit username without the u/ prefix. The contract also lists handle as an alias that maps to username.
What happens when a Reddit username does not exist?
The call comes back with found set to false, data set to null and reason set to the contract's not-found value. The contract says a found: false answer is a successful call, not an error, and costUsd is what it actually cost.
Can this tool return a Reddit bio, trophies or post counts?
No. It returns the avatar URL, karma split and account age only. Bio, trophies, and post and comment counts are outside this lookup.
How much does it cost to look up 30 Reddit usernames?
At most $0.036, at $0.0012 per call for 30 calls. The unit is a maximum per call, so that figure is a ceiling, and a username that is not found still counts as a call.
How do I turn createdUtc into an account age?
createdUtc is a UTC epoch timestamp in seconds. Multiply it by 1000 for a JS Date in milliseconds, then compare that date with the current time.
Does avatarUrl include the sizing and signing query parameters?
No. The contract says sizing and signing query params are stripped from the returned URL.
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.