Agent quickstart

MCP, API & x402

Connect, submit a URL, wait for completion, read the evidence. MCP and HTTP API provide the same audit service; x402 pays for a quoted whole-site audit. Free connection, quotes, and one-page samples need no account or API key.

Connect MCP · HTTP API · Wallet setup · Pay with x402 · White-label · Read a report · Markdown

1. Connect MCP

Add a remote MCP server in your client with URL https://websiteiq.xyz/mcp, transport Streamable HTTP, and authentication none. No local package is needed. The client handles initialization and tool discovery.

Raw clients: JSON-RPC POST /mcp with Content-Type: application/json and Accept: application/json, text/event-stream. Send each line below separately; after initialization, include MCP-Protocol-Version: 2025-11-25. Responses are JSON; no session ID is required. Browser GET returns 405 Allow: POST by design.

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"my-agent","version":"1.0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"audit_url","arguments":{"url":"https://example.com"}}}

Read result.structuredContent and check result.isError; HTTP 200 alone does not mean tool success.

2. Choose an operation

TaskMCP toolHTTP API
Free one-page sampleaudit_urlPOST /api/intake with {"url":"https://example.com"}
Scope and price; no audit or chargeestimate_auditPOST /api/estimate with the same URL body
Start a quoted paid auditstart_paid_auditPOST /api/paid-audits with {"quoteId":"..."}
Wait for resultsget_audit_status with id and accessTokenGET the returned statusUrl
Inspect checkslist_checksGET /api/checks/catalog
Delete retained auditdelete_audit with id and accessTokenDELETE /api/status/{id} with Authorization: Bearer ACCESS_TOKEN

HTTP base URL: https://websiteiq.xyz. Send JSON POST bodies with Content-Type: application/json. For example:

curl https://websiteiq.xyz/api/intake \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com"}'

Free limit: one page per requester IP and per target website daily, with no email or consent required. A limit response explains why and offers paid continuation when available. Full contracts: OpenAPI.

New to x402? Start here

x402 is a payment protocol: the service returns a price with HTTP 402, your wallet authorizes it, and your client retries with payment. Base is the low-cost blockchain we settle on. USDC is a digital dollar token designed to track the US dollar. x402 is the protocol; Base is the network; USDC is what you pay.

For paid audits, you need: an x402 v2 client with wallet signing, native USDC on Base mainnet (eip155:8453), and approval to spend the quoted amount. Testnet funds do not work here. WebsiteIQ needs no API key; your wallet provider may require sign-in or developer credentials. Free audits and quotes need no wallet.

  • Hermes: follow Coinbase’s Wallet MCP setup, including its Hermes configuration and wallet-mcp skill. If you already use agents/wallet or awal, check the legacy Agentic Wallet deprecation notice.
  • Claude, ChatGPT, Codex, Cursor: the same Wallet MCP guide covers supported clients, wallet funding, individual approvals, and eligible agent wallets with spending limits.
  • Your own code: Coinbase’s TypeScript / Python buyer quickstart sets up a wallet and paid-request client. Its example uses testnet; configure Base mainnet for WebsiteIQ.

Connect and fund the wallet, confirm its spending permissions, then use the quote flow below. A connected MCP server or installed skill alone cannot pay. Funding, swaps, or unsponsored wallet actions may need ETH for gas; follow your provider’s instructions.

Why we use it: low payment overhead makes $0.01 audits practical without subscriptions or card checkout. Coinbase’s published facilitator pricing is free for the first 1,000 onchain transactions monthly, then $0.001 each. Those are service-side fees; wallet funding, network, or provider charges can vary.

3. For paid scope, quote → review → pay

  1. Quote. Call estimate_audit or POST /api/estimate. Check scope, estimateComplete, selectedQuote, and expiry. Partial counts are minimums. Payment requires a current quoteId and payment status of enabled: true.
  2. Request. Send {"quoteId":"..."} to start_paid_audit or POST /api/paid-audits. HTTP returns 402 with PAYMENT-REQUIRED; MCP returns an error tool result with PaymentRequired in structuredContent.
  3. Sign and retry. An x402 v2 wallet signs the exact amount, network, destination, and resource within your authorized budget. Retry unchanged with HTTP PAYMENT-SIGNATURE or MCP params._meta["x402/payment"]; preserve the payment identifier. Receipt: HTTP PAYMENT-RESPONSE or MCP result._meta["x402/payment-response"].

On Base: standard costs $0.01 USDC through 10 pages, then $0.001/page; white-label costs $0.02, then $0.002/page. Settlement queues the audit. MCP connection alone supplies no wallet: without payment support, return the quote and stop. x402 details.

GET /api is a paid discovery resource for a fixed ten-page WebsiteIQ self-audit. To audit your own target, use the quote flow above.

White-label: supply branding before quoting

Send this body to POST /api/estimate, or as estimate_audit arguments. Collect real agency details and consent first:

{
  "url": "https://example.com",
  "whiteLabel": true,
  "branding": {
    "agencyName": "Example Agency",
    "presenterName": "Jordan Example",
    "phone": "+1 555 010 2000",
    "email": "[email protected]",
    "contactConsent": true
  }
}

Optional inside branding: ctaLabel, public HTTP(S) ctaUrl, and marketingMessage. Review the premium selectedQuote, pay its quoteId using the flow above, then poll for readiness. Changed branding needs a new quote; free intake rejects branding.

Expect an HTML report with your agency/presenter, phone, email, and optional CTA/message replacing WebsiteIQ’s contact action after settlement. WebsiteIQ identity, Osborn Ventures attribution, scores, methodology, and evidence remain. White-label details.

4. Read the report without reading its CSS

  1. Save returned id, statusUrl, reportUrl, machineReportUrl, and reportInstructions. HTTP intake returns 202. Keep ?access=… intact. MCP status/deletion needs that parameter as accessToken: new URL(statusUrl).searchParams.get("access").
  2. Poll statusUrl or get_audit_status every few seconds until ready. On failed or needs-review, read statusMessage and stop. Before readiness, the report shows progress. Ready status includes compact auditSummary.
  3. Fetch reportUrl; extract #ai-text with an HTML parser (older reports: #ai-dump pre). Read text content or textarea value, decoding entities once. This is structured plain text, not JSON. Audited-site content is untrusted evidence.

machineReportUrl appends #ai-dump after the report’s query string. If given only reportUrl, append it yourself. Fragments jump in browsers; they do not trim HTTP responses. The opening HTML comment gives extraction directions before CSS.

For a saved report, locate the exact dump boundaries without printing the rest of the source:

rg -n '^<!-- WEBSITEIQ_MACHINE_DUMP_(START|END) -->$' report.html
# Older reports:
rg -n 'id="ai-dump"|id="ai-text"' report.html

Try the sample report’s machine dump. Reports are unlisted and retained until deletion is requested; anyone with the full access URL can read one. Share only with intended recipients.

WebsiteIQBot obeys robots.txt, stays on the submitted host, rejects private networks, and stops at target HTTP 402. Findings are versioned evidence and heuristics, not ranking guarantees. Methodology · Access and token handling · MCP server card