Utilities

Reddit Search

Search Reddit posts via a connected account

GET
/v1/reddit/search
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Query Parameters

accountIdstring
subreddit?string
qstring
restrict_sr?string
Value in"0" | "1"
sort?string
Default"new"
Value in"relevance" | "hot" | "top" | "new" | "comments"
limit?integer
Default25
Rangevalue <= 100
after?string

Response Body

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/reddit/search?accountId=string&q=string"
{
  "posts": [
    {
      "id": "1abc234",
      "title": "How to grow on social media in 2025",
      "selftext": "Here are my tips...",
      "author": "marketingpro",
      "subreddit": "socialmedia",
      "score": 156,
      "num_comments": 42,
      "created_utc": 1730000000,
      "permalink": "/r/socialmedia/comments/1abc234/how_to_grow/"
    }
  ],
  "after": "t3_1abc234"
}
Empty
{
  "error": "Unauthorized"
}
Empty

Fetch subreddit feed via a connected account

GET
/v1/reddit/feed
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
Default25
Rangevalue <= 100
after?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