canonical: https://jentic.com/apis/reddit.com/reddit

# Reddit API

The Reddit API provides programmatic access to Reddit's social media platform, including subreddits, posts (links/self-posts), comments, user profiles, voting, messaging, and more. Uses OAuth2 for authentication. The API exposes 51 endpoints secured with bearer authentication.

## For AI agents

Programmatically get current user identity, get my karma breakdown. Covers 51 operations with bearer authentication.

## Scope

Does not handle payments, communications, or crm - use for social media only.

## Capabilities

- Get Current User Identity
- Update My Preferences
- Integrate Reddit API into automated workflows
- Query and filter Reddit API records by parameters
- Monitor Reddit API operational status and events

## Use cases

### Social Media Operations

Use the Reddit API to perform social media operations programmatically. The API provides 51 endpoints covering core functionality including get current user identity, get my karma breakdown, get my preferences.

Example prompt: Call GET /api/v1/me to get current user identity

### Automated Account Management

Automate account operations by combining multiple Reddit API endpoints. Agents can get my karma breakdown and then get my preferences in a single workflow.

Example prompt: Call GET /api/v1/me/karma to get my karma breakdown, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Reddit API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle bearer tokens manually.

Example prompt: Search Jentic for 'get current user identity', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | /api/v1/me | Get Current User Identity |
| GET | /api/v1/me/karma | Get My Karma Breakdown |
| GET | /api/v1/me/prefs | Get My Preferences |
| PATCH | /api/v1/me/prefs | Update My Preferences |
| GET | /api/v1/me/trophies | Get My Trophies |
| GET | /api/v1/me/friends | Get My Friends |
| GET | /api/v1/me/blocked | Get Blocked Users |
| GET | /r/{subreddit}/hot | Get Hot Posts |

## Key resources

- **Account** — Operations related to Account
- **Comments** — Operations related to Comments
- **Links & Posts** — Operations related to Links & Posts
- **Listings** — Operations related to Listings
- **Multireddits** — Operations related to Multireddits

## Why Jentic

- **Setup:** Wiring the Reddit API by hand means handling its OAuth bearer token auth and pointing every request at the oauth.reddit.com host. Through Jentic you install once, import the Reddit API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** Reddit puts the subreddit in the URL path (/r/{subreddit}/hot), so a rule can pin your agent to specific subreddits alongside its own account reads under /api/v1/me. You choose the operations it may call, so writes like updating account preferences are only included if you add them.
- **Credential handling:** Your Reddit token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get the current user identity' or 'fetch hot posts in a subreddit', and Jentic returns the matching Reddit operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Facebook** — Alternative social media API
- **Twitter** — Alternative social media API
- **Linkedin** — Complementary social media API

## FAQ

### What authentication does the Reddit API use?

The Reddit API uses a Bearer token in the Authorization header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I get current user identity with the Reddit API?

Yes. Use the GET /api/v1/me endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Reddit API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I get current user identity through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get current user identity'. Jentic returns the matching Reddit API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Reddit API have?

The Reddit API exposes 51 endpoints covering account, comments, links & posts operations.

### Can I limit what my agent is allowed to do with the Reddit API?

Yes. Because you run Jentic One yourself, your own rules decide which Reddit operations and credentials the agent may use. Reddit puts the subreddit in the URL path (/r/{subreddit}/hot), so a rule can pin the agent to specific subreddits while allowing only your account reads under /api/v1/me. Writes such as PATCH /api/v1/me/prefs to update account preferences are included only if you add them to the agent's allowed operations.
