Skip to Content

Reddit API

17 endpoints for users, communities and comments.

Every Reddit endpoint, by group. Each is a GET under /v1/reddit.

Quick Reference

PropertyValue
Base path/v1/reddit
Endpoints17
CreditsSee Below
GuideReddit

Accounts

Communities

Posts

Discovery

Example Request

Every Reddit endpoint is called this way: its path, and what to read as query parameters.

import { SocialAPI } from "@socialapihq/sdk";

const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });

const { data } = await client.reddit.profile({ handle: "spez" });
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"
        }
      ]
    }
  }
}

Errors

A call that fails costs nothing. See Errors for every code.