Skip to content

Render web pages in a controlled browser and fetch the content

POST/v1/tools/web.extract.advanced/callsNeeds an API key

Renders one web page in a browser and returns its content, as Markdown and as plain text. Use it for pages that need JavaScript, or to keep or drop parts by CSS selector.

Tool web.extract.advanced on Open web and SEO. Contract version 1, released 2026-10-27.

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

urlstringRequired

Address of the public page to extract, starting with http:// or https://.

Format uri.

Matches ^https?://[^\s/?#]+\S*$.

wait_for_selectorstring

CSS selector of an element to wait for after the page loads, before it is read.

1 to 2048 characters.

include_selectorstring

CSS selector of the content to extract; only its matches are kept. Waited for too.

1 to 2048 characters.

exclude_selectorstring

CSS selector of content to drop before extraction, such as "nav, footer".

1 to 2048 characters.

Output

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

page

One object. Can be null.

contentstringRequired

The whole page as Markdown, or only include_selector's matches when given.

textstring

The readable text of the page, without markup.

titlestring
descriptionstring

The description the page declares for itself. Absent when it declares none.

urlstring

Address of the page that was read.