Skip to main content
GET
Free.

Pages

Poll until status is completed, then call next until it is gone. Each answer holds up to 100 finished pages. A page’s address is in metadata.url. See Page through results. failed counts the pages that could not be read. errors lists the failed pages in this answer with url, code, message, retryable and at, and error is set only when the whole job failed. For every failed page, call Batch scrape errors.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

maxTextLength
integer

Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.

Required range: x >= 1
cursor
string

Response

The data, and the credits this call used.

success
boolean
required
status
enum<string>
required
Available options:
scraping,
completed,
failed,
cancelled
total
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
completed
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
failed
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
errors
object[]
required
creditsUsed
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
data
object[]
required
error
string
createdAt
string
completedAt
string
duration
number
expiresAt
string
next
string