> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/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/doc/zh-hk/web-scraper-api/zhua-qu-can-shu-shuo-ming/instagram-zhua-qu-can-shu.md).

# Instagram 抓取參數

Web Scraper API Instagram 抓取參數

使用 Thordata 的 Web Scraper API 配置 Instagram 抓取參數，包括：\
個人資料 URL、最大帖子數量、開始日期、結束日期、帖子類型、帖子 URL、用戶名、抓取評論數量、是否抓取最新评论、是否抓取回覆、抓取 Reel 最大數量等參數。

唯一標識：

<details>

<summary><code>token</code>，<strong>訪問令牌（必填）</strong></summary>

此參數用作 API 訪問令牌，以確保抓取請求的合法性。

**請求範例：**

`spider_id=ins_posts_by-profileurl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**一、產品-抓取帖子信息：**

1. Ins - 通過個人資料 URL 抓取帖子信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_posts_by-profileurl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>profileurl</code> ，<strong>個人資料 URL（必填）</strong> </summary>

該參數用於指定待抓取的 Instagram 的個人資料訪問 URL。

**請求範例：**

`"profileurl": "https://www.instagram.com/marcusfaberfdp"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>resultsLimit</code> ，<strong>最大帖子數（必填）</strong></summary>

&#x20;該參數用於指定抓取帖子的最大數量。

**請求範例：**

`"resultsLimit": "5"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>start_date</code> ，<strong>開始日期（可選）</strong></summary>

該參數用於指定抓取帖子的發布的開始時間。

**請求範例：**

`"start_date": "01-01-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>end_date</code> ，<strong>結束日期（可選）</strong></summary>

該參數用於指定抓取帖子的發布的截止時間。

**請求範例：**

`"end_date": "03-01-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>post_type</code> ， <strong>帖子類型（可選）</strong></summary>

該參數用於指定抓取帖子的類型，帖子或者 Reel。\
參數值：`Post` `Reel`&#x20;

**請求範例：**

`"post_type": "Post"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\",\"resultsLimit\": \"5\",\"start_date\": \"01-01-2025\",\"end_date\": \"03-01-2025\",\"post_type\": \"Post\"},{\"profileurl\": \"https://www.instagram.com/meta/\",\"resultsLimit\": \"5\",\"start_date\": \"03-01-2025\",\"end_date\": \"03-17-2025\",\"post_type\": \"Post\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2. Ins - 通過帖子 URL 抓取帖子詳細信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_posts_by-posturl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/p/Cuf4s0MNqNr\"},{\"posturl\": \"https://www.instagram.com/p/Cuvy6JbtyQ6\"},{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/DBtVmu3zD6V/\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>posturl</code> ， <strong>帖子 URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的帖子 URL。

**請求範例：**

`"posturl": "https://www.instagram.com/p/Cuf4s0MNqNr"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_posts_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/p/Cuf4s0MNqNr\"},{\"posturl\": \"https://www.instagram.com/p/Cuvy6JbtyQ6\"},{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/DBtVmu3zD6V/\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**二、產品-抓取 Ins 個人信息：**

1. Ins - 通過用戶名抓取個人信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_profiles_by-username`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_profiles_by-username" ^
  -d "spider_parameters=[{\"username\": \"zoobarcelona\"},{\"username\": \"marcusfaberfdp\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>username</code> ， <strong>用戶名（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的用戶名信息。

**請求範例：**

`"username": "zoobarcelona"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_profiles_by-username" ^
  -d "spider_parameters=[{\"username\": \"zoobarcelona\"},{\"username\": \"marcusfaberfdp\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2. Ins - 通過 URL 抓取個人信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_profiles_by-profileurl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_profiles_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/cats_of_world_/\"},{\"profileurl\": \"https://www.instagram.com/dogsofinstagram/\"},{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>profileurl</code> ，<strong>個人資料 URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的個人資料訪問 URL。

**請求範例：**

`"profileurl": "https://www.instagram.com/cats_of_world_/"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_profiles_by-profileurl" ^
  -d "spider_parameters=[{\"profileurl\": \"https://www.instagram.com/cats_of_world_/\"},{\"profileurl\": \"https://www.instagram.com/dogsofinstagram/\"},{\"profileurl\": \"https://www.instagram.com/marcusfaberfdp\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**三、產品 - 抓取 Ins 帖子評論信息**

1. Ins - 通過帖子 URL 抓取帖子評論信息

<details>

<summary><code>spider_id</code> ，<strong>屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_comment_by-posturl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_comment_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"},{\"posturl\": \"https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>posturl</code> ， <strong>帖子 URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的帖子 URL。

**請求範例：**

