Web Evidence

$0.01 per call · settled in USDC on Base mainnet · POST /v1/web/evidence

Retrieve deterministic evidence from a public HTTPS page

How it works

  1. POST an application/json body to https://evidence.api.williamrobinson.dev/v1/web/evidence. An unpaid request answers HTTP 402 with a base64 payment-required header describing the exact transfer.
  2. Decode the header and sign the EIP-3009 transferWithAuthorization for 10000 atomic USDC ($0.01).
  3. Retry the identical request with the signature in the payment-signature header.
  4. A settled request answers HTTP 200 with the JSON result. Malformed requests (400/413/415) are never charged.
curl -s -X POST https://evidence.api.williamrobinson.dev/v1/web/evidence \
  -H 'content-type: application/json' \
  -d '{"url":"https://example.com/","maxChars":5000,"includeLinks":false,"includeAccessibilityTree":false}'
# -> HTTP 402 Payment Required (payment-required header)

curl -s -X POST https://evidence.api.williamrobinson.dev/v1/web/evidence \
  -H 'content-type: application/json' \
  -H 'payment-signature: <base64 EIP-3009 signature>' \
  -d '{"url":"https://example.com/","maxChars":5000,"includeLinks":false,"includeAccessibilityTree":false}'
# -> HTTP 200 OK

Request example

{
  "url": "https://example.com/",
  "maxChars": 5000,
  "includeLinks": false,
  "includeAccessibilityTree": false
}

Example output

First lines of `page.markdown` from the example request above

# Example Domain

This domain is for use in illustrative examples in documents.

Discovery

Feedback

POST /v1/feedback with { "message": "...", "product"?: "...", "contact"?: "..." } — free, no payment required.
Read submitted feedback at /feedback (public, plain text).

Payments settle to the operator wallet; no accounts or API keys.