v2

OpenAPI 3.1.02026-07-264960204.2 KB

Extract web page content

Extracts text content and links from a web page URL. Returns page text, detected language, and a dictionary of links found on the page.

get/extract

Query parameters

urlstring nullable

URL of the web page to extract content from.

URL of the web page to extract content from.

domainstring nullable

Bare domain to extract — alias for url=https://{domain}; hits the cached page when available.

Bare domain to extract — alias for url=https://{domain}; hits the cached page when available.

Response

Successful Response

languagestring nullable

Source language of the web page text in ISO-639-2 two-letter language codes

textstring required

The extracted text content of the web page

linksobject

Dictionary of links found on the web page: URL -> link text