Developer Reference
Sarath Search API Documentation
Base URL: https://search-sarath.openflip.in/api/v1
Public & Zero Auth
Search and AI Overview endpoints are public (verify_jwt=false); no client credentials required.
Blended Own Index
Returns independent crawl hits flagged with source: "own_index" and own_index_hits count.
Grounded AI Answers
Synthesizes passage-grounded summaries with numbered citations and confidence scores.
GET
/search
Executes a web search combining the Sarath own index with multi-provider fallback.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | The search query keywords. |
| region | string | Optional | Regional bias (e.g. "in-en", "us-en"). |
curl -X GET "https://search-sarath.openflip.in/api/v1/search?q=quantum+computing"
GET
/ai-overview
Fetches a grounded factual AI summary with confidence score, source citations, and extractive fallback support.
curl -X GET "https://search-sarath.openflip.in/api/v1/ai-overview?q=what+is+UPI"
JavaScript / TypeScript Integration
const response = await fetch(
"https://search-sarath.openflip.in/api/v1/search?q=" + encodeURIComponent("climate policy")
);
const data = await response.json();
console.log(data.results);