Skip to main content
GET
/
v1
/
reddit
/
getControversialPostsBySubreddit
Controversial Posts By Subreddit
curl --request GET \
  --url https://api.agntdata.dev/v1/reddit/getControversialPostsBySubreddit \
  --header 'Authorization: <api-key>'
{}

Authorizations

Authorization
string
header
required

Bearer token. Pass your agntdata API key as: Authorization: Bearer agnt_live_...

Query Parameters

cursor
string

Pagination cursor from previous response

subreddit
string
default:askreddit
required

Name of the subreddit (e.g. askreddit)

time
string
default:all
required

Time filter: hour, day, week, month, year, all

Response

Successful response

The response is of type object.