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.
/search/ endpoint is the primary general-purpose search endpoint. It accepts a query string and a result limit, distributes the request across available meta-search backends using DuckDuckGo’s DDGS library, and returns a JSON array of result URLs. The engine selection is automatic — you do not choose which engine handles the request. For engine-specific targeting, use /search/engine instead.
If the underlying search engine returns fewer results than the requested
limit, the response array will be shorter. This is normal behavior from the upstream DDGS library.Request
Parameters
The search query string. URL-encode spaces as
+ or %20.Maximum number of URLs to return. The response may contain fewer results if the upstream engine returns less than the requested amount.
Response
Returns a JSON array of URL strings on success.A result URL from the search engine. Each element is a fully-qualified URL string.
Example
Response
Error response
When the search fails after the maximum number of retries, a400 status is returned with an error message.
400