Anokha Web Tools

POST /v1/scrape

Scrape any page with a real headless browser (JavaScript rendered). Firecrawl-compatible: formats markdown, html, rawHtml, links, screenshot. Use for SPAs and sites where plain fetch fails.

Price: $0.008 per call, paid in USDC on Base via x402. No API key or signup.

Example call

npx x402-fetch -X POST -H 'Content-Type: application/json' -d '{"url": "https://example.com", "formats": ["markdown", "links"]}' https://tools.anokha.space/v1/scrape

Example response

{
  "success": true,
  "data": {
    "markdown": "# ...",
    "links": [
      "https://..."
    ],
    "metadata": {
      "title": "...",
      "statusCode": 200
    }
  }
}

How payment works

The first request returns HTTP 402 with a PAYMENT-REQUIRED header. An x402 client signs a USDC authorization and retries with a PAYMENT-SIGNATURE header. You are charged only when the call succeeds.