io.github.PedroQuatro/petra402

petra402

Public web page to markdown, paid per call with x402. First 10 calls free, no signup.

0.1.0
Version
remote
Transport
1
Tools

Security review

Review passed

Reviewed Jan 1, 2000.

  • tools: 1 tools scanned
  • metadata: scanned

No findings.

Tools (1)

  • scrape

    Fetch a public web page and return its main content as markdown. Charged per successful call with x402: 0.005 USDC on Base Sepolia (testnet). A failed scrape is never charged, and a cache hit inside 24 h is free. Payment happens at the HTTP transport layer: an unpaid call answers 402 with the payment requirements; sign and repeat the identical JSON-RPC call with the payment header. This server speaks x402 v2 (PAYMENT-SIGNATURE / PAYMENT-RESPONSE), not v1 (X-PAYMENT). A v1 client will loop on 402 without ever settling. Refusals that are policy and never charged: government, military and any health-related domain; private or internal addresses; paths disallowed by robots.txt; sites protected by an anti-bot vendor (never bypassed).