Skip to content
Documentation

List crawled pages

GET/v1/crawls/{crawl_id}/pages

curl "https://api.seoscraper.io/v1/crawls/CRAWL_ID/pages?issue=missing_description&sort=words&limit=1" \  -H "Authorization: Bearer ssk_YOUR_KEY"
Response 200
{  "total": 50,  "pages": [    {      "id": 2,      "url": "https://books.toscrape.com/catalogue/page-2.html",      "final_url": "https://books.toscrape.com/catalogue/page-2.html",      "status": 200,      "error": null,      "depth": 1,      "found_on": "https://books.toscrape.com/",      "title": "All products | Books to Scrape - Sandbox",      "meta_description": "",      "canonical": "",      "index": true,      "word_count": 315,      "duration_ms": 198,      "size_bytes": 51011,      "redirects": 0,      "h1": 1,      "links": 94,      "missing_alt": 0    }  ]}

Path parameters

  • crawl_idstringrequired

    Crawl identifier.

Query parameters

  • sortstringdefault: "id"

    Field to sort by.

    idurlstatustitledepthwordstimesize

  • descbooleandefault: false

    Sort in descending order.

  • limitintegerdefault: 50min: 1max: 500

    Number of pages to return.

  • offsetintegerdefault: 0min: 0max: 100000

    Number of pages to skip.

  • qstringup to 200 characters

    Text in the URL or title. With * it is a path pattern, e.g. /blog/*.

  • issuestring | null

    Only pages with this issue.

    okclient_errortoo_many_requestsserver_errorfailedrobots_blockedredirectednoindexmissing_titlelong_titleduplicate_titlemissing_descriptionlong_descriptionduplicate_descriptionmissing_h1multiple_h1other_canonicalmissing_altslow

  • filterstring[]up to 400 charactersup to 10 items

    Conditions written as field:operator:value, e.g. path:pattern:/blog/* or words:gte:300.

  • matchstringdefault: "all"

    Should a page meet all filters or any of them.

    allany

Response200

  • totalinteger

    Number of pages that meet the conditions.

  • pagesobject[]

    Fields of pages
    • idinteger

      Page number in the crawl.

    • urlstring

      Address of the page.

    • final_urlstring | null

      Address after all redirects.

    • statusinteger | null

      null when the page could not be fetched.

    • errorstring | null

      Error code when the page could not be fetched.

    • depthinteger

      Clicks from the start page.

    • found_onstring

      Page with the first link to this one.

    • titlestring

      Content of the title tag.

    • meta_descriptionstring

      Content of the meta description.

    • canonicalstring

      Canonical address.

    • indexboolean | null

      Whether the page may be indexed.

    • word_countinteger | null

      Number of words in the page content.

    • duration_msinteger | null

      Fetch time in milliseconds.

    • size_bytesinteger | null

      Size of the fetched content in bytes.

    • redirectsinteger

      Number of redirects.

    • h1integer

      Number of h1 headings.

    • linksinteger

      Number of links.

    • missing_altinteger

      Number of images without the alt attribute.

Errors

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

401
unauthorized
404
not_found
409
crawl_not_ready
422
invalid_requestinvalid_filter