Instagram 抓取參數
Web Scraper API Instagram 抓取參數
使用 Thordata 的 Web Scraper API 配置 Instagram 抓取參數,包括: 個人資料 URL、最大帖子數量、開始日期、結束日期、帖子類型、帖子 URL、用戶名、抓取評論數量、是否抓取最新评论、是否抓取回覆、抓取 Reel 最大數量等參數。
唯一標識:
token
,訪問令牌(必填)
此參數用作 API 訪問令牌,以確保抓取請求的合法性。
請求範例:
spider_id=ins_posts_by-profileurl
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}}"
一、產品-抓取帖子信息:
Ins - 通過個人資料 URL 抓取帖子信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_posts_by-profileurl
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}}"
profileurl
,個人資料 URL(必填)
該參數用於指定待抓取的 Instagram 的個人資料訪問 URL。
請求範例:
"profileurl": "https://www.instagram.com/marcusfaberfdp"
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}}"
resultsLimit
,最大帖子數(必填)
該參數用於指定抓取帖子的最大數量。
請求範例:
"resultsLimit": "5"
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}}"
start_date
,開始日期(可選)
該參數用於指定抓取帖子的發布的開始時間。
請求範例:
"start_date": "01-01-2025"
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}}"
end_date
,結束日期(可選)
該參數用於指定抓取帖子的發布的截止時間。
請求範例:
"end_date": "03-01-2025"
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}}"
post_type
, 帖子類型(可選)
該參數用於指定抓取帖子的類型,帖子或者 Reel。
參數值:Post
Reel
請求範例:
"post_type": "Post"
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}}"
Ins - 通過帖子 URL 抓取帖子詳細信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_posts_by-posturl
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}}"
posturl
, 帖子 URL(必填)
該參數用於指定待抓取的 Instagram 的帖子 URL。
請求範例:
"posturl": "https://www.instagram.com/p/Cuf4s0MNqNr"
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}}"
二、產品-抓取 Ins 個人信息:
Ins - 通過用戶名抓取個人信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_profiles_by-username
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}}"
username
, 用戶名(必填)
該參數用於指定待抓取的 Instagram 的用戶名信息。
請求範例:
"username": "zoobarcelona"
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}}"
Ins - 通過 URL 抓取個人信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_profiles_by-profileurl
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}}"
profileurl
,個人資料 URL(必填)
該參數用於指定待抓取的 Instagram 的個人資料訪問 URL。
請求範例:
"profileurl": "https://www.instagram.com/cats_of_world_/"
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}}"
三、產品 - 抓取 Ins 帖子評論信息
Ins - 通過帖子 URL 抓取帖子評論信息
spider_id
,屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_comment_by-posturl
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}}"
posturl
, 帖子 URL(必填)
該參數用於指定待抓取的 Instagram 的帖子 URL。
請求範例:
"posturl": "https://www.instagram.com/cats_of_instagram/reel/C4GLo_eLO2e/"
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}}"
resultsLimit
,抓取評論數量(必填)
該參數用於指定抓取評論的最大數量。
請求範例:
"num_of_comments": "10"
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}}"
isNewestComments
,抓取最新评论(可選)
該參數用於指定抓取評論時,評論列表是否按照最新時間排序。
參數值:true
false
請求範例:
"isNewestComments": "true"
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}}"
includeNestedComments
,抓取回覆(可選)
該參數用於指定抓取是否抓取評論的回覆內容。
參數值:true
false
請求範例:
"includeNestedComments": "true"
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}}"
四、產品 - 抓取 Ins Reel 信息
Ins - 通過 URL 抓取 Reel 信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_reel_by-url
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}}"
url
, URL(必填)
該參數用於指定待抓取的 Instagram 的訪問 URL 地址。
請求範例:
"url": "https://www.instagram.com/reel/C5Rdyj_q7YN/"
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}}"
2、Ins - 通過列表 URL 抓取 Reel 信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_allreel_by-url
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}}"
url
, URL(必填)
該參數用於指定待抓取的 Instagram 的訪問 URL 地址。
請求範例:
"url": "https://www.instagram.com/billieeilish"
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}}"
num_of_posts
,抓取 Reel 最大數量(可選)
該參數用於指定抓取 Reel 的最大數量。
請求範例:
"num_of_posts": "30"
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}}"
posts_to_not_include
,不包括的帖子(可選)
該參數用於指定不抓取指定的 Reel。
請求範例:
"posts_to_not_include": ""
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}}"
start_date
, 開始日期(可選)
該參數用於指定帖子發布的開始時間,格式:mm-dd-yyyy,應低於“end_date”。
請求範例:
"start_date": "07-07-2025"
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}}"
end_date
, 結束日期(可選)
該參數用於指定帖子發布的結束時間,格式:mm-dd-yyyy,應大於“start_date”。
請求範例:
"end_date": "09-09-2025"
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}}"
3、Ins - 通過網址抓取 Reel 信息
spider_id
,所屬抓取工具(必填)
它定義了要使用的抓取工具。
請求範例:
spider_id=ins_reel_by-listurl
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}}"
url
, URL(必填)
該參數用於指定待抓取的 Instagram 的訪問 URL 地址。
請求範例:
"url": "https://www.instagram.com/espn"
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}}"
num_of_posts
,抓取 Reel 最大數量(可選)
該參數用於指定抓取 Reel 的最大數量。
請求範例:
"num_of_posts": "10"
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}}"
posts_to_not_include
,不包括的帖子(可選)
該參數用於指定不抓取指定的 Reel。
請求範例:
"posts_to_not_include": ""
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}}"
start_date
, 開始日期(可選)
該參數用於指定帖子發布的開始時間,格式:mm-dd-yyyy,應低於“end_date”。
請求範例:
"start_date": "07-07-2025"
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}}"
end_date
, 結束日期(可選)
該參數用於指定帖子發布的結束時間,格式:mm-dd-yyyy,應大於“start_date”。
請求範例:
"end_date": "09-09-2025"
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}}"
如果您需要進一步的幫助,請通過電子郵件聯繫 [email protected]。
Last updated
Was this helpful?