Instagram 抓取参数

Web Scraper API Instagram 抓取参数

使用 Thordata 的 Web Scraper API 配置 Instagram 抓取参数,包括个人资料 URL、最大帖子数量、开始日期、结束日期、帖子类型、帖子 URL 、用户名、抓取评论数量、是否抓取最新评论、是否抓取回复、抓取 Reel 最大数量等参数。

唯一标识:

token ,访问令牌(必填)

此参数用作 API 访问令牌,以确保抓取请求的合法性。

示例请求:

Bearer ********************************

curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************************" ^
  -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}}"

一、产品-抓取帖子信息:

  1. 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}}"
  1. 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 个人信息:

  1. 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}}"
  1. 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 帖子评论信息

  1. 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 信息

1、 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}}"
urlURL(必填)

该参数用于指定待抓取的 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}}"
urlURL(必填)

该参数用于指定待抓取的 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}}"
urlURL(必填)

该参数用于指定待抓取的 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?