---
title: "Search Reddit, summarize threads, and return analysis."
method: GET
path: "/v1/reddit/search"
tags: ["reddit"]
---

# Search Reddit, summarize threads, and return analysis.

`GET /v1/reddit/search`

Go to Reddit, search threads, summarize the threads, return analysis.
`deep`=True is a live web scrape, AskNews searches Reddit, finds threads,
summarizes them, analyzes them, and returns the results. `deep`=False
is a search in AskNews' existing database of Reddit threads.

## Query parameters

- `keywords` string[], required — Keywords used to search for relevant Reddit threads.
- `n_threads` integer — Number of Reddit threads to summarize and return
- `method` 'nl' | 'kw' — The search method. Can be 'nl' or 'kw'. If 'nl', then the query will be used as a natural language query. If 'kw', then the query will be used as a direct keyword query.
- `deep` boolean — Deep means that AskNews goes directly to Reddit, searches live, summarizes the threads live, and returns structured data for you. Deep=False means that AskNews looks in its existing database of Reddit threads and returns the most similar threads
- `return_type` 'dicts' | 'string' | 'both' — The return type. Can be 'dicts', 'string', or 'both'.
- `time_filter` 'hour' | 'day' | 'week' | 'month' | 'year' | 'all' — The time filter.
- `sort` 'relevance' | 'hot' | 'top' | 'new' | 'comments' — The sort order.

## Response `200`

The summarized Reddit threads.

- RedditResponse
  - `as_dicts` RedditThread[], nullable
    - `author` string, required
    - `author_comment_karma` integer, required
    - `author_link_karma` integer, required
    - `body` string, required
    - `classification` union, required
      - string[]
      - string
    - `comments` RedditComment[], required
      - `author` string, required
      - `body` string, required
      - `date` string, date-time, required
      - `upvotes` integer, required
    - `comments_count` integer, required
    - `date` string, date-time, required
    - `entities` RedditEntities, required
      - `DATE` string[]
      - `EVENT` string[]
      - `GPE` string[]
      - `ORG` string[]
      - `PERSON` string[]
      - `NORP` string[]
      - `CARDINAL` string[]
    - `id` string, uuid, required
    - `key_takeaways` string[]
    - `keywords` string[], required
    - `sentiment` union, required
      - integer
      - number
    - `subreddit_name` string, required
    - `subreddit_url` string, required
    - `summary` string, required
    - `title` string, required
    - `topic` string, required
    - `upvotes` integer, required
    - `url` string, required
    - `main_speculation` string
  - `as_string` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `405` — Method Not Allowed
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/asknews/apis/asknews-api.md) · [All operations](https://skmtc.dev/asknews/apis/asknews-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/asknews/asknews-api/revisions/dd4286769887/schema)
