Choose the format of the page content returned by the ScreenshotOne API

Now you can choose the format of the page content returned by ScreenshotOne API with the metadata_content_format option.

Changelog 1 min read

Written by

Dmytro Krasun

Published on

You can now control the format of the page content when using the metadata_content option.

Use metadata_content_format to specify how you want the page content returned. Available formats:

  • html - returns the HTML content of the page (default)
  • markdown - returns the page content converted to Markdown format
https://api.screenshotone.com/take?metadata_content=true&metadata_content_format=markdown&url=https://example.com/&access_key=<access key>

If you use JSON response type, you will get:

{
"content": {
"url": "https://example.com/.../....md",
"expires": "Wed, 21 Oct 2015 07:28:00 GMT",
}
}

The content will be uploaded to the ScreenshotOne CDN and you will receive the URL of the content file.

It is also available in the playground.

As always, if you have any questions, please, reach out at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
New hover option

New hover option

Use the new hover option to interact with elements before rendering, and choose whether to fail if the hover selector is not found.

Read more

1 min read

Failed payment alerts in the dashboard

Failed payment alerts in the dashboard

Starting today, you will see an alert in the dashboard when a payment fails.

Read more

1 min read

Fail rendering if the content contains a string

Fail rendering if the content contains a string

There is a set of use cases when you want to fail screenshot rendering and retry it if the content of the page contains a string.

Read more

1 min read

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.