Profile basics for up to 250 usernames or t2_ account ids at once, in the order sent: id, avatar, karma, cake day, 18+ flag, chat setting and state (active, suspended, deleted or not_found; only active accounts have exists: true); keys without an active account are listed in missing_usernames (usernames) or missing_ids (user_ids). with_details=true (at most 10 accounts) adds the /user/details fields except the posts. Billed 1 request per active account found (minimum 1), +3 per account detailed.
HTTP Request
GET /user/batch
Cost (in requests): 1 per account found; +3 per detailed. Every successful answer reports its cost in data.billed_requests.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
usernames | string | No | - | Usernames, with or without u/, 1–250. Give this or user_ids. Comma-separated, duplicates removed, request order kept in the answer. |
user_ids | string | No | - | Account ids (t2_…), 1–250, instead of usernames; each row echoes its id. Comma-separated, duplicates removed, request order kept in the answer. |
with_details | boolean | No | false | Adds the /user/details fields (karma split, display name, Reddit Premium, follow setting, social links, active communities; not the posts) to each account found; works with at most 10 usernames per request: display_name, post_karma, comment_karma, accepts_followers, is_premium, social_links, active_subreddits, state, bio (left out without it). Billed +3 per account detailed. |
Response
Real response to GET /user/batch?usernames=spez,kn0thing (arrays trimmed to 2 items, long texts cut with …).
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Batch result. |
data.requested_count | integer | Usernames or ids requested after de-duplication. |
data.found_count | integer | Active accounts found (exists: true); the billing unit. |
data.missing_usernames | array | usernames requests only: requested usernames with no active account (unknown, suspended or deleted: state on the row says which), in request order. Left out with user_ids (see missing_ids). |
data.billed_requests | integer | Requests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1). |
data.items | array of objects | One row per requested username or id, in request order (accounts that are not active are rows with exists: false). |
data.items[].username | string | Username as requested (usernames); with user_ids, the account’s name (null for a deleted or unknown account). |
data.items[].exists | boolean | The account is active (false for unknown, deleted or suspended accounts: state says which). |
data.items[].user_id | string | Account id (t2_…); the requested id with user_ids. Kept for a suspended account. |
data.items[].avatar_url | string | Avatar URL. |
data.items[].snoovatar_url | string / null | Full-body avatar image the user built (Reddit’s avatar builder); null when the user has none. |
data.items[].total_karma | integer | Total karma. |
data.items[].created_at | string | ISO-8601 UTC account creation (cake day; Reddit exposes the date only, reported as midnight UTC). |
data.items[].is_nsfw | boolean | Profile marked 18+. |
data.items[].accepts_chats | boolean | Accepts chat requests. |
data.items[].state | string | active, suspended, deleted or not_found (read from the batch answer). With with_details=true, an active account whose details could not be read in time is null (send the request again). |
request_params | object | Echo of the parameters you sent |
Error Responses
Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Invalid or missing parameter | Plain-English message per field. Not billed |
200 with status: false | Item not available | error.code is not_found, suspended, deleted. data is null. Billed 1 request |
| 503 | Reddit temporarily unreachable | "error": "Service temporarily unavailable". Not billed, retry later |
Code Examples
| |
| |
| |
Related Endpoints
- User Trophies : Trophy case of a Reddit account
- User Insights : How a Reddit account behaves: activity, communities, UTC timing, content quality, spam signals
- User Quality : Score up to 50 Reddit accounts for spam and bot-like behaviour