Params | Example | Required | Details |
---|---|---|---|
q | soccer | yes | Subreddit name. |
sort | hot , new , top |
no | Sort posts (default is hot ). |
time | hour , day , week , month , year , all |
required only if the sort type is top |
Sort posts based on a time period. |
before | post_id example: t3_14jbyxi |
no | get posts before a specific post using post id . |
after | post_id example: t3_70jbsmf |
no | get posts after a specific post using post id . |
limit | no | number of posts to return (max = 100 ) |