search endpoint with a query string.
content each result returns.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to perform a basic search using supported SDKs or REST.
search endpoint with a query string.
from seltz import Seltz
client = Seltz()
# Search the Web
response = client.search("best ai search engines")
# Access results
for document in response.documents:
print(f"URL: {document.url}")
print(f"Content: {document.content}")
import { Seltz } from "seltz";
const client = new Seltz();
// Search the Web
const result = await client.search({ query: "best ai search engines" });
// Access results
for (const doc of result.documents) {
console.log(doc.url);
console.log(doc.content);
}
# Search the Web
curl -X POST https://api.seltz.ai/v1/search \
-H "x-api-key: $SELTZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "best ai search engines"}'
content each result returns.