Website List Crawling & Pagination API Guide (Without Fragile Scrapers)
Map and crawl multi-page documentation, blogs, and product directories cleanly into Markdown by chaining web.site.urls and web.page.read—replacing brittle Scrapy, BeautifulSoup, and Playwright scripts.
Separate URL discovery (web.site.urls) from clean Markdown extraction (web.page.read) so your agent crawls only high-signal pages at fractions of a cent per URL.
Why DIY list crawlers break in production
Writing a recursive list crawler with BeautifulSoup, Scrapy, or Playwright looks simple on day one, then collapses under JS-rendered pagination, infinite scroll, rate limits, and changing CSS selectors.
- JS-heavy directories and docs sites return empty shells to plain HTTP clients.
- Recursive crawlers waste bandwidth and tokens on duplicate tag pages, query strings, and nav chrome.
- Maintaining headless Chrome pools and rotating proxies costs far more in engineering time than per-call APIs.
The two-step AI list crawling pattern
First discover the target site's URL inventory with web.site.urls, filter the list down to the exact path prefix you care about (such as /docs/ or /blog/), and then read only those URLs with web.page.read.
npx @fastagent-sh/duang call web.site.urls --input '{"url":"https://docs.example.com"}'
npx @fastagent-sh/duang call web.page.read --input '{"url":"https://docs.example.com/quickstart"}'Pay per page instead of monthly crawler seats
On Duang, managed web.site.urls and web.page.read calls are billed in exact micro-USD across Firecrawl, Tavily, Parallel, Exa, and Jina Reader—starting with $1 free credit and $0 charged whenever an upstream fetch fails.
Try live capabilities right now.
Connect to your AI agent in 60 seconds.
Read https://duang.ai/SKILL.md and use duang to run web.site.urls.
Frequently asked questions
How can I test website URL extraction before writing code?
Open /tools/url-extractor to map crawlable URLs from any public domain live in your browser with no login required.
Am I billed if a target page times out during a batch crawl?
No. Failed upstream provider calls and platform errors cost $0 on Duang managed calls.
Can I use my own Firecrawl or Tavily subscription for list crawling?
Yes. Connect your existing Firecrawl or Tavily API key in Duang's $0 encrypted team vault to route calls through your own plan with zero platform markup.