GET/v2/scrape/{id}

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

Parameters

idpath, stringrequired

The scrape ID.

Responses

OK

Type ScrapeStatusResponse

completedAtstring (date-time)

When the URL got its result.

createdAtstring (date-time)required
dataDocument

The scrape's document, once completedAt is set.

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.

expiresAtstring (date-time)required

When the result expires.

statusstringrequired

completed once the URL got its result.

One of scraping, completed

successbooleanrequired

Always true.

One of true