> For the complete documentation index, see [llms.txt](https://doc.thordata.com/interface-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/interface-documentation/web-scraper-api/get-the-last-task-status.md).

# Get the last task status

### Basic Information

**Interface Description:** Get the status of the last task of the specified account through the interface.

**Interface URL:** [**https://openapi.thordata.com/api/web\_scraper\_api/get\_latest\_task\_status**](https://openapi.thordata.com/api/web_scraper_api/get_latest_task_status)

**Request Method:** <mark style="color:orange;">POST</mark>

**Request parameters**

**Header：**

<table><thead><tr><th width="137">Parameter name</th><th width="110">Type</th><th width="79">Required</th><th>Describe</th></tr></thead><tbody><tr><td><code>token</code></td><td>string</td><td>Yes</td><td>Please log in to the  <a href="https://dashboard.thordata.com/account-settings"><strong>Dashboard-MENU-My Account</strong></a> to view your token parameter value</td></tr></tbody></table>

### Response example

```sh
{
    "code": 200,
    "data": {
        "api_code": 200,
        "api_error_msg": ""
    },
    "msg": "ok"
}
```

{% hint style="info" %}
If the returned code value is not 200, please check the [**error code description list**](https://doc.thordata.com/interface-documentation/error-code/error-code-description) and modify it.
{% endhint %}

<table><thead><tr><th width="158"> Parameter name</th><th width="102"> Type</th><th width="96.66668701171875">Required</th><th width="388.36328125">Describe</th></tr></thead><tbody><tr><td><code>code</code></td><td>number</td><td>No</td><td>200 = Success</td></tr><tr><td><code>data</code></td><td>object</td><td>No</td><td>Mission Information</td></tr><tr><td>    <code>download</code></td><td>string</td><td>Yes</td><td>200 = success, 400 = failure</td></tr><tr><td>    <code>tasks_ids</code></td><td>string</td><td>Yes</td><td>error message</td></tr><tr><td><code>msg</code></td><td>string</td><td>No</td><td></td></tr></tbody></table>
