store:true and a storage_path:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Capture your first Scrinly screenshot in five minutes.
curl --get "https://api.scrinly.com/render/screenshot" \
--header "Authorization: Bearer $SCRINLY_API_KEY" \
--data-urlencode "url=https://example.com" \
--data-urlencode "format=png" \
--output screenshot.png
const response = await fetch("https://api.scrinly.com/render/screenshot", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SCRINLY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com",
format: "png",
}),
});
if (!response.ok) throw new Error(await response.text());
const image = Buffer.from(await response.arrayBuffer());
import os
import requests
response = requests.post(
"https://api.scrinly.com/render/screenshot",
headers={"Authorization": f"Bearer {os.environ['SCRINLY_API_KEY']}"},
json={"url": "https://example.com", "format": "png"},
)
response.raise_for_status()
open("screenshot.png", "wb").write(response.content)
store:true and a storage_path:
{
"url": "https://example.com",
"format": "jpg",
"fullPage": true,
"store": true,
"storage_path": "screenshots"
}