APIs / Reddit / User Comments

Reddit: User Comments

User Comments from Reddit as JSON. 1 credit per successful call.

GET /v1/reddit/user-comments

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
usernamestringRequiredAny
sortstringOptionalhot, new, top, controversial
tstringOptionalhour, day, week, month, year, all
afterstringOptionalAny
limitintegerOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/reddit/user-comments?username=spez&sort=top&t=year" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.