Contents
Deprecated. The Contents API still works and existing integrations keep running, but it will not receive new features. Use the Extract API for new integrations.
Returns the HTML or Markdown of a target webpage.
Authentication
A unique API Key is required to authorize API access. Get your API Key with free credits.
Request
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.
Maximum allowed age of cached content in seconds. When set, cached content older than this threshold is ignored and the page is re-fetched. Must be 0 or greater. Default is null (no age limit, cached content is returned regardless of age).
Response
An array of JSON objects containing the page content of each web page. On a multi-URL request, a PDF that is too long to process can be left out of this array.