Search with Exa, Ceramic, Linkup, Tavily, Serper, OpenAI, Perplexity, or DeepSeek and return page URLs, titles, and descriptions in one response format. Authenticate with an API key that grants websearch.execute and send Content-Type: application/json.
from orq_ai_sdk import Orqimport oswith Orq( api_key=os.getenv("ORQ_API_KEY", ""),) as orq: res = orq.websearch.search(provider="exa", query="Things to do in Salt Lake City in fall", limit=10) # Handle response print(res)
import { Orq } from "@orq-ai/node";const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "",});async function run() { const result = await orq.websearch.search({ provider: "exa", query: "Things to do in Salt Lake City in fall", limit: 10, }); console.log(result);}run();