DeepNews
The DeepNews endpoint is our state-of-the-art AskNews agent, capable of self-reflection, on-the-fly learning, and deep tangential research into the AskNews archive, Google, Wikipedia, X (Twitter) and more. This agent is good for tasks that require complex analysis and high-level strategic planning. For example, monitoring geopolitical risk, investigative journalism, making event forecasts for prediction markets, fact-checking, and much more.
claude-3-7-sonnet-latestThe latest Claude 3 deep thinking model (Rich tier).claude-3-7-sonnet-latest-nothinkingThe latest Claude model without thinking (saves tokens) (Rich tier).claude-opus-4-20250514The latest Claude 4 deep thinking model (Rich tier). Available only via Newsplunker. If you need API access, please reach out to us at contact@asknews.app.claude-sonnet-4-20250514The latest Claude 4 model (Rich tier).claude-sonnet-4-5-20250929The latest Claude 4.5 model (Rich tier).deepseekThe open-source DeepSeek model (verified in our bias benchmark to be unbiased) (Rich tier).deepseek-r1-0528The latest DeepSeek model (Rich tier).deepseek-basicSame model/intelligence asdeepseek, except slower and cheaper (Fast tier).meta-llama/Llama-4-Maverick-17B-128E-InstructThe latest Llama-4-Maverick-17B-128E-Instruct model (Fast tier). This model does not include thinking tokens, it is great for fast/cheap responses that do not require deep thinking.gemini-2.5-proThe latest Gemini model (Rich tier). This model does not include thinking tokens, it is great for fast/cheap responses that do not require deep thinking.
Wanna test it out or request a new model? You can come to our Discord server to talk directly to the bot, or ask us to integrate new models
Detailed and updated response structures are always available in the API reference
Querying the DeepNews endpoint
The DeepNews endpoint can be used with the typical OpenAI SDK. That means, you can change your base_url to https://api.asknews.app and follow the instructions here. However, if you want fully structured source objects in addition to your response, you will need to use one of the AskNews SDKs as shown here:
AskNews SDK
Controlling the output
The following parameters allow you to make decisions about how deep the agent is allowed to search, and how the response is returned to you:
sourcesThe sources to search in. You can choose fromasknews,google,wiki,x, andgraph. By adding these, DeepNews will intelligently decide which tool is best for various parts of each research project. The ordering of these sources is the prioritization that you want DeepNews to consider when choosing tools.search_depthThe number of levels deep you want to force the agent to search. Beyond which, the agent can choose if it wants to continue searching or if it is done (up tomax_depth)max_depthThe maximum number of levels deep the agent is allowed to search.return_sourcesWhether to return structured source objects with the response (forstream=True, the source objects are returned at the end of the stream one by one).streamWhether to stream the response or not. Ifstream=True, the response will be a generator that yields each message as it is received. Ifstream=False, the response will be a list of all messages.modelThe model to use for the response. See the list at the top of this page for the available models. If you want another model, please reach out with your request at contact@asknews.app.filter_params(Optional) The AskNews filter parameters (which can be manually controlled or automatically populated as shown in the AutoFilter documentation). This allows you to filter the sources that are returned in the response based on various criteria such as date, source type, country, sentiment, etc.
Detailed and updated response structures are always available in the API reference