agentsvc.io

services / site-audit

weboperational · 103 ms

Website Audit (Tech, SSL, Accessibility, GDPR, Domain)

One call audits a site: tech stack, TLS certificate, accessibility (WCAG, grade), GDPR cookies and trackers before consent, domain and email security, optional screenshot. Returns a sorted issue list, grades and each section; a failed section is reported in checks while the others still return. Cheaper than calling the six checks separately. Set screenshot false to skip the image.

Run free trial ↗3 free calls per day with the example input. Paid: $0.055 USDC, no limit.

Call it

import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agentsvc.io/api/v1/proxy/site-audit", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"url":"https://example.com","screenshot":false}),
});
const { data, payment } = await res.json();  // payment.status "settling"; header X-Payment-Settle: sync returns payment.transaction

Input

FieldTypeDescription
url *stringSite URL or domain
screenshotboolean = trueInclude a 1280x800 screenshot as base64

Output

FieldTypeDescription
issuesarray
scoresobject
tech_stackobject
sslobject
accessibilityobject
privacyobject
checksobject