`"posturl": "https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_comment_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"},{\"posturl\": \"https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>resultsLimit</code> ，<strong>抓取評論數量（必填）</strong></summary>

該參數用於指定抓取評論的最大數量。

**請求範例：**

`"num_of_comments": "10"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_comment_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"},{\"posturl\": \"https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>isNewestComments</code> ，<strong>抓取最新评论（可選）</strong></summary>

該參數用於指定抓取評論時，評論列表是否按照最新時間排序。\
參數值：`true` `false`

**請求範例：**

`"isNewestComments": "true"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_comment_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"},{\"posturl\": \"https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>includeNestedComments</code> ，<strong>抓取回覆（可選）</strong></summary>

該參數用於指定抓取是否抓取評論的回覆內容。\
參數值：`true` `false`&#x20;

**請求範例：**

`"includeNestedComments": "true"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_comment_by-posturl" ^
  -d "spider_parameters=[{\"posturl\": \"https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"},{\"posturl\": \"https://www.instagram.com/catsofinstagram/p/CesFC7JLyFl/?img_index=1\",\"num_of_comments\": \"10\",\"isNewestComments\": \"true\",\"includeNestedComments\": \"true\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

**四、產品 - 抓取 Ins Reel 信息**

1. Ins - 通過 URL 抓取 Reel 信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_reel_by-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/reel/C5Rdyj_q7YN/\"},{\"url\": \"https://www.instagram.com/reel/C85BZjeSHuO\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> ， <strong>URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的訪問 URL 地址。

**請求範例：**

`"url": "https://www.instagram.com/reel/C5Rdyj_q7YN/"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/reel/C5Rdyj_q7YN/\"},{\"url\": \"https://www.instagram.com/reel/C85BZjeSHuO\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2、Ins - 通過列表 URL 抓取 Reel 信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_allreel_by-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> ， <strong>URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的訪問 URL 地址。

**請求範例：**

`"url": "https://www.instagram.com/billieeilish"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>num_of_posts</code> ，<strong>抓取 Reel 最大數量（可選）</strong></summary>

該參數用於指定抓取 Reel 的最大數量。

**請求範例：**

`"num_of_posts": "30"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>posts_to_not_include</code> ，<strong>不包括的帖子（可選）</strong></summary>

該參數用於指定不抓取指定的 Reel。

**請求範例：**

`"posts_to_not_include": ""`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>start_date</code> ， <strong>開始日期（可選）</strong></summary>

該參數用於指定帖子發布的開始時間，格式：mm-dd-yyyy，應低於“end\_date”。

**請求範例：**

`"start_date": "07-07-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>end_date</code> ， <strong>結束日期（可選）</strong></summary>

該參數用於指定帖子發布的結束時間，格式：mm-dd-yyyy，應大於“start\_date”。

**請求範例：**

`"end_date": "09-09-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_allreel_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/billieeilish\",\"num_of_posts\": \"30\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3、Ins - 通過網址抓取 Reel 信息

<details>

<summary><code>spider_id</code> ，<strong>所屬抓取工具（必填）</strong></summary>

它定義了要使用的抓取工具。

**請求範例：**

`spider_id=ins_reel_by-listurl`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> ， <strong>URL（必填）</strong></summary>

該參數用於指定待抓取的 Instagram 的訪問 URL 地址。

**請求範例：**

`"url": "https://www.instagram.com/espn"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>num_of_posts</code> ，<strong>抓取 Reel 最大數量（可選）</strong></summary>

該參數用於指定抓取 Reel 的最大數量。

**請求範例：**

`"num_of_posts": "10"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>posts_to_not_include</code> ，<strong>不包括的帖子（可選）</strong></summary>

該參數用於指定不抓取指定的 Reel。

**請求範例：**

`"posts_to_not_include": ""`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>start_date</code> ， <strong>開始日期（可選）</strong></summary>

該參數用於指定帖子發布的開始時間，格式：mm-dd-yyyy，應低於“end\_date”。

**請求範例：**

`"start_date": "07-07-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>end_date</code> ， <strong>結束日期（可選）</strong></summary>

該參數用於指定帖子發布的結束時間，格式：mm-dd-yyyy，應大於“start\_date”。

**請求範例：**

`"end_date": "09-09-2025"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=instagram.com" ^
  -d "spider_id=ins_reel_by-listurl" ^
  -d "spider_parameters=[{\"url\": \"https://www.instagram.com/espn\",\"num_of_posts\": \"10\",\"posts_to_not_include\": \"\",\"start_date\": \"07-07-2025\",\"end_date\": \"09-09-2025\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

如果您需要進一步的幫助，請通過電子郵件聯繫 <support@thordata.com>。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.thordata.com/doc/zh-hk/web-scraper-api/zhua-qu-can-shu-shuo-ming/instagram-zhua-qu-can-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
