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. [Get your API Key with free credits](https://you.com/platform).

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.

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.
max_ageinteger or nullOptional>=0

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
urlstringformat: "uri"
The webpage URL whose content has been fetched.
titlestring
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
Metadata about the web page. Only returned when 'metadata' is included in the formats array.

Errors

401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error