Skip to main content
GET
/
subreddit
/
{subreddit}
/
top
Get Top Subreddits
curl --request GET \
  --url https://api.zilodata.com/api/v1/reddit/subreddit/{subreddit}/top \
  --header 'Authorization: Bearer <token>'
{
  "subreddits": [
    {
      "name": "science",
      "title": "Science",
      "description": "All about science",
      "subscriberCount": 25000000,
      "activeUserCount": 125000,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:50

Response

200 - application/json

Successful response

subreddits
object[]