GET
cURL
Add ?errors=1 to get the pages that failed and the ones robots.txt doesn’t allow, instead of the results. Results are kept for 24 hours after the crawl ends.

Authorizations

Authorization
string
header
required

Your API key from the dashboard. It starts with sr-.

Path Parameters

id
string
required

The crawl's id, from POST /crawl.

Query Parameters

errors
enum<string>

Set to 1 to get the pages that failed and the URLs robots.txt blocked, instead of the pages.

Available options:
1

Response

The crawl, or with errors=1 its failed pages.

success
boolean
Example:

true

status
enum<string>
Available options:
scraping,
completed,
failed,
cancelled
total
integer

Pages found so far.

completed
integer

Pages read so far.

creditsUsed
integer
expiresAt
string | null

When the results stop being available.

next
string | null

null when data holds every page.

data
object[]