Crawler

Start Crawl

Start a new crawl job.

post/v1/crawl

Request

  • Base URL
    https://api.scrapegraphai.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.scrapegraphai.com/v1/crawl
  • Auth
    none declared

Request body

urlstring required
depthinteger
breadthinteger nullable

Maximum number of links to crawl per depth level. If None, unlimited (default). Ignored when sitemap=True.

max_pagesinteger nullable
promptstring nullable
schemaobject nullable
sitemapboolean
render_heavy_jsboolean
extraction_modeboolean
stealthboolean

Enable stealth mode to avoid bot detection

mockboolean
webhook_urlstring nullable

Webhook URL to send the job result to

reader_modeboolean
wait_msinteger
country_codestring nullable

The country code to use for fetching (e.g. US, GB)

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 25 revisions of this API.