v1

latestOpenAPI 3.1.02026-07-175026.7 KB

Extracts hyperlink data from a specified URL

The extractLinksFromUrl function is a convenience wrapper that opens a given URL, extracts all hyperlinks from the webpage, and then closes the browser. It returns detailed information about each extracted link, including its href, display name, type, and various boolean flags indicating the link's characteristics.

post/extractLinksFromUrl

Request body

Response

Successful response with extracted links

hrefstring required

The URL of the extracted link

displayNamestring required

The visible text of the link

type'statix' | 'webpage' required

The type of the link

inPageLinkboolean required

Indicates if the link is within the same page

externalLinkboolean required

Indicates if the link points to an external resource

internalLinkboolean required

Indicates if the link points to an internal resource

staticType'video' | 'image' | 'file' | 'other'

The type of static content, if applicable

fileExtensionstring

The file extension, if applicable