Reddit User API
The Reddit User API returns the profile of a user on
Reddit
as structured JSON: their post and comment karma, account age, bio and avatar, how many posts and comments they have made,
whether they have Reddit Premium, a verification badge or an automated account, and the communities Reddit lists them as active in.
Look a user up by their username, such as the author.username of a Reddit Search API
result, or by a link to their profile. NSFW profiles are returned only when safe is off.
API Parameters
User
-
- Name
-
username - Required
- Required
- Description
-
The username, for example
spez, or a link to the profile, for examplehttps://www.reddit.com/user/spez/. Use theauthor.usernameof a Reddit Search API result.
Filters
-
- Name
-
safe - Required
- Optional
- Description
-
Controls NSFW profiles.
active(default) answers an NSFW profile with an error,offreturns it.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
reddit_user.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Profile
posts and comments are the user's total posts and comments, which Reddit updates once a day.
https://www.searchapi.io/api/v1/search?engine=reddit_user&username=spez
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_user",
"username": "spez"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_9XmVeqAp1RdHzDMLgKkGJZrx",
"status": "Success",
"created_at": "2026-10-28T21:05:59Z",
"request_time_taken": 1.6,
"parsing_time_taken": 0.15,
"total_time_taken": 1.74,
"request_url": "https://www.reddit.com/user/spez/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_9XmVeqAp1RdHzDMLgKkGJZrx.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_9XmVeqAp1RdHzDMLgKkGJZrx"
},
"search_parameters": {
"engine": "reddit_user",
"username": "spez"
},
"profile": {
"username": "spez",
"id": "t2_1w72",
"link": "https://www.reddit.com/user/spez/",
"bio": "Reddit CEO",
"avatar": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png",
"post_karma": 184586,
"comment_karma": 756538,
"total_karma": 941124,
"posts": 849,
"comments": 3219,
"created_at": "2005-06-06T00:00:00Z",
"is_verified": true,
"is_premium": true
}
}
Profile by Link
https://www.searchapi.io/api/v1/search?engine=reddit_user&username=https%3A%2F%2Fwww.reddit.com%2Fuser%2Fkn0thing%2F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_user",
"username": "https://www.reddit.com/user/kn0thing/"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_6QeGdKRg9qesl4XVg8mBExyv",
"status": "Success",
"created_at": "2026-10-28T21:06:01Z",
"request_time_taken": 4.1,
"parsing_time_taken": 0.1,
"total_time_taken": 4.2,
"request_url": "https://www.reddit.com/user/kn0thing/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_6QeGdKRg9qesl4XVg8mBExyv.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_6QeGdKRg9qesl4XVg8mBExyv"
},
"search_parameters": {
"engine": "reddit_user",
"username": "kn0thing"
},
"profile": {
"username": "kn0thing",
"id": "t2_1wh0",
"link": "https://www.reddit.com/user/kn0thing/",
"bio": "Created Reddit, now doing my life's work building Seven Seven Six.",
"avatar": "https://i.redd.it/snoovatar/avatars/58ef3487-7301-4cca-9ad4-44378bc398d0.png",
"post_karma": 151900,
"comment_karma": 202167,
"total_karma": 354067,
"posts": 1792,
"comments": 11410,
"created_at": "2005-06-06T00:00:00Z",
"is_premium": true
}
}
Active Communities
active_communities lists the communities Reddit shows the user as active in. Users can hide them, and the response leaves them out then.
https://www.searchapi.io/api/v1/search?engine=reddit_user&username=PresidentObama
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_user",
"username": "PresidentObama"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_qWVwGvboYPYTABmWgmDQJaN4",
"status": "Success",
"created_at": "2026-10-28T21:06:06Z",
"request_time_taken": 1.6,
"parsing_time_taken": 0.0,
"total_time_taken": 1.6,
"request_url": "https://www.reddit.com/user/PresidentObama/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_qWVwGvboYPYTABmWgmDQJaN4.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_qWVwGvboYPYTABmWgmDQJaN4"
},
"search_parameters": {
"engine": "reddit_user",
"username": "PresidentObama"
},
"profile": {
"username": "PresidentObama",
"id": "t2_8t1cq",
"link": "https://www.reddit.com/user/PresidentObama/",
"avatar": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_2.png",
"post_karma": 3837,
"comment_karma": 20968,
"total_karma": 24805,
"posts": 2,
"comments": 11,
"created_at": "2012-08-27T00:00:00Z"
},
"active_communities": [
{
"position": 1,
"id": "t5_2qzb6",
"name": "IAmA",
"link": "https://www.reddit.com/r/IAmA/",
"description": "I Am A, where the mundane becomes fascinating and the outrageous suddenly seems normal.",
"icon": "https://styles.redditmedia.com/t5_2qzb6/styles/communityIcon_v0zs2b3d7f251.png?width=64&frame=1&auto=webp&s=28ec291f4c3f4776dfe5345f3a5c880493bf4535",
"subscribers": 22482369
},
"..."
]
}
Suspended Account
A suspended, deleted or unknown account returns an error that names the user, without a profile.
https://www.searchapi.io/api/v1/search?engine=reddit_user&username=AwkwardTheTurtle
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_user",
"username": "AwkwardTheTurtle"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_xbn58j7pJdLFBmR1oDeN0V2d",
"status": "Success",
"created_at": "2026-10-28T21:06:08Z",
"request_time_taken": 0.99,
"parsing_time_taken": 0.0,
"total_time_taken": 1.0,
"request_url": "https://www.reddit.com/user/AwkwardTheTurtle/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_xbn58j7pJdLFBmR1oDeN0V2d.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_xbn58j7pJdLFBmR1oDeN0V2d"
},
"search_parameters": {
"engine": "reddit_user",
"username": "AwkwardTheTurtle"
},
"error": "Reddit user `AwkwardTheTurtle`'s account has been suspended."
}