Get subreddit posts
Get posts from a subreddit with sorting options.
get/v1/reddit/subreddits/{subreddit}/posts
Request
- Base URLhttps://scrapebadger.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subredditstring required
Query parameters
sortstring
Sort: hot, new, top, rising, controversial
tstring
Time filter
limitinteger
afterstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.