Skip to content
Documentation

Get crawl status

GET/v1/crawls/{crawl_id}

curl "https://api.seoscraper.io/v1/crawls/CRAWL_ID" \  -H "Authorization: Bearer ssk_YOUR_KEY"
Response 200
{  "id": "7c1f0a52-3f0e-4f0b-9c53-2f6f1f1d7a10",  "status": "completed",  "url": "https://books.toscrape.com",  "options": {    "url": "https://books.toscrape.com",    "source": "auto",    "max_pages": 50,    "max_depth": 5,    "concurrency": 5,    "delay_ms": 0,    "include_subdomains": false,    "respect_robots": true,    "follow_nofollow": false,    "ignore_query": false,    "include_html": true,    "include_paths": [],    "exclude_paths": []  },  "mode": "links",  "pages_done": 50,  "pages_failed": 0,  "pages_found": 312,  "recent": [    {      "url": "https://books.toscrape.com/catalogue/page-2.html",      "status": 200,      "error": null    }  ],  "stop_reason": "max_pages",  "error": null,  "summary": {    "avg_duration_ms": 214,    "issues": {      "ok": 50,      "client_error": 0,      "missing_description": 50,      "missing_title": 0    }  },  "file_size": 412338,  "page_limit": 50,  "throttle": null,  "retry_of": null,  "created_at": "2026-11-25T08:00:00Z",  "started_at": "2026-11-25T08:00:01Z",  "finished_at": "2026-11-25T08:00:09Z"}

Path parameters

  • crawl_idstringrequired

    Crawl identifier.

Response200

  • idstring

    Crawl identifier.

  • statusstring

    queuedrunningcompletedcanceledfailed

  • urlstring

    Start address.

  • optionsobject

    Options the crawl was started with.

    Fields of options
    • urlstringup to 2048 characters

      Start address. Without a scheme, https:// is added.

    • sourcestringdefault: "auto"

      auto: sitemap URLs, or links when there is no sitemap. sitemap: sitemap only. links: links only.

      autositemaplinks

    • max_pagesintegerdefault: 100min: 1max: 10000

      Page limit.

    • max_depthintegerdefault: 5min: 0max: 50

      Clicks from the start page. Ignored for sitemaps.

    • concurrencyintegerdefault: 5min: 1max: 10

      Pages fetched at the same time.

    • delay_msintegerdefault: 0min: 0max: 10000

      Pause between requests in milliseconds.

    • include_subdomainsbooleandefault: false

      Visit subdomains too.

    • respect_robotsbooleandefault: true

      Obey robots.txt, including Crawl-delay.

    • follow_nofollowbooleandefault: false

      Follow nofollow links too.

    • ignore_querybooleandefault: false

      Treat /a?x=1 and /a as the same page.

    • include_htmlbooleandefault: true

      Save raw HTML in the result file.

    • include_pathsstring[]up to 200 charactersup to 20 items

      Crawl only these paths. Matches the beginning of the path, like in robots.txt. * is any text, $ is the end.

    • exclude_pathsstring[]up to 200 charactersup to 20 items

      Skip these paths. Matches the beginning of the path, like in robots.txt. * is any text, $ is the end.

  • modestring | null

    Where the URLs come from. null until the crawl starts.

    sitemaplinks

  • pages_doneinteger

    Visited pages.

  • pages_failedinteger

    Pages without a response. Included in pages_done.

  • pages_foundinteger

    Visited pages and pages waiting in the queue.

  • recentobject[]

    Recently visited pages.

    Fields of recent
    • urlstring

    • statusinteger | null

      null when the page could not be fetched.

    • errorstring | null

      Error code when the page could not be fetched.

  • stop_reasonstring | null

    Why the crawl ended. null until then.

    finishedmax_pagesno_tokensmax_timethrottledcanceledinterrupted

  • errorstring | null

    Error code of a failed crawl.

  • summaryobject | null

    Ready when the crawl ends.

    Fields of summary
    • avg_duration_msinteger | null

      Average fetch time in milliseconds.

    • issuesobject

      Number of pages with each issue. Keys are values of the issue parameter.

  • file_sizeinteger | null

    Size of the compressed SQLite file in bytes.

  • page_limitinteger

    Reserved tokens. Less than max_pages when you had fewer tokens.

  • throttleobject | null

    Set when the site answered 429 and the crawl slowed down.

    Fields of throttle
    • countinteger

      Number of pauses.

    • delay_msinteger

      Pause between requests after slowing down, in milliseconds.

    • resume_atstring

      End of the latest pause. In the future: the crawl is waiting.

  • retry_ofstring | null

    Crawl whose pages this one fetches again. null for a regular crawl.

  • created_atstring

    When the crawl was added to the queue.

  • started_atstring | null

    When the crawl left the queue.

  • finished_atstring | null

    When the crawl ended.

Errors

Every error has the same format. See what each code means.

401
unauthorized
404
not_found
422
invalid_request