Skip to main content
GET
/
user
/
{username}
/
posts
Get Reddit User Posts
curl --request GET \
  --url https://api.zilodata.com/api/v1/reddit/user/{username}/posts \
  --header 'Authorization: Bearer <token>'
{
  "posts": [
    {
      "id": "abc123",
      "title": "Amazing discovery in science",
      "content": "Check out this incredible finding...",
      "author": "science_lover",
      "subreddit": "science",
      "upvotes": 1250,
      "downvotes": 50,
      "score": 1200,
      "commentCount": 89,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "url": "https://www.reddit.com/r/science/comments/abc123"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

username
string
required

Query Parameters

limit
integer
default:25

Response

200 - application/json

Successful response

posts
object[]