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/engine endpoint lets you target a specific search engine instead of letting SearchAPI choose automatically. This is useful when you want results from a particular index — for example, Bing for English-language coverage, Yandex for Russian-language content, or DuckDuckGo for privacy-respecting results. The engine parameter must be one of the eight supported values listed below; any other value returns a descriptive error message with HTTP 200.
Request
Parameters
The search query string. URL-encode spaces as
+ or %20.The search engine to use. Must be one of:
bing, brave, duckduckgo, google, mojeek, yandex, yahoo, wikipedia.Maximum number of URLs to return.
Supported engines
| Value | Engine |
|---|---|
bing | Microsoft Bing |
brave | Brave Search |
duckduckgo | DuckDuckGo |
google | Google Search |
mojeek | Mojeek |
yandex | Yandex |
yahoo | Yahoo Search |
wikipedia | Wikipedia search |
Response
Returns a JSON array of URL strings on success.A result URL from the specified search engine.
Invalid engine behavior
If theengine value is not one of the eight supported options, the endpoint returns HTTP 200 with a descriptive message rather than an error status. Always validate the engine value on the client side before making a request.
200 (invalid engine)
Example
Response
Error response
400