services / site-crawl
weboperational · 217 ms
Site Crawl to Markdown
Crawl a website from a start URL and return up to 20 same-site HTML pages as clean Markdown with title and description (breadth-first, 3 in parallel, skips files and non-HTML). Optional path_prefix keeps the crawl inside a section such as /docs. Charged only if at least one page was read. Params: url (required), max_pages (1 to 20, default 5), max_chars per page (500 to 20000, default 4000), path_prefix.
Run free trial ↗1 free call per day with the example input. Paid: $0.015 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| url * | string | |
| max_pages | integer = 5 | |
| max_chars | integer = 4000 | |
| path_prefix | string | Only follow links whose path starts with this, e.g. /docs |
Output
| Field | Type | Description |
|---|---|---|
| site | string | |
| pages_crawled | integer | |
| ok_count | integer | |
| skipped_non_html | integer | |
| discovered_urls | integer | |
| pages | array | |
| took_ms | integer | |
| crawled_at | string |
Example response (data)
{
"site": "https://agentsvc.io",
"pages_crawled": 2,
"ok_count": 2,
"skipped_non_html": 2,
"discovered_urls": 37,
"pages": [
{
"url": "https://agentsvc.io/docs",
"ok": true,
"status": 200,
"title": "Docs: how agents pay per call with x402 · agentsvc.io",
"description": "Quickstart, payment protocol (x402 v1 and v2), free trial, error codes and the reference for every service on agentsvc.io.",
"markdown": "Documentation\n\n# Pay per call. Nothing else to set up.\n\nEvery service is a JSON endpoint behind HTTP 402. If you already use an x402 client, you are done: po…",
"word_count": 104
},
{
"url": "https://agentsvc.io/services/erc20-info",
"ok": true,
"status": 200,
"title": "ERC20 Token Info: $0.002 USDC per call · agentsvc.io",
"description": "Read an ERC20 token contract on Base or Ethereum mainnet: name, symbol, decimals, total supply, and optionally the balance of one holder address. Verifies that ",
"markdown": "[services](/services) / erc20-info\n\ndataoperational · 240 ms\n\n# ERC20 Token Info\n\nRead an ERC20 token contract on Base or Ethereum mainnet: name, symbol, dec…",
"word_count": 83
}
],
"took_ms": 125,
"crawled_at": "2026-10-06T14:17:50.682Z"
}