Search Reddit Comments

Search Reddit Comments

get/reddit/search/comment

Query parameters

qstring

Search comments by title and selftext

Search comments by title and selftext

idsstring

Search comments by id (comma delimited list for multiple ids

Search comments by id (comma delimited list for multiple ids

min_scoreinteger

Restrict to comments with this score or greater

Restrict to comments with this score or greater

max_scoreinteger

Restrict to comments with this score or lesser

Restrict to comments with this score or lesser

min_idinteger

Restrict to comments with this id or greater

Restrict to comments with this id or greater

max_idinteger

Restrict to comments with this id or less

Restrict to comments with this id or less

min_awards_receivedinteger

Restrict results to this number of awards or greater

Restrict results to this number of awards or greater

max_awards_receivedinteger

Restrict results less than or equal to this number of rewards

Restrict results less than or equal to this number of rewards

subredditstring

Filter comments by specific subreddits

Filter comments by specific subreddits

authorstring

Search comments posted by specific authors (comma delimited list accepted)

Search comments posted by specific authors (comma delimited list accepted)

exact_authorboolean

Search for exact authors names.

Search for exact authors names.

sincestring

Search since an epoch time (inclusive)

Search since an epoch time (inclusive)

untilstring

Search until this epoch time (exclusive)

Search until this epoch time (exclusive)

afterstring

Search after this epoch time (inclusive) -- deprecated (use since)

Search after this epoch time (inclusive) -- deprecated (use since)

beforestring

Search before this epoch time (exclusive) -- deprecated (use until)

Search before this epoch time (exclusive) -- deprecated (use until)

link_idstring

Get all comments for a particular submission

Get all comments for a particular submission

smartsincestring

Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)

Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)

smartuntilstring

Search up to 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)

sort'id' | 'created_utc' | 'score'

Choose a specific field to sort returned submissions

Choose a specific field to sort returned submissions

order'asc' | 'desc'

An enumeration.

Choose the order of the sorted field

agg_termstring

Perform a terms aggregation on this term

Perform a terms aggregation on this term

agg_sizeinteger

The number of results to return when performing a terms aggregation

The number of results to return when performing a terms aggregation

shard_sizenumber

The amount of precision to use for terms aggregations. This affects Elasticsearch's doc_count_error_upper_bound

The amount of precision to use for terms aggregations. This affects Elasticsearch's doc_count_error_upper_bound

time_histogramstring

Get aggregated data for comments over time

Get aggregated data for comments over time

calendar_histogramstring

Get ggregated data for comments over time using calendar intervals

Get ggregated data for comments over time using calendar intervals

es_indexstring

Query a specific monthly index directly (usually faster responses)

Query a specific monthly index directly (usually faster responses)

limitinteger

Limit number of results returned.

Limit number of results returned.

sizeinteger

Alias for limit parameter.

Alias for limit parameter.

track_total_hitsboolean

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)

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)

filterstring

Return only specific fields

Return only specific fields

Response

Successful Response

{"stackTrail":"paths:/reddit/search/comment:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes