Skip to main content
GET
/
user
/
{username}
/
comments
Get Reddit User Comments
curl --request GET \
  --url https://api.zilodata.com/api/v1/reddit/user/{username}/comments \
  --header 'Authorization: Bearer <token>'
{
  "comments": [
    {
      "id": "def456",
      "content": "Great post! Thanks for sharing.",
      "author": "commenter123",
      "upvotes": 45,
      "downvotes": 2,
      "score": 43,
      "createdAt": "2023-11-07T05:31:56Z",
      "replies": "<array>"
    }
  ]
}

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

comments
object[]