Skip to main content
/crawl follows links across a website and scrapes every page it finds, starting from a URL you submit. Use it to collect content from a whole site or a section of it, without calling /scrape once per page yourself.

Key features

  • Site-wide scraping, one request - start from a URL and let Decodo follow links up to a depth and page limit you set.
  • Asynchronous - crawls run in the background; poll for status or get notified with a webhook when they finish.
  • Sitemap + page links - include sitemap URLs, page links, or both, to decide which pages get crawled.
  • Path filtering - include or exclude URLs by path pattern, so you only collect the sections you need.
  • Automatic JS retry - pages that fail to scrape can be retried once with JavaScript rendering.
  • Flexible output - get Markdown or HTML for every page, inline or as a list of per-page results.
/crawl and /map work well together: use /map to see a site’s structure and decide which paths you need, then run /crawl with select_paths to collect only those pages.

Pricing

Each page the crawler scrapes is charged as one request. Crawls always use the premium proxy pool, with a separate rate for pages retried with JavaScript rendering. Pages that fail aren’t charged. See the full rate table on the Billing page.

Quick start

  1. Sign up - activate the free plan or choose a paid plan from the dashboard.
  2. Copy your API key from the dashboard.
  3. Start a crawl with the URL you want to crawl, plus any limits or filters you need.
  4. Poll for status, or set a callback_url to be notified when it’s done.
See the Quick Start guide for the full walkthrough, Parameters for every input option, and Status, Results & Cancellation for tracking and stopping a crawl.

Code example

Usage policy

/crawl is intended for collecting publicly accessible web data.We don’t support crawling:
  • Post-login or authenticated content
  • Private user information
  • Restricted or non-public data
Users are responsible for ensuring their use of the service complies with applicable website terms and internal policies.

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.