Contents
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.
urls
Array of URLs to fetch the contents from.
formats
The formats of the content to be returned. Can include ‘html’, ‘markdown’, and/or ‘metadata’.
Allowed values:
crawl_timeout
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
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
Metadata about the web page. Only returned when 'metadata' is included in the formats array.