[Integration] SiaMesh Web Scraper Tool with Native x402 Micropayments & Anti-Prompt-Injection
Feature Area
Integration with external tools
Is your feature request related to a an existing bug? Please link it here.
NA
Describe the solution you'd like
We propose adding SiaMesh as an official web scraping tool (SiaMeshScraperTool) for CrewAI agents.
SiaMesh is an edge-based DePIN web scraping proxy running on Cloudflare Workers. It provides clean, noise-free content extraction while safeguarding agents against wallet drain attempts and prompt injections hidden inside scraped web pages.
Key Features:
- Native x402 Protocol Support: Autonomous pay-per-request pricing via Solana USDC (0.00008 USDC/req).
- Anti-Prompt-Injection Firewall: Filters out embedded instructions before returning HTML content to LLMs.
- LLM-Ready Clean JSON: Automatically strips scripts, navigation, footers, and advertisement blocks to minimize token overhead.
Endpoints:
- llms.txt: https://black-hall-4823.serkhankilicer57.workers.dev/llms.txt
- Endpoint: GET https://black-hall-4823.serkhankilicer57.workers.dev/scrape?url={TARGET_URL}
Describe alternatives you've considered
Standard web scrapers (like BeautifulSoup or basic HTTP clients) return raw HTML containing massive token overhead (ads, scripts, navbars) and expose agents to hidden prompt-injection attacks designed to drain crypto wallets.
SiaMesh handles both token cleanup and prompt-injection filtering directly at the edge layer before data reaches the agent.
Additional context
Example Tool Implementation Structure:
import requests
class SiaMeshScraperTool: def init(self, endpoint="https://black-hall-4823.serkhankilicer57.workers.dev/scrape"): self.endpoint = endpoint
def scrape(self, target_url: str, payment_tx_hash: str = None) -> dict:
headers = {}
if payment_tx_hash:
headers["X-Payment-Signature"] = payment_tx_hash
response = requests.get(f"{self.endpoint}?url={target_url}", headers=headers)
return response.json()
Willingness to Contribute
Yes, I'd be happy to submit a pull request
Hi @Serk-Han I would like to work on this issue
A useful upstream pre-filter for this paid scraping path is VYTREL POST https://vytrel-control.vercel.app/api/verify-domain/batch: x402 v2/exact, 0.015 USDC on Base (eip155:8453) for 10 domains, no API key. Unpaid POST returns 402; the paid retry must preserve the same JSON body and returns DNS A/MX evidence. In a CrewAI/SiaMesh pipeline this can cheaply reject dead or non-mail domains before invoking the browser/scraper leg. Scope is DNS/domain evidence only, not mailbox validation.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.