Reddit API

Overview

A simple HTTP API for Reddit — fetch posts, search communities, scrape comment trees, log in, and post comments programmatically. Bearer auth, JSON out.

An HTTP API to read from and write to Reddit. Fetch posts, search, look up users, log in, and post comments — all from your code.

Base URL: https://api.redditapis.com

Auth: every /api/* route requires Authorization: Bearer <API_TOKEN>.

Endpoint Categories

CategoryDescription
Reddit — Listings & SearchSubreddit posts, search, top posts, community search
Reddit — PostsSingle post details and full comment trees
Reddit — UsersUser profile, karma, recent comments
AuthLog in with username + password, get session cookies
WritePost comments on any thread

On this page