SearchAPI includes three utility endpoints that are not part of the search functionality. The root endpoint (Documentation 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.
/) confirms the service is running. The health endpoint (/health) returns a minimal status response suitable for load balancers and uptime monitors. The user agent endpoint (/useragent/) returns a random browser user agent string generated by the fake-useragent library, which is useful for testing or building scraping tools.
GET /
Returns a status message confirming the API is online and provides the MCP server path.Request
Parameters
None.Example
Response
GET /health
Returns a simple{"status": "ok"} response. Use this endpoint for health checks from load balancers, container orchestrators (such as Kubernetes or Docker Swarm), and uptime monitoring services.
Request
Parameters
None.Example
Response
GET /useragent/
Returns a single random user agent string generated by thefake-useragent library. The string represents a realistic browser user agent, useful for testing HTTP clients, building scraping tools, or populating request headers.
Request
Parameters
None.Example
Response
The response is a JSON string, not an object. Parse it with
response.json() rather than response.json()["user_agent"].Error response
500