Scrape Result
Polls or resumes a previous Scrape request for this task using its stored ScrapeParams until processing completes
Endpoint
GET /api/v3/tasks/{taskId}/scrape-result
Path Parameters
| Name | Type | Description |
|---|---|---|
| taskId | string | Required. Download task ID returned by job start, in download task records from crawl requests, or embedded in a 202 Location URL from async task endpoints |
Responses
200 (OK)
Returns TaskScrapeResult[]. Each item uses the public ScrapeResult shape.
202 (Accepted)
Task processing is pending. Follow the Location header to the crawl-result or scrape-result endpoint and retry after the number of seconds in Retry-After (currently 1). Continue until the response is no longer 202 (Accepted).
400 (Bad Request)
Invalid request parameters. Refer to the response text for more information.
403 (Forbidden)
Access restricted. Refer to the response text for more information.
404 (Not Found)
Task not found.
422 (Unprocessable Content)
There is an issue with processing the page content. Refer to the response text for more information.
Data Contracts
ScrapeResult
Values extracted for one ScrapeParams entry
Fields:
| Name | Type | Description |
|---|---|---|
| Name | string or null | Optional. Field name copied from the matching ScrapeParams entry |
| Values | array of string | Extracted values returned by the selector, attribute, and optional conversion |