Loading...
Loading...
Web scraping and search via paid API: crawl any URL with cascade escalation (fast HTTP -> browser -> stealth+proxy), bulk crawl multiple URLs, and search the web via Exa. Uses x_payment tool for automatic USDC micropayments ($0.005/crawl, $0.01/search). Use as escalation when built-in web_fetch fails or is blocked. Use when: (1) web_fetch returned empty/blocked content, (2) scraping JS-rendered or anti-bot protected pages, (3) bulk-crawling multiple URLs, (4) searching the web by query via Exa.
npx skill4agent add cascade-protocol/agentbox webhttps://web.surf.cascade.fyix_paymentweb_fetchx_payment({
"url": "https://web.surf.cascade.fyi/v1/crawl",
"method": "POST",
"params": "{\"url\": \"https://example.com\", \"format\": \"markdown\"}"
})| Param | Type | Default | Description |
|---|---|---|---|
| url | string | - | Single URL to crawl (required if no |
| urls | string[] | - | Multiple URLs to bulk crawl (required if no |
| format | string | markdown | Output format: |
| selector | string | - | CSS selector to extract specific elements |
| proxy | boolean | false | Force proxy usage (auto-enabled on stealth tier) |
{
"status": 200,
"content": ["# Page Title\n\nPage content in markdown..."],
"url": "https://example.com/"
}[
{"status": 200, "content": ["..."], "url": "https://example.com/"},
{"status": 200, "content": ["..."], "url": "https://other.com/"}
]x_payment({
"url": "https://web.surf.cascade.fyi/v1/search",
"method": "POST",
"params": "{\"query\": \"x402 protocol crypto payments\", \"num_results\": 10}"
})| Param | Type | Default | Description |
|---|---|---|---|
| query | string | required | Search query |
| num_results | 1-20 | 5 | Number of results to return |
{
"results": [
{
"title": "Page Title",
"url": "https://example.com/page",
"snippet": "Relevant text excerpt from the page..."
}
]
}x_payment({
"url": "https://web.surf.cascade.fyi/v1/crawl",
"method": "POST",
"params": "{\"url\": \"https://docs.solana.com\", \"format\": \"markdown\"}"
})x_payment({
"url": "https://web.surf.cascade.fyi/v1/crawl",
"method": "POST",
"params": "{\"url\": \"https://news.ycombinator.com\", \"format\": \"html\", \"selector\": \".titleline\"}"
})x_payment({
"url": "https://web.surf.cascade.fyi/v1/crawl",
"method": "POST",
"params": "{\"urls\": [\"https://example.com\", \"https://httpbin.org/get\"], \"format\": \"text\"}"
})x_payment({
"url": "https://web.surf.cascade.fyi/v1/search",
"method": "POST",
"params": "{\"query\": \"ERC-8004 agent identity standard\", \"num_results\": 5}"
})x_payment({
"url": "https://web.surf.cascade.fyi/v1/crawl",
"method": "POST",
"params": "{\"url\": \"https://eips.ethereum.org/EIPS/eip-8004\", \"format\": \"markdown\"}"
})| HTTP | Meaning |
|---|---|
| 400 | Invalid parameters (check body format) |
| 402 | Payment required (handled automatically by x_payment) |
| 429 | Too many concurrent requests (retry later) |
| 502 | Upstream crawl/search error |