Documentation Index
Fetch the complete documentation index at: https://docs.scrapegraphai.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/crawl. Use GET /api/crawl/:id/pages to fetch paginated pages with resolved scrape results.
Path parameters
The crawl job UUID returned by
POST /api/crawl.Example request
Example response
| Field | Description |
|---|---|
status | "running", "completed", "failed", or "stopped". |
total / finished | Progress counters. |
pages[] | Lightweight per-page metadata, ordered by crawl time. |
pages[].scrapeRefId | UUID of the underlying Scrape call. |
Poll at a reasonable cadence (every 1–5 seconds) until
status is "completed", "failed", or "stopped". Or use Monitor with a webhook to avoid polling entirely.Fetching page content
The status response intentionally stays lightweight for polling. UseGET /api/crawl/:id/pages to fetch crawl pages with the underlying scrape result resolved into each page:
{ data, pagination }, where each data[] item includes crawl metadata and a scrape payload when available.
Related
- Start a job:
POST /api/crawl - Fetch pages:
GET /api/crawl/:id/pages - Stop / resume / delete: Manage crawl jobs