GET Get Results

Retrieve web scraper job status and results

Get Scrape Result

GEThttps://api.anakin.io/v1/web-scraper/{id}

Retrieve the status and results of a web scraper job.


Path Parameters

ParameterTypeDescription
id requiredstringThe job ID returned from the run scrape endpoint

Response

200 OK
{
  "id": "job_xyz789",
  "status": "completed",
  "jobType": "web_scraper",
  "url": "https://example.com/product-page",
  "generatedJson": {
    "name": "Product Name",
    "price": "$29.99",
    "description": "Product description..."
  },
  "cached": false,
  "error": null,
  "createdAt": "2024-01-01T12:00:00Z",
  "completedAt": "2024-01-01T12:00:05Z",
  "durationMs": 5000
}

Response Fields

FieldTypeDescription
statusstringpending, processing, completed, or failed
urlstringThe URL that was scraped
generatedJsonobjectStructured data extracted by the scraper
cachedbooleantrue if served from cache
errorstringError message. Only present when failed.
durationMsnumberProcessing time in milliseconds

Code Examples

curl -X GET https://api.anakin.io/v1/web-scraper/job_xyz789 \
  -H "X-API-Key: your_api_key"

For polling patterns, see the Polling Jobs reference.