Contents

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

Authentication

X-API-Keystring

A unique API Key is required to authorize API access. For details, see how to get your API Key.

Request

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

Array of content formats to return. All included formats are returned in the response. Include “metadata” to get JSON-LD and OpenGraph information, if available.

Allowed values:
crawl_timeoutintegerOptional1-60Defaults to 10
Maximum time in seconds to wait for page content. Must be between 1 and 60 seconds. Default is 10 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
Page metadata. Only returned when "metadata" is included in the formats array.

Errors