← Back to Seltz
POST/v1/search
Search
Search the web and return matching documents with URLs and content.
Seltz·$0.00625 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "seltz",
path: "/v1/search",
body: {
"query": "example"
}
});
console.log(output);Body parameters
queryrequired
string
The search query. Keep it short for best performance.
max_results
integer
Maximum number of documents to return. Default: 10.
scope
string
Limits search to a specific vertical. Options: "news", "wikipedia", "people", "companies". Defaults to "news" when omitted.
include_domains
array
Include only results from these domains (e.g. ["google.com", "example.com"]).
exclude_domains
array
Exclude results from these domains.
from_date
string
Only include results published on or after this date (ISO 8601, e.g. "2025-10-28").
to_date
string
Only include results published on or before this date (ISO 8601, e.g. "2026-04-29").