v1

latestOpenAPI 3.1.02026-07-175026.7 KB

Extracts content from a webpage in various formats.

This function opens a URL and extracts text content, with options to also extract Markdown and HTML content. It provides a convenient wrapper for web scraping tasks, opening its own browser instance and handling page navigation.

post/extractWebpage

Request body

Response

Successful response

contentstring required

Extracted text content from the webpage.

markdownstring

Markdown representation of the webpage content (if toMarkdown is true).

htmlstring

Full HTML content of the webpage (if toHTML is true).