To get top posts from subreddit, use the JSON URL: https://www.reddit.com/r/{subreddit}/top.json