Contents
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.
urls
Array of URLs to fetch the contents from.
formats
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_timeout
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
url
The webpage URL whose content has been fetched.
title
The title of the web page.
html
The retrieved HTML content of the web page.
markdown
The retrieved Markdown content of the web page.
metadata
Page metadata. Only returned when "metadata" is included in the formats array.