Capture a screenshot of any URL or HTML
Capture a screenshot of any URL or HTML. Returns a PNG or JPEG image. Supports full-page, element selection, custom viewport.
50000 (raw units)
price
34
calls / 30d
5
unique payers
2026-09-17
updated
Provider
stableflare.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb6A6ba7F58fE92E77bcE040CC0818c63ab9ac768",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"authenticate": {
"additionalProperties": false,
"properties": {
"password": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"cookies": {
"items": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"gotoOptions": {
"additionalProperties": false,
"properties": {
"timeout": {
"type": "number"
},
"waitUntil": {
"enum": [
"load",
"domcontentloaded",
"networkidle0",
"networkidle2"
],
"type": "string"
}
},
"type": "object"
},
"html": {
"description": "HTML content to render instead of URL",
"type": "string"
},
"screenshotOptions": {
"additionalProperties": false,
"properties": {
"clip": {
"additionalProperties": false,
"properties": {
"height": {
"type": "number"
},
"width": {
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"type": "object"
},
"fullPage": {
"type": "boolean"
},
"omitBackground": {
"type": "boolean"
},
"quality": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"type": {
"enum": [
"png",
"jpeg"
],
"type": "string"
}
},
"type": "object"
},
"selector": {
"description": "CSS selector to screenshot a specific element",
"type": "string"
},
"setExtraHTTPHeaders": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"description": "URL to render",
"format": "uri",
"type": "string"
},
"userAgent": {
"type": "string"
},
"viewport": {
"additionalProperties": false,
"properties": {
"deviceScaleFactor": {
"type": "number"
},
"height": {
"type": "number"
},
"width": {
"type": "number"
}
},
"type": "object"
},
"waitForSelector": {
"description": "CSS selector to wait for",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://stableflare.dev/api/browser/screenshot" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://stableflare.dev/api/browser/screenshot");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://stableflare.dev/api/browser/screenshot")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5827.json, and this resource appears in /discovery/resources and /discovery/search.