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"{ "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_idstringrequiredCrawl identifier.
Query parameters
sortstringdefault: "id"Field to sort by.
idurlstatustitledepthwordstimesizedescbooleandefault: falseSort in descending order.
limitintegerdefault: 50min: 1max: 500Number of pages to return.
offsetintegerdefault: 0min: 0max: 100000Number of pages to skip.
qstringup to 200 charactersText in the URL or title. With
*it is a path pattern, e.g./blog/*.issuestring | nullOnly pages with this issue.
okclient_errortoo_many_requestsserver_errorfailedrobots_blockedredirectednoindexmissing_titlelong_titleduplicate_titlemissing_descriptionlong_descriptionduplicate_descriptionmissing_h1multiple_h1other_canonicalmissing_altslowfilterstring[]up to 400 charactersup to 10 itemsConditions written as
field:operator:value, e.g.path:pattern:/blog/*orwords:gte:300.matchstringdefault: "all"Should a page meet all filters or any of them.
allany
Response200
totalintegerNumber of pages that meet the conditions.
pagesobject[]Fields of pages
idintegerPage number in the crawl.
urlstringAddress of the page.
final_urlstring | nullAddress after all redirects.
statusinteger | nullnull when the page could not be fetched.
errorstring | nullError code when the page could not be fetched.
depthintegerClicks from the start page.
found_onstringPage with the first link to this one.
titlestringContent of the title tag.
meta_descriptionstringContent of the meta description.
canonicalstringCanonical address.
indexboolean | nullWhether the page may be indexed.
word_countinteger | nullNumber of words in the page content.
duration_msinteger | nullFetch time in milliseconds.
size_bytesinteger | nullSize of the fetched content in bytes.
redirectsintegerNumber of redirects.
h1integerNumber of h1 headings.
linksintegerNumber of links.
missing_altintegerNumber 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