Skip to content

Website launch check

$0.01 per callUSDC via x402POST /api/launch-check

Check a website before it goes live.

Category: Web & documentsTags: launch checklist seo qa go-live robots certificate dmarc

Try in playground →

Details

One call reads the page, its https redirect and www address, certificate, robots.txt, sitemap, indexing rules, canonical link, title, description, phone layout, share card, icon, leftover test text, and SPF and DMARC mail records. Returns ready true or false (null when a check that blocks a launch could not be made) and each check with what was found and how to fix it. A check that could not be made says so. It reads one page and gives no legal or security clearance.

Parameters

NameTypeRequiredDescription
urlstringyesThe page to check. https:// is assumed when left out. Also accepted as link, uri, href, page. Up to 2048 characters. The example sends https://agent402.tools.

Example request

curl -i -X POST https://agent402.tools/api/launch-check \
  -H "Content-Type: application/json" \
  -d '{"url":"https://agent402.tools"}'

Watch a call get paid

RequestPOST /api/launch-check
402$0.01 USDC
SignPAYMENT-SIGNATURE
Settleon 14 chains
Answer200 OK
ReceiptAgent402-ReceiptEd25519

Example response

{
  "url": "https://agent402.tools/",
  "ready": true,
  "summary": {
    "passed": 2,
    "warnings": 1,
    "failed": 0,
    "notChecked": 0
  },
  "checks": [
    {
      "id": "answers",
      "blocksLaunch": true,
      "result": "pass",
      "found": "HTTP 200 at https://agent402.tools/"
    },
    {
      "id": "certificate",
      "blocksLaunch": true,
      "result": "pass",
      "found": "trusted, covers agent402.tools, 54 days left"
    },
    {
      "id": "share-card",
      "blocksLaunch": false,
      "result": "warn",
      "found": "none",
      "fix": "Add og:title and og:image so a shared link shows a card."
    }
  ],
  "checkedAt": "2026-12-04T15:40:00.000Z"
}
FieldTypeAlways presentIn the example
urlstringyeshttps://agent402.tools/
readybooleanyestrue
summaryobjectyes4 fields: passed, warnings, failed, notChecked
checksarray of objectsyes3 items in the example
checkedAtstringyes2026-12-04T15:40:00.000Z

From an MCP client

catalog.call {
  "slug": "launch-check",
  "params": {
    "url": "https://agent402.tools"
  }
}

Hosted connector (https://agent402.tools/mcp): paid in the call. Stdio package (npx -y agent402-mcp@0.20.1): pays from a wallet or AGENT402_CREDITS_KEY.

Errors and behavior

Paid call (JavaScript agent)

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

const client = new x402Client();
client.setSpendControls?.({ maxAmountPerPayment: "$0.01" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/launch-check", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "url": "https://agent402.tools"
  }),
});

Get a wallet or run npx -y agent402-mcp@0.20.1 wallet new.

The quote (Python)

import base64, json, urllib.error, urllib.request

req = urllib.request.Request("https://agent402.tools/api/launch-check", method="POST", data="{\"url\":\"https://agent402.tools\"}".encode(), headers={"Content-Type": "application/json"})
try:
    urllib.request.urlopen(req)
except urllib.error.HTTPError as e:
    quote = json.loads(base64.b64decode(e.headers["PAYMENT-REQUIRED"]))
    print(e.code, [(a["network"], a["amount"]) for a in quote["accepts"]])  # the price, per chain, in base units

Related tools