82trust / 100

Page Snap

by APEX Website screenshot in Documents & files

x402 APIPassing, checked 3 h ago

Website screenshot: capture any public URL as an image in a real headless Chrome, with its text. See a web page the way a person does: pass ?url= and get a 1280x900 screenshot (JPEG, base64) of the first screen, rendered in a real headless Chrome with JavaScript executed, plus the page title, its full visible text and its links. Bot walls and empty renders are refused before any charge. Paid in USDC on Base.

GET https://apexfaucet.xyz/api/x402/page-snap

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://apexfaucet.xyz/api/x402/page-snap?url=https%3A%2F%2Fdocs.arc.io%2F"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapexfaucet.xyz%2Fapi%2Fx402%2Fpage-snap
const res = await pay("https://apexfaucet.xyz/api/x402/page-snap?url=https%3A%2F%2Fdocs.arc.io%2F");
console.log(await res.json());

Example input

{
  "url": "https://docs.arc.io/"
}

Example output

{
  "data": {
    "characters": 1384,
    "screenshot": {
      "base64": "/9j/4AAQ…",
      "bytes": 84211,
      "format": "jpeg",
      "height": 900,
      "width": 1280
    },
    "title": "Welcome to Arc docs",
    "url": "https://docs.arc.io/"
  },
  "ok": true,
  "paid": {
    "amount": 0.001,
    "asset": "USDC",
    "network": "eip155:8453"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40295 ms$0.001