Skip to Content

Profile

A profile with its karma and trophies.

GET
/v1/reddit/profile

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The username, with or without u/.

url?string

The profile's link (https://www.reddit.com/user/spez), instead of handle.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A Reddit account.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.reddit.profile({ handle: "spez" });
Example Response
{  "data": {    "id": "1w72",    "username": "spez",    "displayName": null,    "bio": "Reddit CEO",    "avatarUrl": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?width=256&height=256&crop=256:256,smart&s=aa819b0964f6e3019e769d1cc8ede7318c3869a3",    "url": "https://www.reddit.com/user/spez/",    "verified": true,    "private": false,    "followers": null,    "following": null,    "likes": null,    "posts": null,    "externalUrl": null,    "createdAt": "2005-06-06T04:00:00.000Z",    "ext": {      "karma": {        "total": 941417,        "post": 184793,        "comment": 756624,        "awardee": 0,        "awarder": 0      },      "employee": true,      "moderator": true,      "premium": true,      "suspended": false,      "bannerUrl": "https://b.thumbs.redditmedia.com/KWeEpVxXOGLoloMbM0IxGt9EiKPXizpwFgcSeWqtpZM.png",      "trophies": [        {          "name": "15-Year Club",          "iconUrl": "https://www.redditstatic.com/awards2/15_year_club-70.png",          "grantedAt": "2026-06-06T04:00:00.000Z"        },        {          "name": "Second",          "iconUrl": "https://www.redditstatic.com/awards2/second_participant-70.png",          "grantedAt": "2021-04-08T03:50:00.000Z"        },        {          "name": "Inciteful Link",          "iconUrl": "https://www.redditstatic.com/awards2/inciteful_link-70.png",          "grantedAt": "2021-03-25T08:28:08.000Z"        }      ]    }  }}