reddit search
Get subreddit feed
Fetch posts from a subreddit feed. Supports sorting, time filtering, and cursor-based pagination.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
accountIdstring
subreddit?string
sort?string
Default
"hot"Value in
"hot" | "new" | "top" | "rising"limit?integer
Default
25Range
value <= 100after?string
t?string
Value in
"hour" | "day" | "week" | "month" | "year" | "all"Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/reddit/feed?accountId=string"{
"posts": [
{
"id": "1xyz789",
"title": "Top marketing trends this week",
"author": "trendwatcher",
"subreddit": "marketing",
"score": 892,
"num_comments": 134,
"created_utc": 1730100000,
"permalink": "/r/marketing/comments/1xyz789/top_marketing_trends/"
},
{
"id": "1def456",
"title": "My social media strategy that worked",
"author": "growthexpert",
"subreddit": "marketing",
"score": 567,
"num_comments": 89,
"created_utc": 1730050000,
"permalink": "/r/marketing/comments/1def456/my_social_media_strategy/"
}
],
"after": "t3_1def456"
}Empty
{
"error": "Unauthorized"
}Empty