Extract clean, formatted content from web pages. Returns both raw HTML content and formatted markdown.
Parameter | Type | Required | Description |
---|---|---|---|
urls | string[] | Yes | Array of URLs to scrape. Maximum 5 URLs per request. |
url
(string): The URL that was scrapedsuccess
(boolean): Whether the scraping was successfultitle
(string, optional): Page title if successfully scrapedcontent
(string, optional): Raw HTML contentmarkdown
(string, optional): Formatted markdown version of the contenterror
(string, optional): Error message if scraping failedrequested
(number): Number of URLs in the original requestprocessed
(number): Number of valid URLs that were processedsuccessful
(number): Number of URLs successfully scrapedfailed
(number): Number of URLs that failed to scrapetotalCost
(number): Total cost in USD (only for successful scrapes)success
field for each result before accessing contentWeb scraping parameters
The body is of type object
.
Web scraping response with results for each URL
The response is of type object
.