Back to Changelog

Output Formats

The /v2/scrape endpoint now accepts an output_formats array, letting you request multiple output representations in a single API call.

What's new

  • output_formats field — pass an array of formats instead of a single output_format string; all requested formats are returned together in the response
  • Supported values: markdown, cleaned, html, and the new links
  • links format — returns all hyperlinks extracted from the page as a structured array, useful for link graph analysis, SEO audits, and crawl seed generation
  • output_formats takes precedence over the legacy output_format field when both are provided

Example

{
  "url": "https://example.com",
  "output_formats": ["markdown", "links"]
}

The response will include both the markdown content and a links array with all URLs found on the page.

See the scrape documentation for the full list of parameters.