APIs / Reddit / Subreddit Posts
Reddit: Subreddit Posts
Subreddit Posts from Reddit as JSON. 1 credit per successful call.
GET /v1/reddit/subreddit-posts
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
subreddit | string | Required | Any |
sort | string | Optional | hot, new, top, rising, controversial |
t | string | Optional | hour, day, week, month, year, all |
after | string | Optional | Any |
limit | integer | Optional | Any |
Example request
curl "https://api.perceptlayer.com/v1/reddit/subreddit-posts?subreddit=programming&sort=top&t=week" \
-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.