{"api":"x402-api","version":"1.0.0","endpoints":[{"path":"/api/v1/stealth-dom","method":"POST","description":"Headless browser fetch from the Cloudflare edge. Returns raw page content up to 10,000 chars.","pricing":{"atomicUnits":"4000","readableUsdc":"$0.00400 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"url":{"type":"string","required":true,"description":"Target URL to fetch (SSRF-validated)"},"userAgent":{"type":"string","required":false,"description":"Custom User-Agent header"},"timeout":{"type":"number","required":false,"description":"Request timeout in ms (default 5000)"}}},{"path":"/api/v1/airgap-scrub","method":"POST","description":"Stateless pre-LLM privacy filter. Redacts PII & PCI (SSNs, Credit Cards, Phones, Addresses, Emails, ZIPs) before sending text to external AI models or logging services. Zero data retention.","pricing":{"atomicUnits":"4000","readableUsdc":"$0.00400 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"text":{"type":"string","required":true,"description":"Text payload to sanitize"},"strictMode":{"type":"boolean","required":false,"description":"Enable Workers AI Llama 3.1 deep redaction for names & bios"}}},{"path":"/api/v1/rag-shrink","method":"POST","description":"Strips HTML down to RAG-ready structure: title, headings, paragraphs, optional links.","pricing":{"atomicUnits":"2500","readableUsdc":"$0.00250 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"html":{"type":"string","required":true,"description":"Raw HTML to parse"},"keepLinks":{"type":"boolean","required":false,"description":"Preserve anchor tags in output"}}},{"path":"/api/v1/code-denoise","method":"POST","description":"Strips comments, docstrings, whitespace, and sourcemaps from code files to compress LLM prompt windows.","pricing":{"atomicUnits":"4000","readableUsdc":"$0.00400 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"code":{"type":"string","required":true,"description":"Code string to clean"},"language":{"type":"string","required":false,"description":"Programming language (default javascript)"}}},{"path":"/api/v1/domain-check","method":"POST","description":"Queries global RDAP registry from Cloudflare edge for domain availability and WHOIS status.","pricing":{"atomicUnits":"8000","readableUsdc":"$0.00800 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"domain":{"type":"string","required":true,"description":"Target domain name (e.g. example.com)"}}},{"path":"/api/v1/dex-price-summary","method":"POST","description":"Fetches real-time DEX price, 24h volume, liquidity, and top pair stats across chains for trading bots.","pricing":{"atomicUnits":"1500","readableUsdc":"$0.00150 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"query":{"type":"string","required":true,"description":"Token symbol or contract address"}}},{"path":"/api/v1/x-sentiment","method":"POST","description":"Analyzes market & social sentiment for topics/tokens using Workers AI Llama 3.1.","pricing":{"atomicUnits":"4500","readableUsdc":"$0.00450 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"topic":{"type":"string","required":true,"description":"Topic, ticker, or text sample to analyze"}}},{"path":"/api/v1/image-ocr-shrink","method":"POST","description":"Extracts clean text and table markdown from images via Workers AI Vision Llama 3.2 to save 95% LLM tokens.","pricing":{"atomicUnits":"8000","readableUsdc":"$0.00800 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"imageUrl":{"type":"string","required":true,"description":"Public image URL to parse"}}},{"path":"/api/v1/embed-text","method":"POST","description":"Generates 768-dimensional dense vector embeddings for text using Workers AI BGE-Base.","pricing":{"atomicUnits":"4000","readableUsdc":"$0.00400 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"text":{"type":"string | string[]","required":true,"description":"Text string or array of text strings to embed"}}},{"path":"/api/v1/embed-multilingual","method":"POST","description":"Generates 1024-dimensional dense vector embeddings for multilingual or long text using Workers AI BGE-Large.","pricing":{"atomicUnits":"5000","readableUsdc":"$0.00500 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"text":{"type":"string | string[]","required":true,"description":"Text string or array of text strings to embed"}}},{"path":"/api/v1/summarize","method":"POST","description":"Summarizes long text into bullet points, executive digests, or paragraphs using Workers AI Llama 3.1.","pricing":{"atomicUnits":"7000","readableUsdc":"$0.00700 USDC"},"paymentNetwork":{"chain":"eip155:8453","name":"Base","tokenAssetId":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","tokenName":"USDC"},"params":{"text":{"type":"string","required":true,"description":"Source text payload to summarize"},"format":{"type":"string","required":false,"description":"Output format: \"bullets\" | \"paragraph\" | \"executive\""},"maxLength":{"type":"number","required":false,"description":"Target word count limit (default 150)"}}}]}