Search
Fast, high-quality search API with intelligent ranking, instant answers, and result enrichment.
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: "andi",
path: "/v1/search",
query: {
"q": "example"
}
});
console.log(output);Query parameters
Search query (or array of up to 5 queries)
Number of results (1-100)
Search depth: fast or deep
Search intent. Supported Intents: ImageSearchIntent - Prioritize image results, VideoSearchIntent - Prioritize video results, NewsSearchIntent - Prioritize news articles, WeatherSearchIntent - Weather information, ComputationIntent - Mathematical calculations and computations, NavigationalSearchIntent - Direct navigation to websites, Not detected or specified: FallbackSearchIntent - General web search (default)
Metadata level: basic or full
Response format: json
Enable content extracts/highlights
Enable safe search filtering
Country code (US, GB, etc.)
Language code (en, es, fr, etc.)
Units: metric or imperial
Force skip all caches
Date range filter. Restrict results to specific time periods using relative or absolute date filters: Relative date range (dateRange parameter): day or 24h - Last 24 hours; week or 7d - Last 7 days; month or 30d - Last 30 days; year or 1y - Last year; 90d - Last 90 days
Comma-separated domains to include
Comma-separated domains to exclude
Comma-separated terms/phrases to boost
Comma-separated terms/phrases to exclude
Extract operators from query string
Response