Reddit community posts
Get a page of the posts of a Reddit community by its name, hot, newest or top score first. Top score is of the last day unless window asks for the last week, month or year, or all time.
Price: $0.002 per call.
Not taken together: sort=hot and window.
Not taken together: sort=latest and window.
25 items on a usual page, 25 at most. A cursor is valid for 3600 seconds.
A community that does not exist cannot be told from a community without posts: both return an empty result, not a 404.
Request
- Base URLhttps://api.dataxapi.com
- AuthHTTP bearer
Query parameters
Community name, without the r/
Hot, newest first, or top score first; top score ranks the posts of the last day unless window asks for another period
Which period top score first (sort=popular) ranks the posts of: the last 24 hours, 7, 30 or 365 days, or all time; the last 24 hours when left out. Only with sort=popular
The next_cursor of the previous page. A new page is a new call.
How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).
Return only these fields of each item, by path (author.name).
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.