Skip to main content
GET
Get batch status and results

Overview

The same response as GET /crawl/{id}, with kind: "batch": progress, plus a page of scraped pages in completion order. Follow next until it is null to read every page. Results stay readable for 24 hours after the batch finishes. Each page carries ok. A failed page has ok: false, an error, and an error_code, and is not charged.

Example request

cURL

Authorizations

X-API-Key
string
header
required

Your Prefetch API key. Obtain one from the dashboard.

Path Parameters

id
string
required

The crawl id returned by POST /crawl.

Example:

"crw_9f2c1a7b4e0d4c3a8b1e5f7d2c9a0b3e"

Query Parameters

skip
integer
default:0

Number of result pages to skip. Use the next link rather than building this by hand.

Required range: x >= 0
limit
integer
default:25

Number of crawled pages to return per request.

Required range: 1 <= x <= 100

Response

Batch status.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required