GET/{target_url}

An API key is optional; without one the caller is anonymous.

Parameters

target_urlpath, stringrequired

The URL to scrape.

Responses

OK

Type ScrapeResponse

dataDocumentrequired
3 fields inside data
htmlstring

The page HTML, converted to UTF-8; only its main content with responseOptions.onlyMainContent.

markdownstring

The page as Markdown.

metadataDocumentMetadatarequired
6 fields inside metadata
contentTypestring

The response content type.

errorstring

Why the scrape failed.

errorCodestring

A machine-readable error code.

sourceURLstringrequired

The requested URL.

statusCodeinteger (int64)

The HTTP status code.

urlstringrequired

The final URL after redirects.

successbooleanrequired

Always true.

One of true