Search Reddit Comments
Changed onSearch Reddit Comments
Request
- Base URLhttps://api.pushshift.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.pushshift.io/reddit/comment/search
- AuthHTTP bearer
Query parameters
Search comments by title and selftext
Search comments by id (comma delimited list for multiple ids
Restrict to comments with this score or greater
Restrict to comments with this score or lesser
Restrict to comments with this id or greater
Restrict to comments with this id or less
Restrict results to this number of awards or greater
Restrict results less than or equal to this number of rewards
Filter comments by specific subreddits
Search comments posted by specific authors (comma delimited list accepted)
Search for exact authors names.
Search since an epoch time (inclusive)
Search until this epoch time (exclusive)
Search after this epoch time (inclusive) -- deprecated (use since)
Search before this epoch time (exclusive) -- deprecated (use until)
Get all comments for a particular submission
Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)
Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)
Choose a specific field to sort returned submissions
An enumeration.
Choose the order of the sorted field
Perform a terms aggregation on this term
The number of results to return when performing a terms aggregation
The amount of precision to use for terms aggregations. This affects Elasticsearch's doc_count_error_upper_bound
Get aggregated data for comments over time
Get ggregated data for comments over time using calendar intervals
Query a specific monthly index directly (usually faster responses)
Limit number of results returned.
Alias for limit parameter.
Get the exact document count for the query (this is slightly more expensive than an estimated count and therefore the default is set to false)
Return only specific fields
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterexact_author
- info
- info
the endpoint scheme security
JWTBearerwas added to the API - info
added the new optional
queryrequest parametersmartsince - info
added the new optional
queryrequest parametersmartuntil
- info