v1
latestOpenAPI 3.0.02026-07-26300209.6 KBSearch the web
Search the web and get structured results. Returns ranked results with titles, snippets, and URLs.
Location and language resolution:
- If location is set but language is not, the language auto-resolves to the most predominantly used language in that country.
- If language is set but location is not, the location auto-resolves to the country where that language is most predominantly used.
- If neither location nor language is set, defaults to US and en.
Query parameters
Search query
Search query
Why this search is being run — the underlying goal or task the results will be used for. Used to better rank results against your intent.
Why this search is being run — the underlying goal or task the results will be used for. Used to better rank results against your intent.
Country code for geo-targeted results
Country code for geo-targeted results
Language code for result language
Language code for result language
Type of search to perform: "web" for standard results, "news" for news articles, "research_paper" for academic papers. Defaults to "web".
Type of search to perform: "web" for standard results, "news" for news articles, "research_paper" for academic papers. Defaults to "web".
Return results after this date (YYYY-MM-DD)
Return results after this date (YYYY-MM-DD)
Return results before this date (YYYY-MM-DD)
Return results before this date (YYYY-MM-DD)
Return results from the past N minutes (1 to 5,256,000).
Return results from the past N minutes (1 to 5,256,000).
Page number for pagination, starting from 0 (max 10)
Page number for pagination, starting from 0 (max 10)
When "true", each result includes a thumbnail_url when available. Defaults to false.
When "true", each result includes a thumbnail_url when available. Defaults to false.
JSON-encoded fetch configuration object.
JSON-encoded fetch configuration object.
Response
Search completed successfully.
Example response
{
"query": "web automation tools",
"results": [
{
"position": 1,
"site_name": "example.com",
"snippet": "This is an example snippet...",
"title": "Example Page",
"url": "https://example.com/page",
"thumbnail_url": "https://example.com/thumb.jpg"
}
],
"total_results": 10
}