v1

latestOpenAPI 3.0.12026-07-17102.1 KB

Scrape content from a webpage

post/scrape

Request body

urlstring uri required
type'text' | 'links' | 'images'

Example request

{
  "url": "https://example.com",
  "type": "text"
}

Response

OK

textstring

The text content of the webpage. Returned when type is text or not provided.

linksobject[]

The array of link objects with all attributes from the webpage. Returned when type is links.

imagesobject[]

The array of image objects with all attributes from the webpage. Returned when type is images.