API Reference
Reddit API
Post text, links, and images to Reddit subreddits with a single API call.
Quick Start
Get started in 3 steps
Get API Key
Sign up for free and get your API key in seconds.
Connect Account
Use our OAuth flow to connect Reddit accounts.
Start Posting
Make API calls to post content to Reddit.
const response = await fetch('https://getlate.dev/api/v1/posts', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
content: 'I built an API that posts to 12 platforms with one call. AMA!',
title: 'I built an API that posts to 12 platforms with one call. AMA!',
platforms: [{
platform: 'reddit',
accountId: 'acc_abc123'
}],
publishNow: true
})
});
const post = await response.json();
console.log(post.post._id); // '65f1c0a9e2b5af0012ab34cd'Endpoints
Reddit Endpoints
/v1/postsCreate or schedule a Reddit post (text, link, or image)
/v1/posts/{id}Get status and details of a Reddit post
/v1/posts/{id}Cancel a scheduled Reddit post
/v1/profilesList all connected Reddit accounts
Media Specs
Media Requirements
| Type | Format | Max Size | Notes |
|---|---|---|---|
| Text Post | Markdown | 40,000 chars | Self post with body text |
| Link Post | URL | N/A | External link submission |
| Image | JPEG, PNG, GIF | 20 MB | Gallery up to 20 images |
| Video | MP4 | 1 GB | Up to 15 min duration |
Late automatically transcodes and optimizes media for Reddit's requirements.
Rate Limits
API Limits
Reddit has strict rate limits and spam detection. Late handles rate limiting and ensures posts comply with Reddit's guidelines.
Late handles all rate limiting automatically. We queue and retry requests as needed.
Capabilities
Features
- Post text, links, images, and videos
- Schedule posts for optimal times
- Subreddit targeting
- Flair support
- Multi-account management
- Webhook notifications for post status
- NSFW and spoiler tags
Response
Response Example
{
"post": {
"_id": "65f1c0a9e2b5af0012ab34cd",
"status": "published",
"title": "I built an API that posts to 12 platforms with one call. AMA!",
"content": "I built an API that posts to 12 platforms...",
"platforms": [{
"platform": "reddit",
"accountId": { "_id": "acc_abc123", "username": "u/yourhandle" },
"status": "published",
"platformPostId": "abc123xyz",
"platformPostUrl": "https://reddit.com/r/programming/comments/abc123xyz"
}],
"publishedAt": "2025-01-10T10:30:00Z"
},
"message": "Post published successfully"
}Start building with Reddit API
Skip the Reddit API complexity. Late handles OAuth and subreddit rules so you can ship faster.
Free tier available • No credit card required • 99.97% uptime