Reddit: Default

Search Posts

getSearchPosts

get/v1/data/reddit/getSearchPosts

Request

  • Base URL: https://api.superagnt.com
  • URL: https://api.superagnt.com/v1/data/reddit/getSearchPosts
  • Auth: API key in header Authorization

Query parameters

querystring required
cursorstring
sort'relevance' | 'hot' | 'top' | 'new' | 'comments'

Sort order. Use 'top' to filter by time.

subredditstring
time'hour' | 'day' | 'week' | 'month' | 'year' | 'all'

Time window. Only applies with sort 'top'; any other sort is refused with time set.

Response

Successful response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.