cURL
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" } ] }
Retrieve posts submitted by a user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
Show child attributes
"abc123"
"Amazing discovery in science"
"Check out this incredible finding..."
"science_lover"
"science"
1250
50
1200
89
"2025-01-15T10:30:00.000Z"
"https://www.reddit.com/r/science/comments/abc123"
Was this page helpful?