Web Search
Web search
Performs a real-time web search and returns structured, LLM-ready JSON results with titles, URLs, descriptions, and snippets. Supports filtering by domain, country, safe search, freshness, and live crawl.
Note: include_domains and exclude_domains cannot be used in the same request. Use one or the other.
post/web_search
Request body
Example request
{
"count": 10,
"country": "US",
"exclude_domains": [
"pinterest.com"
],
"freshness": "week",
"include_domains": [
"arxiv.org",
"github.com"
],
"query": "latest AI agent frameworks",
"safesearch": "moderate"
}Response
Successful search response.