80trust / 100

Screenshot

by Horizon Pulse in Documents & files

x402 APIPassing, checked 2 h ago

Web page screenshot. Use when you need to see how a public page renders. GET with required url; optional width (320-1920), height (240-2000), fullPage=true (clipped at 4000px), format png/jpeg, delayMs (0-3000). Renders in headless Chromium and returns JSON: imageBase64, mimeType, width, height, bytes, finalUrl, pageStatus, title and blockedRequests. Every sub-request is checked; private targets blocked. Over the 25s budget returns 504. Errors are not charged.

GET https://horizonpulse.dev/api/screenshot

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
258 ms typical, 258 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://horizonpulse.dev/api/screenshot?url=https%3A%2F%2Fhorizonpulse.dev"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhorizonpulse.dev%2Fapi%2Fscreenshot
const res = await pay("https://horizonpulse.dev/api/screenshot?url=https%3A%2F%2Fhorizonpulse.dev");
console.log(await res.json());

Example input

{
  "url": "https://horizonpulse.dev"
}

Example output

{
  "blockedRequests": 0,
  "bytes": 133636,
  "elapsedMs": 5818,
  "finalUrl": "https://horizonpulse.dev/",
  "fullPage": false,
  "height": 800,
  "imageBase64": "iVBORw0KGgoAAAAN…",
  "mimeType": "image/png",
  "ok": true,
  "pageStatus": 200,
  "requestedUrl": "https://horizonpulse.dev",
  "title": "Horizon Pulse",
  "width": 1280
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402274 ms$0.02
6 h agoPassed402258 ms$0.02
11 h agoPassed402166 ms$0.02