Skip to content
Last updated
GEThttps://api.aitronos.com/v1/scrape/jobs/{job_id}

Check the status of a scraping job.

NameTypeRequiredDescription
AuthorizationstringYesBearer token authentication

Path Parameters

ParameterTypeRequiredDescription
job_idstringYesJob identifier

Response

Status: 200 OK

Returns the same structure as the synchronous scrape response, with status indicating current job state.

FieldTypeDescription
job_idstringUnique job identifier
statusstring"pending", "processing", "completed", "failed", "cancelled"
urlstringThe scraped URL
extracted_dataarray|nullArray of extracted items (null if not completed)
metadataobject|nullProcessing metadata (null if not completed)
created_atstringJob creation timestamp
completed_atstring|nullJob completion timestamp (null if not completed)
Bash
curl -X GET https://api.aitronos.com/api/v1/scrape/jobs/job_abc123def456 \
  -H "X-API-Key: $FREDDY_API_KEY"

Response 200 OK

{
  "job_id": "job_abc123def456",
  "status": "completed",
  "url": "https://example.com/products",
  "extracted_data": [
    {
      "title": "Product Name",
      "price": 29.99
    }
  ],
  "metadata": {
    "processing_time": 2.5,
    "engine_used": "browser",
    "llm_calls": 1,
    "cache_hit": false
  },
  "created_at": "2024-12-16T10:30:00Z",
  "completed_at": "2024-12-16T10:30:02Z"
}