> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Scrape Status

> Retrieve the status of a specific scraping job

## Overview

The `/scrape/{jobScrapeId}` endpoint retrieves the status and details of a specific scraping job. This is useful for monitoring long-running or asynchronous scraping operations.

## Parameters

<ParamField path="jobScrapeId" type="string" required={true}>
  The unique identifier of the scraping job
</ParamField>

## Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.scrapengine.io/api/v1/scrape/job_12345_abcde" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.scrapengine.io/api/v1/scrape/job_12345_abcde",
    {
      method: "GET",
      headers: {
        Authorization: "Bearer YOUR_API_KEY",
      },
    }
  );

  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  url = "https://api.scrapengine.io/api/v1/scrape/job_12345_abcde"
  headers = {
      "Authorization": "Bearer YOUR_API_KEY"
  }

  response = requests.get(url, headers=headers)
  data = response.json()
  print(data)
  ```
</CodeGroup>

## Response

### Success Response (200)

<ResponseField name="data" type="string">
  Session data or status information
</ResponseField>

<ResponseField name="timestamp" type="string">
  Timestamp of the response in ISO 8601 format
</ResponseField>

<ResponseField name="status" type="string">
  Status of the operation (e.g., "success", "processing", "failed")
</ResponseField>

<ResponseField name="metrics" type="string">
  Performance metrics and timing information
</ResponseField>

**Example Response:**

```json theme={null}
{
  "data": "session",
  "timestamp": "2024-01-15T10:30:00.000Z",
  "status": "success",
  "metrics": "100ms"
}
```

### Error Responses

| Status | Description                                         |
| ------ | --------------------------------------------------- |
| `401`  | Unauthorized - Invalid or missing API key           |
| `404`  | Job not found - The specified job ID does not exist |

## Use Cases

* **Job monitoring**: Check the status of asynchronous scraping jobs
* **Progress tracking**: Monitor long-running scraping operations
* **Debugging**: Investigate failed or stuck scraping jobs
* **Analytics**: Collect performance metrics for scraping operations
