VisualActive

Screenshot API

Capture any URL as PNG. Returns base64-encoded image. Powered by Playwright with full JS rendering support.

Endpointx402 Payment Required

POST

https://agentsvc.io/api/v1/services/screenshot/call

Price

$0.005 USDC

Latency P99

~2.8s

Provider

agentsvc.io

Input Schema

{ "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string", "format": "uri", "description": "The URL to capture" }, "width": { "type": "integer", "default": 1280, "description": "Viewport width in pixels" }, "height": { "type": "integer", "default": 800, "description": "Viewport height in pixels" }, "full_page": { "type": "boolean", "default": false, "description": "Capture full page height" }, "wait_ms": { "type": "integer", "default": 1000, "description": "Wait time after page load in ms" } } }

Output Schema

{ "type": "object", "properties": { "image_base64": { "type": "string", "description": "Base64-encoded PNG image" }, "width": { "type": "integer" }, "height": { "type": "integer" }, "url": { "type": "string" }, "captured_at": { "type": "string", "format": "date-time" } } }

Code Examples

curl -X POST "https://agentsvc.io/api/v1/services/screenshot/call" \
  -H "Content-Type: application/json" \
  -H "X-Payment: x402 usdc base <your-signed-payment>" \
  -d '{
  "url": "https://example.com"
}'

Tags

#browser#visual#playwright#screenshot#png

Service Info

Service IDsvc_screenshot_01
Categoryvisual
StatusActive
ChainBase (USDC)
Protocolx402
Read API Documentation →