Search Reddit, summarize threads, and return analysis.
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.
Request
- Base URLhttps://api.asknews.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Keywords used to search for relevant Reddit threads.
Number of Reddit threads to summarize and return
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 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
The return type. Can be 'dicts', 'string', or 'both'.
The time filter.
The sort order.
Response
The summarized Reddit threads.
Changes
No recorded changes to this operation across all 11 revisions of this API.