Contents

View as Markdown
Returns the HTML or Markdown of a target webpage.

Authentication

X-API-Keystring

The unique API Key required to authorize API access. Learn how to get yours in the “Get your API key” section of the documentation.

Request

This endpoint expects an object.
urlslist of stringsOptional
Array of URLs to fetch the contents from.
formatslist of enumsOptional

The formats of the content to be returned. Can include ‘html’, ‘markdown’, and/or ‘metadata’.

Allowed values:
crawl_timeoutdoubleOptional1-60
The timeout in seconds for crawling each URL. Must be between 1 and 60 seconds.

Response

An array of JSON objects containing the page content of each web page
urlstring or nullformat: "uri"
The webpage URL whose content has been fetched.
titlestring or null
The title of the web page.
htmlstring or null
The retrieved HTML content of the web page.
markdownstring or null
The retrieved Markdown content of the web page.
metadataobject or null
Metadata about the web page. Only returned when 'metadata' is included in the formats array.

Errors