Skip to content

Search the web

POST/v1/tools/web.search/callsNeeds an API key

Returns the web pages that match a query, with title, address and snippet, a page at a time or up to 100 at once. Use it to find sources on a topic without picking a search engine.

Tool web.search on Open web and SEO. Contract version 1, released 2026-11-04.

Over REST, send the input in the body. Over MCP, pass the same input to call_tool.

Both return the full response: the call's ID, status and cost, with this tool's result in output.

Input

querystringRequired

The search query. Search operators are supported: "exact phrase", -word, site:, -site:, filetype:, inurl:, allinurl:, intitle:, allintitle:, related:, imagesize: and larger:.

1 to 500 characters.

countrystring· default us

Two-letter ISO 3166-1 country code to localize results to. Case-insensitive.

One of the 249 values of the countries list: ISO 3166-1 alpha-2 country codes, lowercase.

languagestring

Two-letter ISO 639-1 language code of the results. Case-insensitive. Left out, the provider picks the country's main language.

One of the 184 values of the languages list: ISO 639-1 two-letter language codes, lowercase.

pageinteger· default 1

Page of results, about 10 per page.

From 1 to 11.

limitinteger

Number of results to return, at most 100. Left out, about 10.

From 1 to 100.

time_rangestring

Only results from the last hour, day, week, month or year.

hour
day
week
month
year
include_domainsarray of string

Only results from these sites, written as host names without scheme or path, such as reddit.com. Case-insensitive. Cannot be sent with exclude_domains.

Each item: 1 to 253 characters.

Each item: matches ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$.

1 to 20 items.

No item twice.

exclude_domainsarray of string

No results from these sites, written as host names without scheme or path, such as reddit.com. Case-insensitive. Cannot be sent with include_domains.

Each item: 1 to 253 characters.

Each item: matches ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$.

1 to 20 items.

No item twice.

Output

A successful call returns these blocks in its output. A field not marked required can be null.

results

A list of rows. Always present, possibly empty.

positionintegerRequired

Rank among the results, starting at 1.

titlestringRequired
urlstringRequired
snippetstring

Text from the page that matches the query. Some providers send it as Markdown.

site_namestring

The name of the site, as the search engine shows it. Often its host name.