TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pratyay360/searchapi/llms.txt
Use this file to discover all available pages before exploring further.
/news/ endpoint uses DuckDuckGo’s DDGS news search to surface recent articles from news publishers and returns an array of article URLs. Because DDGS indexes fresh news content, this endpoint is particularly effective for current events, breaking stories, and time-sensitive topics. Results come from major news outlets, blogs, and media publishers.
Request
Parameters
The news search query. Use specific terms, entity names, or event descriptions for focused results. URL-encode spaces as
+ or %20.Maximum number of article URLs to return.
Response
Returns a JSON array of URL strings on success.A URL to a news article from the search results.
Example
Response
Error response
500